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