package created using the webbuild interface [release 20160823git-1mamba;Tue Aug 23 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 23:52:59 +01:00
parent 1b26c6d9fd
commit 855a1d58cf
2 changed files with 89 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# iguanair # iguanair
Iguanaworks USB IR Project: firmware and software.

87
iguanair.spec Normal file
View File

@ -0,0 +1,87 @@
Name: iguanair
Version: 20160823git
Release: 1mamba
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
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
/lib/udev/rules.d/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
* Tue Aug 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 20160823git-1mamba
- package created using the webbuild interface