2024-01-05 23:52:59 +01:00
|
|
|
Name: iguanair
|
|
|
|
Version: 20160823git
|
2024-01-05 23:53:00 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 23:52:59 +01:00
|
|
|
Summary: Iguanaworks USB IR Project: firmware and software
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
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
|
2024-01-05 23:53:00 +01:00
|
|
|
BuildRequires: libpython3-devel >= 3.7
|
2024-01-05 23:52:59 +01:00
|
|
|
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
|
2024-01-05 23:53:00 +01:00
|
|
|
%{_udevrulesdir}/80-iguanaIR.rules
|
2024-01-05 23:52:59 +01:00
|
|
|
%{_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
|
2024-01-05 23:53:00 +01:00
|
|
|
* Sat Dec 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20160823git-2mamba
|
|
|
|
- rebuilt with python3 3.7
|
|
|
|
|
2024-01-05 23:52:59 +01:00
|
|
|
* Tue Aug 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 20160823git-1mamba
|
|
|
|
- package created using the webbuild interface
|