/[packages]/cauldron/irker/current/SPECS/irker.spec
ViewVC logotype

Annotation of /cauldron/irker/current/SPECS/irker.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2043279 - (hide annotations) (download)
Thu Feb 22 16:17:49 2024 UTC (2 months ago) by wally
File size: 1358 byte(s)
- clean .spec a bit (SILENT)
1 ovitters 645230 Name: irker
2 papoteur 2043267 Version: 2.24
3     Release: %mkrel 1
4 colin 303701 Summary: IRC Message Relay
5     License: BSD
6     Group: Networking/IRC
7 daviddavid 1620323 URL: https://gitlab.com/esr/irker/
8     Source0: https://gitlab.com/esr/irker/-/archive/%{version}/%{name}-%{version}.tar.gz
9 daviddavid 943891 BuildArch: noarch
10     BuildRequires: xmlto
11     BuildRequires: docbook-style-xsl
12 danf 1779361 BuildRequires: pkgconfig(libsystemd)
13 daviddavid 943891
14 colin 303701 Requires(post,postun): rpm-helper
15 daviddavid 1454039 Requires: python3-irc
16     Requires: python3-simplejson
17 colin 303701
18     %description
19 danf 1787309 An IRC client that runs as a daemon accepting notification requests as JSON
20 colin 303701 objects presented to a listening socket. It is meant to be used by hook scripts
21     in version-control repositories, allowing them to send commit notifications to
22     project IRC channels.
23    
24     A hook script that works with git, hg, and svn is included in the distribution.
25    
26     %prep
27     %setup -q
28 ovitters 876522 %autopatch -p1
29 wally 2043276
30 colin 669560 # Avoid chowning when running make install
31 colin 303701 sed -i 's/-o 0 -g 0 //' Makefile
32    
33 wally 2043276 # python shebangs
34     %py3_shebang_fix *.py irk irkerd
35    
36 colin 303701 %build
37 daviddavid 1454039 %make_build -j4
38 colin 303701
39     %install
40 daviddavid 943891 %make_install
41    
42 wally 2043279 install -Dpm755 irkerhook.py %{buildroot}%{_prefix}/lib/%{name}/irkerhook.py
43 colin 303701
44     %pre
45     %_pre_useradd %{name} / /bin/false
46    
47     %post
48     %_post_service %{name}d
49    
50     %preun
51     %_preun_service %{name}d
52    
53     %postun
54     %_postun_userdel %{name}
55    
56     %files
57 boklm 335825 %doc README
58 colin 303701 %{_bindir}/%{name}*
59     %{_unitdir}/%{name}*.service
60 colin 669560 %{_mandir}/man*/irk*
61     %dir %{_prefix}/lib/%{name}
62     %{_prefix}/lib/%{name}/irkerhook.py*

  ViewVC Help
Powered by ViewVC 1.1.30