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