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