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