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