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