%global debug_package %{nil} Name: libmpsse Version: 20171225 Summary: Open source library for SPI/I2C control via FTDI chips Group: System/Libraries URL: https://github.com/devttys0/libmpsse License: BSD Source: %name-%version.tar BuildRequires: libftdi-devel Release: 4%{?dist} Requires: libftdi %description Open source library for SPI/I2C control via FTDI chips %package devel Summary: Development files for %name. Group: System/Libraries Requires: %name = %version %description devel Open source library for SPI/I2C control via FTDI chips, development files. %prep %setup -q -n libmpsse %build cd src %configure --disable-python make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT cd src make install DESTDIR=$RPM_BUILD_ROOT mkdir -p %buildroot/%_libdir/ %buildroot/%_includedir/ install -m755 libmpsse.so %buildroot/%_libdir/ install -m644 libmpsse.a %buildroot/%_libdir/ install -m644 mpsse.h %buildroot/%_includedir/ %clean rm -rf $RPM_BUILD_ROOT %files %doc README docs %_libdir/*.so %files devel %_includedir/* %_libdir/*.a %changelog * Wed Aug 09 2017 Aleksei Nikiforov 20161223-alt2 - Switched to libftdi1. * Thu Dec 22 2016 Vladislav Zavjalov 20161223-alt1 - build for altlinux, latest github version - built without python, with libftdi