From c5f7ab75056671511b75f76f37b0a57ec300de18 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 06:24:00 +0100 Subject: [PATCH] automatic update by autodist [release 0.9.1-1mamba;Thu Jun 12 2014] --- lirc.spec | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/lirc.spec b/lirc.spec index ddd1031..e913668 100644 --- a/lirc.spec +++ b/lirc.spec @@ -27,9 +27,9 @@ %endif Name: lirc -Version: 0.9.0 +Version: 0.9.1 Epoch: 1 -Release: 9mamba +Release: 1mamba Summary: A package that allows you to decode and send infra-red signals Group: System/Hardware Vendor: openmamba @@ -108,7 +108,7 @@ Lirc remote control drivers for the %{kernel_ver}%{KERNEL_TARGET} kernel. # --with-kerneldir=/usr/src/linux-%{KERNEL_VER}%{KERNEL_TARGET} \ # --with-moduledir=/lib/modules/%{KERNEL_VER}%{KERNEL_TARGET}/misc -%make +%make systemddir=%{_unitdir} #make -C drivers %{BUILD_OPTS} -j1 %install @@ -119,16 +119,25 @@ sed -i "s|/sbin/depmod|/bin/true|" drivers/Makefile drivers/*/Makefile install -d %{buildroot}%{_sysconfdir}/lirc cp -a remotes/* %{buildroot}%{_sysconfdir}/lirc -%makeinstall +%makeinstall systemddir=%{_unitdir} %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} +%post +if [ $1 -ge 1 ]; then + systemctl -q daemon-reload +fi +: + %files %defattr(-,root,root) %dir %{_sysconfdir}/lirc %{_sysconfdir}/lirc/* %{_bindir}/* +%{_unitdir}/lircd.service +%{_unitdir}/lircd.socket +%{_unitdir}/lircmd.service %{_libdir}/liblirc_client.so.* %{_sbindir}/lircd %{_sbindir}/lircmd @@ -147,21 +156,26 @@ cp -a remotes/* %{buildroot}%{_sysconfdir}/lirc %{_mandir}/man8/lircmd.8.gz /var/run/lirc/lircd /var/run/lirc/lircm -%doc AUTHORS COPYING ChangeLog NEWS README TODO +%doc AUTHORS COPYING +%doc ChangeLog NEWS README TODO %files devel %defattr(-,root,root) -%{_libdir}/liblirc_client.a %{_libdir}/liblirc_client.la %{_libdir}/liblirc_client.so %dir %{_includedir}/lirc %{_includedir}/lirc/*.h +%dir %{_docdir}/lirc +%{_docdir}/lirc/* #%files -n kernel-%{KERNEL_TARGET}-lirc #%defattr(-,root,root) #/lib/modules/%{KERNEL_VER}%{KERNEL_TARGET}/misc/lirc_*.ko %changelog +* Thu Jun 12 2014 Automatic Build System 0.9.1-1mamba +- automatic update by autodist + * Fri Jan 04 2013 Silvan Calarco 0.9.0-9mamba - kernel 3.4 rebuild