From 90d0a07831bba4274b0ad73cb61f281cda1e0efa Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:41:11 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.5.2-1mamba;Thu Aug 11 2016] --- README.md | 3 ++ libirman.spec | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 libirman.spec diff --git a/README.md b/README.md index 6d2fe72..82a1d4f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libirman +library for accessing irman compatible IR hardware. +The irman driver is originally developed for the irman devices, see http://www.intolect.com/irmandetail.htm. These are nowadays discontinued. However, some modern hardware (notably the irtoy) is able to emulate the irman protocol. + diff --git a/libirman.spec b/libirman.spec new file mode 100644 index 0000000..4154339 --- /dev/null +++ b/libirman.spec @@ -0,0 +1,87 @@ +Name: libirman +Version: 0.5.2 +Release: 1mamba +Summary: Library for accessing irman compatible IR hardware +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://sourceforge.net/projects/libirman/ +Source: http://downloads.sourceforge.net/project/libirman/%{version}/libirman-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: lirc-devel +## AUTOBUILDREQ-END +BuildRequires: lirc-devel >= 0.9.4 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +library for accessing irman compatible IR hardware. +The irman driver is originally developed for the irman devices, see http://www.intolect.com/irmandetail.htm. These are nowadays discontinued. However, some modern hardware (notably the irtoy) is able to emulate the irman protocol. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: Applications/Kernel and Hardware +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure --disable-static --with-plugin +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/irman.conf +%{_libdir}/libirman.so.* +%{_libdir}/lirc/plugins/irman.so +%dir %{_datadir}/doc/libirman +%{_datadir}/doc/libirman/* +%{_datadir}/doc/lirc/plugindocs/irman.html +%{_datadir}/lirc/configs/irman.conf +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/irman.h +%{_libdir}/libirman.la +%{_libdir}/libirman.so +%{_libdir}/pkgconfig/libirman.pc +%doc ChangeLog NEWS README TODO + +%files tools +%defattr(-,root,root) +%{_bindir}/test_func +%{_bindir}/test_io +%{_bindir}/test_name +%{_bindir}/workmanir + +%changelog +* Thu Aug 11 2016 Silvan Calarco 0.5.2-1mamba +- package created using the webbuild interface