Name: iguanair Version: 20160823git Release: 2mamba Summary: Iguanaworks USB IR Project: firmware and software Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.iguanaworks.net ## GITSOURCE https://github.com/iguanaworks/iguanair.git master Source: https://github.com/iguanaworks/iguanair.git/master/iguanair-%{version}.tar.bz2 License: GPL, LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libpython3-devel BuildRequires: libusb-devel ## AUTOBUILDREQ-END BuildRequires: libpython3-devel >= 3.7 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Iguanaworks USB IR Project: firmware and software. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q %build %cmake -d software/usb_ir/build \ -DLIBDIR=%{_libdir} %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C software/usb_ir/build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_sysconfdir}/default/iguanaIR %{_sysconfdir}/init.d/iguanaIR %{_udevrulesdir}/80-iguanaIR.rules %{_bindir}/igclient %{_bindir}/igdaemon %{_bindir}/iguanaIR-reflasher %{_bindir}/iguanaIR-rescan %{python3_sitearch}/_iguanaIR.so %{python3_sitearch}/iguanaIR.py %{_datadir}/iguanaIR-reflasher/iguanaIR-reflasher %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libiguanaIR.so.* %dir %{_libdir}/iguanaIR %{_libdir}/iguanaIR/libusb.so %files -n lib%{name}-devel %defattr(-,root,root) %{_includedir}/iguanaIR.h %{_libdir}/libiguanaIR.so %changelog * Sat Dec 26 2020 Silvan Calarco 20160823git-2mamba - rebuilt with python3 3.7 * Tue Aug 23 2016 Silvan Calarco 20160823git-1mamba - package created using the webbuild interface