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