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