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