]> git.pld-linux.org Git - packages/inn.git/blame_incremental - inn.spec
- release 2: install headers in /usr/include/inn instead of /usr/include/inn/inn
[packages/inn.git] / inn.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_with lfs # enable largefiles (disables tagged hash)
4%bcond_without python # embedded Python module support
5%bcond_with python3 # Python 3.x instead of 2.x
6
7%include /usr/lib/rpm/macros.perl
8Summary: INN, the InterNet News System (news server)
9Summary(de.UTF-8): das InterNet News System (News-Server)
10Summary(es.UTF-8): INN, InterNet News System (servidor news)
11Summary(fr.UTF-8): INN, le système InterNet News (serveur de news)
12Summary(pl.UTF-8): INN, serwer nowinek
13Summary(pt_BR.UTF-8): INN, InterNet News System (servidor news)
14Summary(tr.UTF-8): INN, InterNet Haber Sistemi (haber sunucu)
15Name: inn
16Version: 2.6.3
17Release: 2
18License: distributable
19Group: Networking/Daemons
20Source0: ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz
21# Source0-md5: cbbebf4c984cd54871b25f6c649d6ad2
22Source1: %{name}-default-active
23Source2: %{name}-default-distributions
24Source3: %{name}-default-newsgroups
25Source4: %{name}.crontab
26Source5: %{name}.init
27Source6: %{name}-cnfsstat.cron
28Source7: %{name}.logrotate
29Source8: getlist.1.pl
30Source9: %{name}d.8.pl
31Source10: %{name}.tmpfiles
32Patch0: %{name}-PLD.patch
33Patch1: %{name}-install.patch
34Patch3: %{name}-setgid.patch
35Patch4: %{name}-config.patch
36Patch5: %{name}-asneeded.patch
37Patch6: %{name}-nnrpd_no_trace.patch
38Patch8: %{name}-libdir.patch
39URL: https://www.isc.org/software/inn/
40BuildRequires: autoconf >= 2.64
41BuildRequires: automake
42BuildRequires: bison
43BuildRequires: cyrus-sasl-devel >= 2
44BuildRequires: db-devel >= 4.4
45BuildRequires: flex >= 2.5.37
46BuildRequires: heimdal-devel
47BuildRequires: libtool >= 2:2
48BuildRequires: openssl-devel >= 0.9.7d
49BuildRequires: perl-devel >= 1:5.8.0
50%if %{with python}
51%{!?with_python3:BuildRequires: python-devel >= 1:2.3}
52%{?with_python3:BuildRequires: python3-devel >= 1:3.3}
53%endif
54BuildRequires: rpm-perlprov
55BuildRequires: rpmbuild(macros) >= 1.663
56BuildRequires: zlib-devel
57Requires(post): /bin/kill
58Requires(post): /usr/bin/getent
59Requires(post): /usr/sbin/usermod
60Requires(post): fileutils
61Requires(post): sed >= 4.0
62Requires(post): textutils
63Requires(post,preun): /sbin/chkconfig
64Requires: %{name}-libs = %{version}-%{release}
65Requires: awk
66Requires: cleanfeed >= 0.95.7b-4
67Requires: crondaemon
68Requires: procps
69Requires: psmisc >= 20.1
70Requires: rc-scripts >= 0.4.1.23
71Requires: textutils
72Requires: util-linux
73Suggests: perl-GD
74Provides: nntpserver
75Obsoletes: leafnode
76Obsoletes: leafnode+
77Conflicts: logrotate < 3.7-4
78BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
79
80%define _sysconfdir /etc/news
81
82%define skip_post_check_so libstorage.so.*
83# /usr/bin/pullnews doesn't provide perl(Net::NNTP) - perl-libnet does.
84%define _noautoprov_perl Net::NNTP
85# it's necessary only for sample nnrpd_auth.pl hook
86%define _noautoreq_perl CDB_File
87
88%description
89INN is a news server, which can be set up to handle USENET news, as
90well as private "newsfeeds". There is a *LOT* of information about
91setting up INN in %{_docdir}/%{name}-%{version} -- read it.
92
93If you want innreport to generate graphs you need perl-GD package.
94
95%description -l es.UTF-8
96INN es un servidor de news, que puede ser configurado para manipular
97USENET news bien como newsfeeds privadas. Existe un *Montón* de
98información sobre la configuración del INN en
99%{_docdir}/%{name}-%{version} -- léela.
100
101%description -l pl.UTF-8
102INN jest serwerem news, który można skonfigurować do obsługi USENET-u,
103jak również do obsługi ,,prywatnych'' grup w sieciach intranetowych.
104Całe mnóstwo pożytecznych informacji o konfigurowaniu INN-a znajdziesz
105w katalogu %{_docdir}/%{name}-%{version}.
106
107Aby innreport generował wykresy, trzeba zainstalować pakiet perl-GD.
108
109%description -l pt_BR.UTF-8
110INN é um servidor de news, que pode ser configurado para manipular
111USENET news bem como newsfeeds privadas. Existe um *MONTE* de
112informações sobre a configuração do INN em
113%{_docdir}/%{name}-%{version} -- leia.
114
115%package libs
116Summary: INN libraries
117Summary(de.UTF-8): INN-Library
118Summary(fr.UTF-8): Bibliothèque INN
119Summary(pl.UTF-8): Biblioteki do INN-a
120Group: Libraries
121
122%description libs
123This library is needed by several programs that interface to INN, such
124as newsgate or tin.
125
126%description libs -l de.UTF-8
127Diese Library wird von mehreren Programmen benötigt, die mit INN
128kommunizieren, etwa newsgate oder tin.
129
130%description libs -l fr.UTF-8
131Cette bibliothèque est nécessaire à plusieurs programmes qui
132s'interfacent avec INN, comme newsgate ou tin.
133
134%description libs -l pl.UTF-8
135Biblioteka niezbędna do działania kilku programów współpracujących z
136INN-em, takich jak newsgate czy tin.
137
138%description libs -l tr.UTF-8
139INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
140bir kitaplıktır.
141
142%package devel
143Summary: INN header files and development documentations
144Summary(de.UTF-8): INN-Library
145Summary(es.UTF-8): Biblioteca INN
146Summary(fr.UTF-8): Bibliothèque INN
147Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja programisty do inn-a
148Summary(pt_BR.UTF-8): Biblioteca INN
149Summary(tr.UTF-8): INN kitaplığı
150Group: Development/Libraries
151Requires: %{name}-libs = %{version}-%{release}
152Requires: db-devel
153
154%description devel
155Header files and developer documentations for INN libraries.
156
157%description devel -l de.UTF-8
158Diese Library wird von mehreren Programmen benötigt, die mit INN
159kommunizieren, etwa newsgate oder tin.
160
161%description devel -l es.UTF-8
162Esta biblioteca es requerida por varios programas que tienen interface
163con INN, como el newsgate o tin.
164
165%description devel -l fr.UTF-8
166Cette bibliothèque est nécessaire à plusieurs programmes qui
167s'interfacent avec INN, comme newsgate ou tin.
168
169%description devel -l pl.UTF-8
170Pliki nagłówkowe i dokumentacja programisty do bibliotek INN-a.
171
172%description devel -l pt_BR.UTF-8
173Esta biblioteca é requerida por vários programas que tem interface com
174o INN, como o newsgate ou tin.
175
176%description devel -l tr.UTF-8
177INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
178bir kitaplıktır.
179
180%package static
181Summary: Static INN libraries
182Summary(es.UTF-8): Static libraries for inn development
183Summary(pl.UTF-8): Biblioteki statyczne do INN
184Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com inn
185Group: Development/Libraries
186Requires: %{name}-devel = %{version}-%{release}
187
188%description static
189Static INN libraries.
190
191%description static -l es.UTF-8
192Static libraries for inn development
193
194%description static -l pl.UTF-8
195Biblioteki statyczne do INN.
196
197%description static -l pt_BR.UTF-8
198Bibliotecas estáticas para desenvolvimento com inn
199
200%package -n inews
201Summary: Inews program (used for posting by inn and trn)
202Summary(de.UTF-8): Inews-Programm (für die Zustellung mit inn und trn)
203Summary(es.UTF-8): Programa Inews (usado para franqueo por inn y trn)
204Summary(fr.UTF-8): Programme inews (utilisé par inn et trn pour poster)
205Summary(pl.UTF-8): Inews - program do wysyłania artykułów (używany przez inn i trn)
206Summary(pt_BR.UTF-8): Programa Inews (usado para postagem pelo inn e trn)
207Summary(tr.UTF-8): Haber biçimlendirme programı
208Group: Networking/News
209Requires: %{name}-libs = %{version}-%{release}
210
211%description -n inews
212The inews program is used by some news readers to post news. It does
213some consistency checking and header reformatting, and forwards the
214article on to the news server specified in inn.conf.
215
216%description -n inews -l de.UTF-8
217Das Programm 'inews' wird von manchen Newsreadern zum Senden von
218Nachrichten verwendet. Es führt eine Konsistenzprüfung und Header-Neuf
219ormatierung aus und leitet die Nachricht an den in 'inn.conf'
220angegebenen News-Server weiter.
221
222%description -n inews -l es.UTF-8
223El programa inews se usa por algunos lectores de news para postar
224mensajes. Hace alguna consistencia chequeando y reformateando headers,
225y enviando el artículo para el servidor de news especificado en el
226inn.conf.
227
228%description -n inews -l fr.UTF-8
229Le programme inews est utilisé par certains lecteurs de news pour
230poster les articles. Il effectue des vérifications et un reformatage
231des en-têtes et fait suivre l'article au serveur de news spécifié dans
232inn.conf.
233
234%description -n inews -l pl.UTF-8
235Inews jest używany przez niektóre czytniki news do wysyłania
236artykułów. Sprawdza budowę artykułu, przepisuje nagłówek i wysyła do
237serwera news wyszczególnionego w inn.conf.
238
239%description -n inews -l pt_BR.UTF-8
240O programa inews é usado por alguns leitores de news para postar
241mensagens. Ele faz alguma consistência checando e reformatando
242headers, e enviando o artigo para o servidor de news especificado no
243inn.conf.
244
245%description -n inews -l tr.UTF-8
246inews programı bazı haber okuyucular tarafından haber yollamak
247amacıyla kullanılır. Program bazı güvenlik denetimleri ve başlık
248biçimlendirmesi yaparak ve inn.conf dosyasında belirtilen haber
249sunucuya makaleyi yollar.
250
251%prep
252%setup -q
253%patch0 -p1
254%patch1 -p1
255%patch3 -p1
256%patch4 -p1
257%patch5 -p1
258%patch6 -p1
259%patch8 -p1
260
261touch innfeed/*.[ly]
262
263%build
264%{__libtoolize}
265# not updated automatically by libtool
266cp -f /usr/share/aclocal/{libtool,lt*}.m4 m4
267cp -f /usr/share/automake/config.* support
268%{__aclocal}
269%{__autoconf}
270%{__autoheader} -I include
271%configure \
272 CPPFLAGS="%{rpmcppflags} -D_GNU_SOURCE" \
273 %{?with_python3:PYTHON=%{__python3}} \
274 --with-news-group=news \
275 --with-news-master=news \
276 --with-news-user=news \
277 --with-control-dir=%{_datadir}/news/control \
278 --with-db-dir=/var/lib/news \
279 --with-filter-dir=%{_datadir}/news/filter \
280 --with-http-dir=/var/lib/news/http \
281 --with-innlib-dir=%{_datadir}/news \
282 --with-libperl-dir=%{perl_vendorlib} \
283 --with-log-dir=/var/log/news \
284 --with-run-dir=/var/run/news \
285 --with-spool-dir=/var/spool/news \
286 --with-tmp-dir=/var/spool/news/incoming/tmp \
287 --with-bdb=%{_prefix} \
288 --with-openssl=%{_prefix} \
289 --with-perl \
290 %{?with_python:--with-python} \
291 --with-sendmail=/usr/lib/sendmail \
292 %{?with_lfs:--enable-largefiles} \
293 --enable-reduced-depends \
294 %{!?with_lfs:--enable-tagged-hash}
295
296%{__make} all \
297 PATHFILTER=%{_datadir}/news/filter \
298 PATHCONTROL=%{_datadir}/news/control
299
300%install
301rm -rf $RPM_BUILD_ROOT
302install -d $RPM_BUILD_ROOT/etc/{cron.d,logrotate.d,news/pgp,rc.d/init.d} \
303 $RPM_BUILD_ROOT%{_libdir}/news/auth/generic \
304 $RPM_BUILD_ROOT%{_datadir}/news/auth \
305 $RPM_BUILD_ROOT%{_mandir}/pl/man{1,8} \
306 $RPM_BUILD_ROOT/var/lib/news/backoff \
307 $RPM_BUILD_ROOT/var/log/archive/news \
308 $RPM_BUILD_ROOT/var/spool/news/{cycbuffs,uniover} \
309 $RPM_BUILD_ROOT/home/services/news \
310 $RPM_BUILD_ROOT%{systemdtmpfilesdir}
311
312%{__make} install \
313 DESTDIR=$RPM_BUILD_ROOT \
314 BACKUP_OPTION= \
315 PATHFILTER=%{_datadir}/news/filter \
316 PATHCONTROL=%{_datadir}/news/control \
317 PATHRNEWS=%{_libdir}/news/rnews \
318 PATHAUTHPASSWD=%{_libdir}/news/auth/passwd \
319 PATHAUTHRESOLV=%{_libdir}/news/auth/resolv
320
321cp -p samples/readers.conf $RPM_BUILD_ROOT%{_sysconfdir}/readers.conf
322touch $RPM_BUILD_ROOT%{_sysconfdir}/motd.{innd,nnrpd}
323
324cp -p %{SOURCE1} $RPM_BUILD_ROOT/var/lib/news/active
325cp -p %{SOURCE2} $RPM_BUILD_ROOT/var/lib/news/distributions
326cp -p %{SOURCE3} $RPM_BUILD_ROOT/var/lib/news/newsgroups
327cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/cron.d/inn
328install -p %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/inn
329install -p %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/cnfsstat.cron
330cp -p %{SOURCE7} $RPM_BUILD_ROOT/etc/logrotate.d/inn
331cp -p %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/pl/man1/getlist.1
332cp -p %{SOURCE9} $RPM_BUILD_ROOT%{_mandir}/pl/man8/innd.8
333cp -p %{SOURCE10} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
334
335%{__rm} $RPM_BUILD_ROOT/var/lib/news/history
336
337umask 002
338:> $RPM_BUILD_ROOT%{_sysconfdir}/subscriptions
339touch $RPM_BUILD_ROOT/var/lib/news/.news.daily
340touch $RPM_BUILD_ROOT/var/lib/news/active.times
341touch $RPM_BUILD_ROOT/var/lib/news/history
342
343LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/makehistory \
344 -a $RPM_BUILD_ROOT/var/lib/news/active \
345 -r -f $RPM_BUILD_ROOT/var/lib/news/history || :
346
347# Fix perms in sample directory to avoid bogus dependencies
348find samples -name "*.in" -exec chmod a-x {} \;
349
350# remove files in conflict with cleanfeed
351%{__rm} $RPM_BUILD_ROOT%{_datadir}/news/filter/filter_innd.*
352
353# remove unpackaged files
354%{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc
355%{__rm} $RPM_BUILD_ROOT%{_bindir}/rc.news
356
357%clean
358rm -rf $RPM_BUILD_ROOT
359
360%post
361if [ "`getent passwd news | cut -d: -f6`" = "/var/spool/news" ]; then
362 /usr/sbin/usermod -d /home/services/news news
363fi
364
365umask 022
366
367%{_bindir}/innupgrade %{_sysconfdir}
368
369cd /var/lib/news
370if [ ! -f /var/lib/news/history ]; then
371 # makehistory fails on uninitialized spool(?) - create empty history in such case
372 %{_bindir}/makehistory || { echo "Creating empty history"; :> history; }
373 chown news:news history
374 chmod 664 history
375 %{_bindir}/makedbz -s `wc -l < history` -f history
376 for i in dir hash index pag; do
377 [ -f history.n.$i ] && mv history.n.$i history.$i
378 done
379 chown news:news history.*
380 chmod 644 history.*
381fi
382
383if [ ! -f /var/lib/news/.news.daily ]; then
384 :> /var/lib/news/.news.daily
385 chown news:news /var/lib/news/.news.daily
386 chmod 664 /var/lib/news/.news.daily
387fi
388
389/sbin/chkconfig --add inn
390%service inn restart "inn news server"
391
392%preun
393if [ "$1" = "0" ]; then
394 %service inn stop
395 /sbin/chkconfig --del inn
396fi
397
398%triggerpostun -- inn < 2.4.0
399cp -af %{_sysconfdir}/inn.conf{,.rpmorig}
400sed -e 's/^\(listenonipv6\)/#\1/;s/^bindipv6address/bindaddress6/;s/^sourceipv6address/sourceaddress6/' \
401 %{_sysconfdir}/inn.conf.rpmorig > %{_sysconfdir}/inn.conf
402
403%post libs -p /sbin/ldconfig
404%postun libs -p /sbin/ldconfig
405
406%files
407%defattr(644,root,root,755)
408%doc CONTRIBUTORS ChangeLog INSTALL LICENSE NEWS README TODO doc/[Icehs]*
409%attr(700,news,news) %dir /home/services/news
410
411# DB
412%attr(770,root,news) %dir /var/lib/news
413%attr(770,root,news) %dir /var/lib/news/backoff
414%attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/active
415%attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/active.times
416%attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/distributions
417%attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/newsgroups
418%attr(664,news,news) %ghost /var/lib/news/.news.daily
419%attr(664,news,news) %ghost /var/lib/news/history
420
421# LOGS
422%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/inn
423# note: innd (and maybe others) creates files in this directory
424%attr(771,root,news) %dir /var/log/news
425%attr(770,news,news) %dir /var/run/news
426%{systemdtmpfilesdir}/%{name}.conf
427# http status pages
428%attr(775,root,news) %dir /var/lib/news/http
429/var/lib/news/http/innreport.css
430
431# SPOOL
432%attr(771,root,news) %dir /var/spool/news
433%attr(770,root,news) %dir /var/spool/news/archive
434%attr(770,root,news) %dir /var/spool/news/articles
435%attr(770,root,news) %dir /var/spool/news/cycbuffs
436%attr(770,root,news) %dir /var/spool/news/incoming
437%attr(770,root,news) %dir /var/spool/news/incoming/bad
438%attr(770,root,news) %dir /var/spool/news/incoming/tmp
439%attr(770,root,news) %dir /var/spool/news/innfeed
440%attr(770,root,news) %dir /var/spool/news/outgoing
441%attr(770,root,news) %dir /var/spool/news/overview
442%attr(770,root,news) %dir /var/spool/news/uniover
443
444# CRON PARTS
445%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/inn
446
447# RC-SCRIPT
448%attr(754,root,root) /etc/rc.d/init.d/inn
449
450# CONFIGS (INN is a one big config ;-)
451%attr(755,root,news) %dir %{_sysconfdir}
452%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/actsync.cfg
453%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/actsync.ign
454%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/buffindexed.conf
455%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/control.ctl
456%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/control.ctl.local
457%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cycbuff.conf
458%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/distrib.pats
459%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/distributions
460%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/expire.ctl
461%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/incoming.conf
462%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/inn.conf
463%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/inn-radius.conf
464%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innfeed.conf
465%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innreport.conf
466%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innshellvars.local
467%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innshellvars.pl.local
468%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innshellvars.tcl.local
469%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innwatch.ctl
470%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/localgroups
471%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/moderators
472%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/motd.innd
473%{_sysconfdir}/motd.innd.sample
474%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/motd.nnrpd
475%{_sysconfdir}/motd.nnrpd.sample
476%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/news2mail.cf
477%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/newsfeeds
478%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nnrpd.track
479%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nntpsend.ctl
480%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nocem.ctl
481%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ovdb.conf
482%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/passwd.nntp
483%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/readers.conf
484%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/send-uucp.cf
485%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/storage.conf
486%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/subscriptions
487%attr(755,root,news) %dir %{_sysconfdir}/pgp
488
489%attr(755,root,news) %dir %{_datadir}/news
490%dir %{_datadir}/news/control
491%dir %{_datadir}/news/filter
492
493%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innreport_inn.pm
494%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars
495%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars.pl
496%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars.tcl
497
498%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/INN.py
499%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/filter_nnrpd.pl
500%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd.py
501%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_access.pl
502%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_access.py
503%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_auth.pl
504%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_auth.py
505%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_dynamic.py
506%config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/startup_innd.pl
507
508%attr(755,root,root) %{_datadir}/news/control/checkgroups.pl
509%attr(755,root,root) %{_datadir}/news/control/ihave.pl
510%attr(755,root,root) %{_datadir}/news/control/newgroup.pl
511%attr(755,root,root) %{_datadir}/news/control/rmgroup.pl
512%attr(755,root,root) %{_datadir}/news/control/sendme.pl
513%attr(755,root,root) %{_datadir}/news/control/sendsys.pl
514%attr(755,root,root) %{_datadir}/news/control/senduuname.pl
515%attr(755,root,root) %{_datadir}/news/control/version.pl
516
517%dir %{perl_vendorlib}/INN
518%{perl_vendorlib}/INN/Config.pm
519%dir %{perl_vendorlib}/INN/Utils
520%{perl_vendorlib}/INN/Utils/Shlock.pm
521
522%attr(755,root,news) %dir %{_libdir}/news
523%dir %{_libdir}/news/auth
524%dir %{_libdir}/news/auth/generic
525%dir %{_libdir}/news/auth/passwd
526%dir %{_libdir}/news/auth/resolv
527%dir %{_libdir}/news/rnews
528
529%attr(755,root,root) %{_libdir}/news/auth/passwd/*
530%attr(755,root,root) %{_libdir}/news/auth/resolv/*
531%attr(755,root,root) %{_libdir}/news/rnews/*
532
533# BINARIES
534%attr(755,root,root) %{_bindir}/actmerge
535%attr(755,root,root) %{_bindir}/actsync
536%attr(755,root,root) %{_bindir}/actsyncd
537%attr(755,root,root) %{_bindir}/archive
538%attr(755,root,root) %{_bindir}/batcher
539%attr(755,root,root) %{_bindir}/buffchan
540%attr(755,root,root) %{_bindir}/buffindexed_d
541%attr(755,root,root) %{_bindir}/cnfsheadconf
542%attr(755,root,root) %{_bindir}/cnfsstat
543%attr(755,root,root) %{_bindir}/cnfsstat.cron
544%attr(755,root,root) %{_bindir}/controlbatch
545%attr(755,root,root) %{_bindir}/controlchan
546%attr(755,root,root) %{_bindir}/convdate
547%attr(755,root,root) %{_bindir}/ctlinnd
548%attr(755,root,root) %{_bindir}/cvtbatch
549%attr(755,root,root) %{_bindir}/docheckgroups
550%attr(755,root,root) %{_bindir}/expire
551%attr(755,root,root) %{_bindir}/expireover
552%attr(755,root,root) %{_bindir}/expirerm
553%attr(755,root,root) %{_bindir}/fastrm
554%attr(755,root,root) %{_bindir}/filechan
555%attr(755,root,root) %{_bindir}/getlist
556%attr(755,root,root) %{_bindir}/grephistory
557%attr(755,root,root) %{_bindir}/imapfeed
558# suid root to bind sockets
559%attr(4754,root,news) %{_bindir}/innbind
560%attr(755,root,root) %{_bindir}/inncheck
561%attr(755,root,root) %{_bindir}/innconfval
562%attr(755,root,root) %{_bindir}/innd
563%attr(755,root,root) %{_bindir}/inndf
564%attr(755,root,root) %{_bindir}/innfeed
565%attr(755,root,root) %{_bindir}/innmail
566%attr(755,root,root) %{_bindir}/innreport
567%attr(755,root,root) %{_bindir}/innstat
568%attr(755,root,root) %{_bindir}/innupgrade
569%attr(755,root,root) %{_bindir}/innwatch
570%attr(755,root,root) %{_bindir}/innxbatch
571%attr(755,root,root) %{_bindir}/innxmit
572%attr(755,root,root) %{_bindir}/mailpost
573%attr(755,root,root) %{_bindir}/makedbz
574%attr(755,root,root) %{_bindir}/makehistory
575%attr(755,root,root) %{_bindir}/mod-active
576%attr(755,root,root) %{_bindir}/news.daily
577%attr(755,root,root) %{_bindir}/news2mail
578%attr(755,root,root) %{_bindir}/ninpaths
579%attr(755,root,root) %{_bindir}/nnrpd
580%attr(755,root,root) %{_bindir}/nntpget
581%attr(755,root,root) %{_bindir}/nntpsend
582%attr(755,root,root) %{_bindir}/ovdb_*
583%attr(755,root,root) %{_bindir}/overchan
584%attr(755,root,root) %{_bindir}/perl-nocem
585%attr(755,root,root) %{_bindir}/pgpverify
586%attr(755,root,root) %{_bindir}/procbatch
587%attr(755,root,root) %{_bindir}/prunehistory
588%attr(755,root,root) %{_bindir}/pullnews
589%attr(755,root,root) %{_bindir}/rnews
590%attr(755,root,root) %{_bindir}/scanlogs
591%attr(755,root,root) %{_bindir}/scanspool
592%attr(755,root,root) %{_bindir}/send-ihave
593%attr(755,root,root) %{_bindir}/send-nntp
594%attr(755,root,root) %{_bindir}/send-uucp
595%attr(755,root,root) %{_bindir}/sendinpaths
596%attr(755,root,root) %{_bindir}/sendxbatches
597%attr(755,root,root) %{_bindir}/shlock
598%attr(755,root,root) %{_bindir}/shrinkfile
599%attr(755,root,root) %{_bindir}/signcontrol
600%attr(755,root,root) %{_bindir}/simpleftp
601%attr(755,root,root) %{_bindir}/sm
602%attr(755,root,root) %{_bindir}/tally.control
603%attr(755,root,root) %{_bindir}/tdx-util
604%attr(755,root,root) %{_bindir}/tinyleaf
605%attr(755,root,root) %{_bindir}/writelog
606
607# MAN
608%{_mandir}/man1/convdate.1*
609%{_mandir}/man1/fastrm.1*
610%{_mandir}/man1/getlist.1*
611%{_mandir}/man1/grephistory.1*
612%{_mandir}/man1/innconfval.1*
613%{_mandir}/man1/innmail.1*
614%{_mandir}/man1/nntpget.1*
615%{_mandir}/man1/pgpverify.1*
616%{_mandir}/man1/pullnews.1*
617%{_mandir}/man1/rnews.1*
618%{_mandir}/man1/shlock.1*
619%{_mandir}/man1/shrinkfile.1*
620%{_mandir}/man1/simpleftp.1*
621%{_mandir}/man1/sm.1*
622%{_mandir}/man3/INN::Config.3pm*
623%{_mandir}/man3/INN::Utils::Shlock.3pm*
624%{_mandir}/man5/active.5*
625%{_mandir}/man5/active.times.5*
626%{_mandir}/man5/buffindexed.conf.5*
627%{_mandir}/man5/control.ctl.5*
628%{_mandir}/man5/cycbuff.conf.5*
629%{_mandir}/man5/distrib.pats.5*
630%{_mandir}/man5/distributions.5*
631%{_mandir}/man5/expire.ctl.5*
632%{_mandir}/man5/history.5*
633%{_mandir}/man5/incoming.conf.5*
634%{_mandir}/man5/inn.conf.5*
635%{_mandir}/man5/inn-radius.conf.5*
636%{_mandir}/man5/innfeed.conf.5*
637%{_mandir}/man5/innwatch.ctl.5*
638%{_mandir}/man5/localgroups.5*
639%{_mandir}/man5/moderators.5*
640%{_mandir}/man5/motd.innd.5*
641%{_mandir}/man5/motd.news.5*
642%{_mandir}/man5/motd.nnrpd.5*
643%{_mandir}/man5/newsfeeds.5*
644%{_mandir}/man5/newsgroups.5*
645%{_mandir}/man5/newslog.5*
646%{_mandir}/man5/nnrpd.track.5*
647%{_mandir}/man5/nntpsend.ctl.5*
648%{_mandir}/man5/nocem.ctl.5*
649%{_mandir}/man5/ovdb.5*
650%{_mandir}/man5/passwd.nntp.5*
651%{_mandir}/man5/readers.conf.5*
652%{_mandir}/man5/storage.conf.5*
653%{_mandir}/man5/subscriptions.5*
654%{_mandir}/man8/actsync.8*
655%{_mandir}/man8/actsyncd.8*
656%{_mandir}/man8/archive.8*
657%{_mandir}/man8/auth_krb5.8*
658%{_mandir}/man8/batcher.8*
659%{_mandir}/man8/buffchan.8*
660%{_mandir}/man8/ckpasswd.8*
661%{_mandir}/man8/cnfsheadconf.8*
662%{_mandir}/man8/cnfsstat.8*
663%{_mandir}/man8/controlchan.8*
664%{_mandir}/man8/ctlinnd.8*
665%{_mandir}/man8/cvtbatch.8*
666%{_mandir}/man8/docheckgroups.8*
667%{_mandir}/man8/domain.8*
668%{_mandir}/man8/expire.8*
669%{_mandir}/man8/expireover.8*
670%{_mandir}/man8/expirerm.8*
671%{_mandir}/man8/filechan.8*
672%{_mandir}/man8/ident.8*
673%{_mandir}/man8/imapfeed.8*
674%{_mandir}/man8/innbind.8*
675%{_mandir}/man8/inncheck.8*
676%{_mandir}/man8/innd.8*
677%{_mandir}/man8/inndf.8*
678%{_mandir}/man8/innfeed.8*
679%{_mandir}/man8/innreport.8*
680%{_mandir}/man8/innstat.8*
681%{_mandir}/man8/innupgrade.8*
682%{_mandir}/man8/innwatch.8*
683%{_mandir}/man8/innxbatch.8*
684%{_mandir}/man8/innxmit.8*
685%{_mandir}/man8/inpaths.8*
686%{_mandir}/man8/mailpost.8*
687%{_mandir}/man8/makedbz.8*
688%{_mandir}/man8/makehistory.8*
689%{_mandir}/man8/mod-active.8*
690%{_mandir}/man8/news.daily.8*
691%{_mandir}/man8/news2mail.8*
692%{_mandir}/man8/ninpaths.8*
693%{_mandir}/man8/nnrpd.8*
694%{_mandir}/man8/nntpsend.8*
695%{_mandir}/man8/ovdb_*.8*
696%{_mandir}/man8/overchan.8*
697%{_mandir}/man8/perl-nocem.8*
698%{_mandir}/man8/procbatch.8*
699%{_mandir}/man8/prunehistory.8*
700%{_mandir}/man8/radius.8*
701%{_mandir}/man8/rc.news.8*
702%{_mandir}/man8/scanlogs.8*
703%{_mandir}/man8/scanspool.8*
704%{_mandir}/man8/send-nntp.8*
705%{_mandir}/man8/send-uucp.8*
706%{_mandir}/man8/sendinpaths.8*
707%{_mandir}/man8/tally.control.8*
708%{_mandir}/man8/tdx-util.8*
709%{_mandir}/man8/tinyleaf.8*
710%{_mandir}/man8/writelog.8*
711%lang(pl) %{_mandir}/pl/man1/getlist.1*
712%lang(pl) %{_mandir}/pl/man8/innd.8*
713
714%files libs
715%defattr(644,root,root,755)
716%attr(755,root,root) %{_libdir}/libinn.so.*.*.*
717%attr(755,root,root) %ghost %{_libdir}/libinn.so.6
718%attr(755,root,root) %{_libdir}/libinnhist.so.*.*.*
719%attr(755,root,root) %ghost %{_libdir}/libinnhist.so.3
720%attr(755,root,root) %{_libdir}/libstorage.so.*.*.*
721%attr(755,root,root) %ghost %{_libdir}/libstorage.so.3
722
723%files devel
724%defattr(644,root,root,755)
725%attr(755,root,root) %{_libdir}/libinn.so
726%attr(755,root,root) %{_libdir}/libinnhist.so
727%attr(755,root,root) %{_libdir}/libstorage.so
728%{_libdir}/libinn.la
729%{_libdir}/libinnhist.la
730%{_libdir}/libstorage.la
731%{_includedir}/inn
732%{_mandir}/man3/clientlib.3*
733%{_mandir}/man3/dbz.3*
734%{_mandir}/man3/inndcomm.3*
735%{_mandir}/man3/libauth.3*
736%{_mandir}/man3/libinn.3*
737%{_mandir}/man3/libinnhist.3*
738%{_mandir}/man3/libstorage.3*
739# XXX: too generic name?
740%{_mandir}/man3/list.3*
741%{_mandir}/man3/qio.3*
742# XXX: too generic name?
743%{_mandir}/man3/tst.3*
744%{_mandir}/man3/uwildmat.3*
745
746%files static
747%defattr(644,root,root,755)
748%{_libdir}/libinn.a
749%{_libdir}/libinnhist.a
750%{_libdir}/libstorage.a
751
752%files -n inews
753%defattr(644,root,root,755)
754%attr(755,root,news) %{_bindir}/inews
755%{_mandir}/man1/inews.1*
This page took 0.087773 seconds and 4 git commands to generate.