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