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