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