/[packages]/updates/infra_1/irker/current/SPECS/irker.spec
ViewVC logotype

Contents of /updates/infra_1/irker/current/SPECS/irker.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 303709 - (show annotations) (download)
Mon Oct 8 23:27:20 2012 UTC (11 years, 6 months ago) by colin
Original Path: cauldron/irker/current/SPECS/irker.spec
File size: 1265 byte(s)
Add systemd-devel BR for .service file
1 %define name irker
2 %define version 1.9
3 %define release %mkrel 1
4
5 Name: %{name}
6 Version: %{version}
7 Release: %{release}
8 Summary: IRC Message Relay
9 License: BSD
10 Group: Networking/IRC
11 URL: http://www.catb.org/esr/irker/
12 Source0: http://www.catb.org/~esr/irker/%{name}-%{version}.tar.gz
13 Patch0: irker-1.9-systemd-unit-user.patch
14 BuildArch: noarch
15 Requires(post,postun): rpm-helper
16 Requires: python-irc
17 Requires: python-simplejson
18 BuildRequires: xmlto
19 BuildRequires: docbook-style-xsl
20 BuildRequires: systemd-devel
21
22 %description
23 An IRC client that runs as a daemon accepting notification requestsas JSON
24 objects presented to a listening socket. It is meant to be used by hook scripts
25 in version-control repositories, allowing them to send commit notifications to
26 project IRC channels.
27
28 A hook script that works with git, hg, and svn is included in the distribution.
29
30 %prep
31 %setup -q
32 %apply_patches
33 sed -i 's/-o 0 -g 0 //' Makefile
34
35 %build
36 %make
37
38 %install
39 rm -rf %{buildroot}
40 %makeinstall_std
41
42 %pre
43 %_pre_useradd %{name} / /bin/false
44
45 %post
46 %_post_service %{name}d
47
48 %preun
49 %_preun_service %{name}d
50
51 %postun
52 %_postun_userdel %{name}
53
54 %clean
55 rm -rf %{buildroot}
56
57 %files
58 %doc README irkerhook.py
59 %{_bindir}/%{name}*
60 %{_unitdir}/%{name}*.service
61 %{_mandir}/man*/%{name}*

  ViewVC Help
Powered by ViewVC 1.1.30