update to 1.2.1

updated URL; closes #1 [release 1.2.1-1mamba;Fri Nov 29 2024]
This commit is contained in:
Silvan Calarco 2024-11-29 21:41:39 +01:00
parent c21914d479
commit 661e51de8e

View File

@ -1,23 +1,22 @@
Name: iguanair Name: iguanair
Version: 20160823git Epoch: 1
Release: 2mamba Version: 1.2.1
Release: 1mamba
Summary: Iguanaworks USB IR Project: firmware and software Summary: Iguanaworks USB IR Project: firmware and software
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.iguanaworks.net URL: https://www.iguanaworks.net/
## GITSOURCE https://github.com/iguanaworks/iguanair.git master Source: https://github.com/iguanaworks/iguanair.git/%{version}/iguanair-%{version}.tar.bz2
Source: https://github.com/iguanaworks/iguanair.git/master/iguanair-%{version}.tar.bz2
License: GPL, LGPL License: GPL, LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libpython3-devel BuildRequires: libpython3-devel
BuildRequires: libpython311-devel
BuildRequires: libusb-devel BuildRequires: libusb-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.7
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Iguanaworks USB IR Project: firmware and software. Iguanaworks USB IR Project: firmware and software.
@ -37,7 +36,6 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel %description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}. This package contains libraries and header files for developing applications that use %{name}.
%debug_package %debug_package
%prep %prep
@ -53,37 +51,67 @@ This package contains libraries and header files for developing applications tha
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C software/usb_ir/build %makeinstall -C software/usb_ir/build
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
:
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/default/iguanaIR %{_sysconfdir}/default/iguanaIR
%{_sysconfdir}/init.d/iguanaIR
%{_udevrulesdir}/80-iguanaIR.rules
%{_bindir}/igclient %{_bindir}/igclient
%{_bindir}/igdaemon %{_bindir}/igdaemon
%{_bindir}/iguanaIR-reflasher %{_bindir}/iguanaIR-reflasher
%{_bindir}/iguanaIR-rescan %{_bindir}/iguanaIR-rescan
%{python3_sitearch}/_iguanaIR.so %{_unitdir}/iguanaIR.service
%{python3_sitearch}/iguanaIR.py %{_udevrulesdir}/80-iguanaIR.rules
%{_tmpfilesdir}/iguanair.conf
%dir %{_datadir}/iguanaIR-reflasher
%dir %{_datadir}/iguanaIR-reflasher/hex
%{_datadir}/iguanaIR-reflasher/hex/*.hex
%{_datadir}/iguanaIR-reflasher/iguanaIR-reflasher %{_datadir}/iguanaIR-reflasher/iguanaIR-reflasher
%{_mandir}/man1/igclient.1*
%{_mandir}/man1/iguanaIR-reflasher.1*
%{_mandir}/man1/iguanaIR-rescan.1*
%{_mandir}/man8/igdaemon.8*
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libiguanaIR.so.* %{_libdir}/libiguanaIR.so.*
%{_libdir}/libdirectIguanaIR.so.*
%dir %{_libdir}/iguanaIR %dir %{_libdir}/iguanaIR
%{_libdir}/iguanaIR/libusb.so %{_libdir}/iguanaIR/libusbdrv.so
%{python3_sitearch}/_iguanaIR.so
%{python3_sitearch}/iguanaIR.py
%doc software/usb_ir/AUTHORS software/usb_ir/LICENSE*
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/iguanaIR.h %{_includedir}/iguanaIR.h
%{_libdir}/libiguanaIR.so %{_libdir}/libiguanaIR.so
%{_libdir}/libdirectIguanaIR.so
%changelog %changelog
* Fri Nov 29 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- update to 1.2.1
- updated URL; closes #1
* Sat Dec 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20160823git-2mamba * Sat Dec 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20160823git-2mamba
- rebuilt with python3 3.7 - rebuilt with python3 3.7