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