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