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