Name: irker Version: 2.18 Release: 2 Summary: IRC Message Relay License: BSD Group: Networking/IRC URL: http://www.catb.org/esr/irker/ Source0: http://www.catb.org/~esr/irker/%{name}-%{version}.tar.gz Patch0: irker-1.9-systemd-unit-user.patch BuildArch: noarch BuildRequires: xmlto BuildRequires: docbook-style-xsl BuildRequires: systemd-devel Requires: python-irc Requires: python-simplejson %description An IRC client that runs as a daemon accepting notification requestsas JSON objects presented to a listening socket. It is meant to be used by hook scripts in version-control repositories, allowing them to send commit notifications to project IRC channels. A hook script that works with git, hg, and svn is included in the distribution. %prep %setup -q %patch0 -p1 # Avoid chowning when running make install sed -i 's/-o 0 -g 0 //' Makefile %build make %install %make_install %__install -D --mode=755 irkerhook.py %{buildroot}%{_prefix}/lib/%{name}/irkerhook.py %pre if ! grep -q irker: /etc/passwd ; then /usr/sbin/useradd -c "Irker IRC proxy" -s /sbin/nologin -d /var/lib/irker irker 2>/dev/null || : fi #%post #%_post_service %{name}d # #%preun #%_preun_service %{name}d # %postun # called when we are erasing the package (but not upgrading) if [ $1 -eq 0 ]; then /usr/sbin/userdel irker fi %files %doc README %{_bindir}/%{name}* %{_unitdir}/%{name}*.service %{_mandir}/man*/irk* %dir %{_prefix}/lib/%{name} %{_prefix}/lib/%{name}/irkerhook.py* %changelog * Thu Sep 15 2016 Scott R. Shinn - 2.18-1 - Import into atomic - Update to 2.18 * Mon Feb 08 2016 umeabot 2.11-4.mga6 + Revision: 943891 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot 2.11-3.mga5 + Revision: 745364 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot 2.11-2.mga5 + Revision: 680565 - Mageia 5 Mass Rebuild * Sat Aug 30 2014 colin 2.11-1.mga5 + Revision: 669560 - New version: 2.11 * Tue Oct 22 2013 umeabot 1.15-4.mga4 + Revision: 545880 - Mageia 4 Mass Rebuild * Thu Oct 17 2013 luigiwalser 1.15-3.mga4 + Revision: 501939 - include pyc and pyo files in files list * Sat Jan 12 2013 umeabot 1.15-2.mga3 + Revision: 354495 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Dec 28 2012 boklm 1.15-1.mga3 + Revision: 335826 - Version 1.15 - Install irkerhook.py in /usr/lib/irker * Tue Oct 09 2012 colin 1.9-1.mga3 + Revision: 303709 - Add systemd-devel BR for .service file - Add some requires and buildrequires - imported package irker