2024-01-05 23:52:59 +01:00
|
|
|
Name: iguanair
|
2024-11-29 21:41:39 +01:00
|
|
|
Epoch: 1
|
|
|
|
Version: 1.2.1
|
|
|
|
Release: 1mamba
|
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>
|
2024-11-29 21:41:39 +01:00
|
|
|
URL: https://www.iguanaworks.net/
|
|
|
|
Source: https://github.com/iguanaworks/iguanair.git/%{version}/iguanair-%{version}.tar.bz2
|
2024-01-05 23:52:59 +01:00
|
|
|
License: GPL, LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libpython3-devel
|
2024-11-29 21:41:39 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-05 23:52:59 +01:00
|
|
|
BuildRequires: libusb-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
2024-11-29 21:41:39 +01:00
|
|
|
rm -f %{buildroot}%{python27_sitearch}/*
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{python3_sitearch}
|
|
|
|
mv %{buildroot}%{_libdir}/python3.1/site-packages/* %{buildroot}%{python3_sitearch}
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun iguanaIR.service
|
|
|
|
:
|
|
|
|
|
|
|
|
%post
|
|
|
|
%tmpfiles_create iguanair.conf
|
|
|
|
%systemd_post iguanaIR.service
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart iguanaIR.service
|
|
|
|
:
|
|
|
|
|
2024-01-05 23:52:59 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sysconfdir}/default/iguanaIR
|
|
|
|
%{_bindir}/igclient
|
|
|
|
%{_bindir}/igdaemon
|
|
|
|
%{_bindir}/iguanaIR-reflasher
|
|
|
|
%{_bindir}/iguanaIR-rescan
|
2024-11-29 21:41:39 +01:00
|
|
|
%{_unitdir}/iguanaIR.service
|
|
|
|
%{_udevrulesdir}/80-iguanaIR.rules
|
|
|
|
%{_tmpfilesdir}/iguanair.conf
|
|
|
|
%dir %{_datadir}/iguanaIR-reflasher
|
|
|
|
%dir %{_datadir}/iguanaIR-reflasher/hex
|
|
|
|
%{_datadir}/iguanaIR-reflasher/hex/*.hex
|
2024-01-05 23:52:59 +01:00
|
|
|
%{_datadir}/iguanaIR-reflasher/iguanaIR-reflasher
|
2024-11-29 21:41:39 +01:00
|
|
|
%{_mandir}/man1/igclient.1*
|
|
|
|
%{_mandir}/man1/iguanaIR-reflasher.1*
|
|
|
|
%{_mandir}/man1/iguanaIR-rescan.1*
|
|
|
|
%{_mandir}/man8/igdaemon.8*
|
2024-01-05 23:52:59 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libiguanaIR.so.*
|
2024-11-29 21:41:39 +01:00
|
|
|
%{_libdir}/libdirectIguanaIR.so.*
|
2024-01-05 23:52:59 +01:00
|
|
|
%dir %{_libdir}/iguanaIR
|
2024-11-29 21:41:39 +01:00
|
|
|
%{_libdir}/iguanaIR/libusbdrv.so
|
|
|
|
%{python3_sitearch}/_iguanaIR.so
|
|
|
|
%{python3_sitearch}/iguanaIR.py
|
|
|
|
%doc software/usb_ir/AUTHORS software/usb_ir/LICENSE*
|
2024-01-05 23:52:59 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/iguanaIR.h
|
|
|
|
%{_libdir}/libiguanaIR.so
|
2024-11-29 21:41:39 +01:00
|
|
|
%{_libdir}/libdirectIguanaIR.so
|
2024-01-05 23:52:59 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-11-29 21:41:39 +01:00
|
|
|
* Fri Nov 29 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- update to 1.2.1
|
|
|
|
- updated URL; closes #1
|
|
|
|
|
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
|