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