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