]> git.pld-linux.org Git - packages/inn.git/blob - inn.spec
- create+own /home/services/news dir
[packages/inn.git] / inn.spec
1 # TODO
2 # - post script is nightmare
3 #
4 # Conditional build:
5 %bcond_with     largefiles      # enable largefiles (disables tagged hash)
6 #
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        INN, the InterNet News System (news server)
9 Summary(de):    das InterNet News System (News-Server)
10 Summary(es):    INN, InterNet News System (servidor news)
11 Summary(fr):    INN, le système InterNet News (serveur de news)
12 Summary(pl):    INN, serwer nowinek
13 Summary(pt_BR): INN, InterNet News System (servidor news)
14 Summary(tr):    INN, InterNet Haber Sistemi (haber sunucu)
15 Name:           inn
16 Version:        2.4.2
17 Release:        0.1
18 License:        distributable
19 Group:          Networking/Daemons
20 Source0:        ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz
21 # Source0-md5:  4942a275c70e0256dad6f1857be6d62e
22 Source1:        %{name}-default-active
23 Source2:        %{name}-default-distributions
24 Source3:        %{name}-default-newsgroups
25 Source4:        %{name}.crontab
26 Source5:        %{name}.init
27 Source6:        %{name}-cnfsstat.cron
28 Source7:        %{name}.logrotate
29 Source8:        getlist.1.pl
30 Source9:        %{name}d.8.pl
31 Patch0:         %{name}-PLD.patch
32 Patch1:         %{name}-install.patch
33 Patch2:         %{name}-db.patch
34 Patch3:         %{name}-ac25x.patch
35 Patch4:         %{name}-ac253.patch
36 Patch5:         %{name}-setgid.patch
37 Patch6:         %{name}-db4.patch
38 Patch7:         %{name}-lib_install_modes.patch
39 Patch8:         %{name}-config.patch
40 URL:            http://www.isc.org/sw/inn/
41 BuildRequires:  fix-%post-script-first
42 BuildRequires:  autoconf
43 BuildRequires:  automake
44 BuildRequires:  bison
45 BuildRequires:  db-devel
46 BuildRequires:  flex
47 BuildRequires:  libtool >= 1:1.4.2-9
48 BuildRequires:  openssl-devel >= 0.9.7d
49 BuildRequires:  perl-devel >= 1:5.8.0
50 BuildRequires:  rpmbuild(macros) >= 1.268
51 Requires(post): /bin/kill
52 Requires(post): /usr/bin/getent
53 Requires(post): /usr/sbin/usermod
54 Requires(post): fileutils
55 Requires(post): sed >= 4.0
56 Requires(post): textutils
57 Requires(post,preun):   /sbin/chkconfig
58 Requires:       %{name}-libs = %{version}-%{release}
59 Requires:       /etc/cron.d
60 Requires:       awk
61 Requires:       cleanfeed >= 0.95.7b-4
62 Requires:       perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
63 Requires:       procps
64 Requires:       psmisc >= 20.1
65 Requires:       rc-scripts >= 0.2.0
66 Requires:       textutils
67 Requires:       util-linux
68 Provides:       nntpserver
69 Obsoletes:      leafnode
70 Obsoletes:      leafnode+
71 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
72
73 %define         _sysconfdir     /etc/news
74 %define         _includedir     %{_prefix}/include/inn
75
76 # /usr/bin/pullnews doesn't provide perl(Net::NNTP) - perl-libnet does.
77 %define         _noautoprov     'perl(Net::NNTP)'
78 # it's necessary only for sample nnrpd_auth.pl hook
79 %define         _noautoreq      'perl(CDB_File)'
80
81 %description
82 INN is a news server, which can be set up to handle USENET news, as
83 well as private "newsfeeds". There is a *LOT* of information about
84 setting up INN in %{_docdir}/%{name}-%{version} -- read it.
85
86 If you want innreport to generate graphs you need perl-GD package.
87
88 %description -l es
89 INN es un servidor de news, que puede ser configurado para manipular
90 USENET news bien como newsfeeds privadas. Existe un *Montón* de
91 información sobre la configuración del INN en %{_docdir}/%{name}-%{version} -- léela.
92
93 %description -l pl
94 INN jest serwerem news, który mo¿na skonfigurowaæ do obs³ugi USENET-u,
95 jak równie¿ do obs³ugi ,,prywatnych'' grup w sieciach intranetowych.
96 Ca³e mnóstwo po¿ytecznych informacji o konfigurowaniu INN-a znajdziesz
97 w katalogu %{_docdir}/%{name}-%{version}.
98
99 Je¶li chcesz ¿eby innreport generowa³ wykresy musisz zainstalowaæ
100 pakiet perl-GD.
101
102 %description -l pt_BR
103 INN é um servidor de news, que pode ser configurado para manipular
104 USENET news bem como newsfeeds privadas. Existe um *MONTE* de
105 informações sobre a configuração do INN em %{_docdir}/%{name}-%{version} -- leia.
106
107 %package libs
108 Summary:        INN libraries
109 Summary(de):    INN-Library
110 Summary(fr):    Bibliothèque INN
111 Summary(pl):    Biblioteki do INN-a
112 Group:          Development/Libraries
113
114 %description libs
115 This library is needed by several programs that interface to INN, such
116 as newsgate or tin.
117
118 %description libs -l de
119 Diese Library wird von mehreren Programmen benötigt, die mit INN
120 kommunizieren, etwa newsgate oder tin.
121
122 %description libs -l fr
123 Cette bibliothèque est nécessaire à plusieurs programmes qui
124 s'interfacent avec INN, comme newsgate ou tin.
125
126 %description libs -l pl
127 Biblioteka niezbêdna do dzia³ania kilku programów wspó³pracuj±cych z
128 INN-em, takich jak newsgate czy tin.
129
130 %description libs -l tr
131 INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
132 bir kitaplýktýr.
133
134 %package devel
135 Summary:        INN header files and development documentations
136 Summary(de):    INN-Library
137 Summary(es):    Biblioteca INN
138 Summary(fr):    Bibliothèque INN
139 Summary(pl):    Pliki nag³ówkowe i dokumentacja programisty do inn-a
140 Summary(pt_BR): Biblioteca INN
141 Summary(tr):    INN kitaplýðý
142 Group:          Development/Libraries
143 Requires:       %{name}-libs = %{version}-%{release}
144 Requires:       db-devel
145
146 %description devel
147 Header files and developer documentations for INN libraries.
148
149 %description devel -l de
150 Diese Library wird von mehreren Programmen benötigt, die mit INN
151 kommunizieren, etwa newsgate oder tin.
152
153 %description devel -l es
154 Esta biblioteca es requerida por varios programas que tienen interface
155 con INN, como el newsgate o tin.
156
157 %description devel -l fr
158 Cette bibliothèque est nécessaire à plusieurs programmes qui
159 s'interfacent avec INN, comme newsgate ou tin.
160
161 %description devel -l pl
162 Pliki nag³ówkowe i dokumentacja programisty do bibliotek INN-a.
163
164 %description devel -l pt_BR
165 Esta biblioteca é requerida por vários programas que tem interface com
166 o INN, como o newsgate ou tin.
167
168 %description devel -l tr
169 INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
170 bir kitaplýktýr.
171
172 %package static
173 Summary:        Static INN libraries
174 Summary(es):    Static libraries for inn development
175 Summary(pl):    Biblioteki statyczne do INN
176 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com inn
177 Group:          Development/Libraries
178 Requires:       %{name}-devel = %{version}-%{release}
179
180 %description static
181 Static INN libraries.
182
183 %description static -l es
184 Static libraries for inn development
185
186 %description static -l pl
187 Biblioteki statyczne do INN.
188
189 %description static -l pt_BR
190 INN é um servidor de news, que pode ser configurado para manipular
191 USENET news bem como newsfeeds privadas. Existe um *MONTE* de
192 informações sobre a configuração do INN em /usr/doc -- leia.
193
194 Bibliotecas estáticas para desenvolvimento com inn
195
196 %package -n inews
197 Summary:        Inews program (used for posting by inn and trn)
198 Summary(de):    Inews-Programm (für die Zustellung mit inn und trn)
199 Summary(es):    Programa Inews (usado para franqueo por inn y trn)
200 Summary(fr):    Programme inews (utilisé par inn et trn pour poster)
201 Summary(pl):    Inews - program do wysy³ania artyku³ów (u¿ywany przez inn i trn)
202 Summary(pt_BR): Programa Inews (usado para postagem pelo inn e trn)
203 Summary(tr):    Haber biçimlendirme programý
204 Group:          Networking/News
205 Requires:       %{name}-libs = %{version}-%{release}
206
207 %description -n inews
208 The inews program is used by some news readers to post news. It does
209 some consistency checking and header reformatting, and forwards the
210 article on to the news server specified in inn.conf.
211
212 %description -n inews -l de
213 Das Programm 'inews' wird von manchen Newsreadern zum Senden von
214 Nachrichten verwendet. Es führt eine Konsistenzprüfung und Header-Neuf
215 ormatierung aus und leitet die Nachricht an den in 'inn.conf'
216 angegebenen News-Server weiter.
217
218 %description -n inews -l es
219 El programa inews se usa por algunos lectores de news para postar
220 mensajes. Hace alguna consistencia chequeando y reformateando headers,
221 y enviando el artículo para el servidor de news especificado en el
222 inn.conf.
223
224 %description -n inews -l fr
225 Le programme inews est utilisé par certains lecteurs de news pour
226 poster les articles. Il effectue des vérifications et un reformatage
227 des en-têtes et fait suivre l'article au serveur de news spécifié dans
228 inn.conf.
229
230 %description -n inews -l pl
231 Inews jest u¿ywany przez niektóre czytniki news do wysy³ania
232 artyku³ów. Sprawdza budowê artyku³u, przepisuje nag³ówek i wysy³a do
233 serwera news wyszczególnionego w inn.conf.
234
235 %description -n inews -l pt_BR
236 O programa inews é usado por alguns leitores de news para postar
237 mensagens. Ele faz alguma consistência checando e reformatando
238 headers, e enviando o artigo para o servidor de news especificado no
239 inn.conf.
240
241 %description -n inews -l tr
242 inews programý bazý haber okuyucular tarafýndan haber yollamak
243 amacýyla kullanýlýr. Program bazý güvenlik denetimleri ve baþlýk
244 biçimlendirmesi yaparak ve inn.conf dosyasýnda belirtilen haber
245 sunucuya makaleyi yollar.
246
247 %prep
248 %setup -q
249 %patch0 -p1
250 %patch1 -p1
251 %patch2 -p1
252 %patch3 -p1
253 %patch4 -p1
254 %patch5 -p1
255 %patch6
256 %patch7 -p1
257 %patch8 -p1
258
259 touch innfeed/*.[ly]
260
261 %build
262 %{__libtoolize}
263 %{__aclocal}
264 %{__autoconf}
265 %configure \
266         CFLAGS="%{rpmcflags} -D_GNU_SOURCE" \
267         --with-news-user=news \
268         --with-news-group=news \
269         --with-news-master=news \
270         --with-control-dir=%{_datadir}/news/control \
271         --with-db-dir=/var/lib/news \
272         --with-etc-dir=%{_sysconfdir} \
273         --with-filter-dir=%{_datadir}/news/filter \
274         --with-log-dir=/var/log/news \
275         --with-run-dir=/var/run/news \
276         --with-spool-dir=/var/spool/news \
277         --with-lib-dir=%{_datadir}/news \
278         --with-tmp-dir=/var/spool/news/incoming/tmp \
279         --with-perl \
280         --with-sendmail=/usr/lib/sendmail \
281         --with-openssl=%{_prefix} \
282         --with-berkeleydb=%{_prefix} \
283         %{?with_largefiles:--enable-largefiles} \
284         %{!?with_largefiles:--enable-tagged-hash} \
285         --enable-merge-to-groups \
286         --enable-pgp-verify \
287         --enable-shared \
288         --enable-static \
289         --enable-libtool \
290         --enable-ipv6 \
291         --enable-dual-socket
292
293 %{__make} all \
294         PATHFILTER=%{_datadir}/news/filter \
295         PATHCONTROL=%{_datadir}/news/control
296
297 %install
298 rm -rf $RPM_BUILD_ROOT
299 install -d $RPM_BUILD_ROOT/etc/{news,rc.d/init.d,cron.d,logrotate.d} \
300         $RPM_BUILD_ROOT{%{_libdir}/news/{rnews,auth/generic},%{_includedir}} \
301         $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/news/{control,filter,auth}} \
302         $RPM_BUILD_ROOT%{_mandir}/{man{1,3,5,8},pl/man{1,8}} \
303         $RPM_BUILD_ROOT/var/{run/news,lib/news/backoff,log/{news,archiv/news}} \
304         $RPM_BUILD_ROOT/var/spool/news/{articles,overview,incoming/{tmp,bad},outgoing,archive,uniover,innfeed,cycbuffs} \
305         $RPM_BUILD_ROOT/home/services/news
306
307 %{__make} install \
308         DESTDIR="$RPM_BUILD_ROOT" \
309         PATHFILTER=%{_datadir}/news/filter \
310         PATHCONTROL=%{_datadir}/news/control \
311         PATHRNEWS=%{_libdir}/news/rnews \
312         PATHAUTHPASSWD=%{_libdir}/news/auth/passwd \
313         PATHAUTHRESOLV=%{_libdir}/news/auth/resolv
314
315 install samples/readers.conf $RPM_BUILD_ROOT%{_sysconfdir}/readers.conf
316
317 install %{SOURCE1} $RPM_BUILD_ROOT/var/lib/news/active
318 install %{SOURCE2} $RPM_BUILD_ROOT/var/lib/news/distributions
319 install %{SOURCE3} $RPM_BUILD_ROOT/var/lib/news/newsgroups
320 install %{SOURCE4} $RPM_BUILD_ROOT/etc/cron.d/inn
321 install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/inn
322 install %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/cnfsstat.cron
323 install %{SOURCE7} $RPM_BUILD_ROOT/etc/logrotate.d/inn
324 install %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/pl/man1/getlist.1
325 install %{SOURCE9} $RPM_BUILD_ROOT%{_mandir}/pl/man8/innd.8
326
327 rm -f $RPM_BUILD_ROOT/var/lib/news/history
328
329 umask 002
330 > $RPM_BUILD_ROOT%{_sysconfdir}/subscriptions
331 touch $RPM_BUILD_ROOT/var/lib/news/history
332 touch $RPM_BUILD_ROOT/var/lib/news/.news.daily
333 touch $RPM_BUILD_ROOT/var/lib/news/active.times
334 touch $RPM_BUILD_ROOT/var/log/news/news.notice
335 touch $RPM_BUILD_ROOT/var/log/news/news.crit
336 touch $RPM_BUILD_ROOT/var/log/news/news.err
337
338 # obsolete?
339 #touch $RPM_BUILD_ROOT%{_includedir}/inn/configdata.h
340
341 mv -f $RPM_BUILD_ROOT%{_datadir}/news/*.{a,la,so*} $RPM_BUILD_ROOT%{_libdir}
342
343 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/makehistory \
344         -a $RPM_BUILD_ROOT/var/lib/news/active \
345         -i -r -f $RPM_BUILD_ROOT/var/lib/news/history || :
346
347 # Fix perms in sample directory to avoid bogus dependencies
348 find samples -name "*.in" -exec chmod a-x {} \;
349
350 # remove files in conflict with cleanfeed
351 rm -f $RPM_BUILD_ROOT%{_datadir}/news/filter/filter_innd.*
352
353 # remove unpackaged files
354 rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
355 rm -f $RPM_BUILD_ROOT%{_bindir}/rc.news
356
357 %clean
358 rm -rf $RPM_BUILD_ROOT
359
360 %post
361 if [ "`getent passwd news | cut -d: -f6`" = "/var/spool/news" ]; then
362         /usr/sbin/usermod -d /home/services/news news
363 fi
364 umask 022
365 if [ -f /var/lib/news/history ]; then
366         cd /var/lib/news
367         %{_bindir}/makedbz -s `wc -l <history` -f history
368         for i in dir hash index pag; do
369                 [ -f history.n.$i ] && mv history.n.$i history.$i
370         done
371         chown news:news history.*
372         chmod 644 history.*
373 else
374         cd /var/lib/news
375         # FIXME: this will fail immediately as it needs *configured* inn.conf!
376         %{_bindir}/makehistory
377         %{_bindir}/makedbz -s `wc -l <history` -f history
378         for i in dir hash index pag; do
379                 [ -f history.n.$i ] && mv history.n.$i history.$i
380         done
381         chown news:news history history.*
382         chmod 644 history history.*
383 fi
384
385 if [ ! -f /var/lib/news/active.times ]; then
386         touch /var/lib/news/active.times
387         chown news:news /var/lib/news/active.times
388 fi
389
390 if [ ! -f /var/lib/news/.news.daily ]; then
391         touch /var/lib/news/.news.daily
392         chown news:news /var/lib/news/.news.daily
393         chmod 664 /var/lib/news/.news.daily
394 fi
395
396 # FIXME: /var/log is syslog daemon business, not ours!
397 if [ ! -f /var/log/news/news.notice ]; then
398         touch /var/log/news/news.notice
399         chown news:news /var/log/news/news.notice
400         chmod 664 /var/log/news/news.notice
401 fi
402
403 if [ ! -f /var/log/news/news.crit ]; then
404         touch /var/log/news/news.crit
405         chown news:news /var/log/news/news.crit
406         chmod 660 /var/log/news/news.crit
407 fi
408
409 if [ ! -f /var/log/news/news.err ]; then
410         touch /var/log/news/news.err
411         chown news:news /var/log/news/news.err
412         chmod 660 /var/log/news/news.err
413 fi
414
415 /sbin/chkconfig --add inn
416 %service inn restart "inn news server"
417
418 %preun
419 if [ "$1" = "0" ]; then
420         %service inn stop
421         /sbin/chkconfig --del inn
422 fi
423
424 %triggerpostun -- inn < 2.4.0
425 cp -af %{_sysconfdir}/inn.conf{,.rpmorig}
426 sed -e 's/^\(listenonipv6\)/#\1/;s/^bindipv6address/bindaddress6/;s/^sourceipv6address/sourceaddress6/' \
427         %{_sysconfdir}/inn.conf.rpmorig > %{_sysconfdir}/inn.conf
428
429 %post   libs -p /sbin/ldconfig
430 %postun libs -p /sbin/ldconfig
431
432 %files
433 %defattr(644,root,root,755)
434 %doc CONTRIBUTORS ChangeLog INSTALL LICENSE NEWS README TODO doc/[Icehs]*
435 %attr(700,news,news) %dir /home/services/news
436
437 # DB
438 %attr(770,root,news) %dir /var/lib/news
439 %attr(770,root,news) %dir /var/lib/news/backoff
440 %attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/active
441 %attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/distributions
442 %attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/newsgroups
443 %attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/active.times
444 %attr(664,news,news) %ghost /var/lib/news/.news.daily
445 %attr(664,news,news) %ghost /var/lib/news/history
446
447 # LOGS
448 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/inn
449 %attr(770,root,news) %dir /var/log/news
450 %attr(770,root,news) %dir /var/log/archiv/news
451 %attr(770,news,news) %dir /var/run/news
452 %attr(664,news,news) %ghost /var/log/news/news.notice
453 %attr(660,news,news) %ghost /var/log/news/news.crit
454 %attr(660,news,news) %ghost /var/log/news/news.err
455
456 # SPOOL
457 %attr(771,root,news) %dir /var/spool/news
458 %attr(770,root,news) %dir /var/spool/news/archive
459 %attr(770,root,news) %dir /var/spool/news/articles
460 %attr(770,root,news) %dir /var/spool/news/cycbuffs
461 %attr(770,root,news) %dir /var/spool/news/incoming
462 %attr(770,root,news) %dir /var/spool/news/incoming/bad
463 %attr(770,root,news) %dir /var/spool/news/incoming/tmp
464 %attr(770,root,news) %dir /var/spool/news/innfeed
465 %attr(770,root,news) %dir /var/spool/news/outgoing
466 %attr(770,root,news) %dir /var/spool/news/overview
467 %attr(770,root,news) %dir /var/spool/news/uniover
468
469 # CRON PARTS
470 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/inn
471
472 # RC-SCRIPT
473 %attr(754,root,root) /etc/rc.d/init.d/inn
474
475 # CONFIGS (INN is a one big config ;-)
476 %attr(755,root,news) %dir %{_sysconfdir}
477 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/actsync.cfg
478 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/actsync.ign
479 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/buffindexed.conf
480 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/control.ctl
481 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cycbuff.conf
482 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/distrib.pats
483 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/expire.ctl
484 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/incoming.conf
485 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/inn.conf
486 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innfeed.conf
487 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innreport.conf
488 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innwatch.ctl
489 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/moderators
490 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/motd.news
491 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/news2mail.cf
492 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/newsfeeds
493 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nnrpd.track
494 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nntpsend.ctl
495 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ovdb.conf
496 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/overview.fmt
497 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/passwd.nntp
498 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/radius.conf
499 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/readers.conf
500 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl.conf
501 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/storage.conf
502 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/subscriptions
503
504 %attr(755,root,news) %dir %{_datadir}/news
505 %attr(755,root,root) %dir %{_datadir}/news/control
506 %attr(755,root,root) %dir %{_datadir}/news/filter
507
508 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innreport_inn.pm
509 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars
510 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars.pl
511 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars.tcl
512
513 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/INN.py
514 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/filter_nnrpd.pl
515 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/filter.tcl
516 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_auth.pl
517 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_auth.py
518 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/startup_innd.pl
519 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/startup.tcl
520
521 %attr(755,root,root) %{_datadir}/news/control/checkgroups.pl
522 %attr(755,root,root) %{_datadir}/news/control/ihave.pl
523 %attr(755,root,root) %{_datadir}/news/control/newgroup.pl
524 %attr(755,root,root) %{_datadir}/news/control/rmgroup.pl
525 %attr(755,root,root) %{_datadir}/news/control/sendme.pl
526 %attr(755,root,root) %{_datadir}/news/control/sendsys.pl
527 %attr(755,root,root) %{_datadir}/news/control/senduuname.pl
528 %attr(755,root,root) %{_datadir}/news/control/version.pl
529
530 %attr(755,root,news) %dir %{_libdir}/news
531 %attr(755,root,root) %dir %{_libdir}/news/auth
532 %attr(755,root,root) %dir %{_libdir}/news/auth/generic
533 %attr(755,root,root) %dir %{_libdir}/news/auth/passwd
534 %attr(755,root,root) %dir %{_libdir}/news/auth/resolv
535 %attr(755,root,root) %dir %{_libdir}/news/rnews
536
537 %attr(755,root,root) %{_libdir}/news/auth/passwd/*
538 %attr(755,root,root) %{_libdir}/news/auth/resolv/*
539 %attr(755,root,root) %{_libdir}/news/rnews/*
540
541 # SUID
542 %attr(4754,root,news) %{_bindir}/inndstart
543 %attr(4754,root,news) %{_bindir}/startinnfeed
544 %attr(4754,root,news) %{_bindir}/rnews
545
546 # BINARIES
547 %attr(755,root,root) %{_bindir}/actmerge
548 %attr(755,root,root) %{_bindir}/actsync
549 %attr(755,root,root) %{_bindir}/actsyncd
550 %attr(755,root,root) %{_bindir}/archive
551 %attr(755,root,root) %{_bindir}/batcher
552 %attr(755,root,root) %{_bindir}/buffchan
553 %attr(755,root,root) %{_bindir}/cnfsheadconf
554 %attr(755,root,root) %{_bindir}/cnfsstat
555 %attr(755,root,root) %{_bindir}/cnfsstat.cron
556 %attr(755,root,root) %{_bindir}/controlbatch
557 %attr(755,root,root) %{_bindir}/controlchan
558 %attr(755,root,root) %{_bindir}/convdate
559 %attr(755,root,root) %{_bindir}/ctlinnd
560 %attr(755,root,root) %{_bindir}/cvtbatch
561 %attr(755,root,root) %{_bindir}/docheckgroups
562 %attr(755,root,root) %{_bindir}/expire
563 %attr(755,root,root) %{_bindir}/expireover
564 %attr(755,root,root) %{_bindir}/expirerm
565 %attr(755,root,root) %{_bindir}/fastrm
566 %attr(755,root,root) %{_bindir}/filechan
567 %attr(755,root,root) %{_bindir}/getlist
568 %attr(755,root,root) %{_bindir}/gpgverify
569 %attr(755,root,root) %{_bindir}/grephistory
570 %attr(755,root,root) %{_bindir}/imapfeed
571 %attr(755,root,root) %{_bindir}/inncheck
572 %attr(755,root,root) %{_bindir}/innconfval
573 %attr(755,root,root) %{_bindir}/innd
574 %attr(755,root,root) %{_bindir}/inndf
575 %attr(755,root,root) %{_bindir}/innfeed
576 %attr(755,root,root) %{_bindir}/innmail
577 %attr(755,root,root) %{_bindir}/innreport
578 %attr(755,root,root) %{_bindir}/innstat
579 %attr(755,root,root) %{_bindir}/innupgrade
580 %attr(755,root,root) %{_bindir}/innwatch
581 %attr(755,root,root) %{_bindir}/innxbatch
582 %attr(755,root,root) %{_bindir}/innxmit
583 %attr(755,root,root) %{_bindir}/mailpost
584 %attr(755,root,root) %{_bindir}/makedbz
585 %attr(755,root,root) %{_bindir}/makehistory
586 %attr(755,root,root) %{_bindir}/mod-active
587 %attr(755,root,root) %{_bindir}/news.daily
588 %attr(755,root,root) %{_bindir}/news2mail
589 %attr(755,root,root) %{_bindir}/ninpaths
590 %attr(755,root,root) %{_bindir}/nnrpd
591 %attr(755,root,root) %{_bindir}/nntpget
592 %attr(755,root,root) %{_bindir}/nntpsend
593 %attr(755,root,root) %{_bindir}/ovdb_*
594 %attr(755,root,root) %{_bindir}/overchan
595 %attr(755,root,root) %{_bindir}/perl-nocem
596 %attr(755,root,root) %{_bindir}/pgpverify
597 %attr(755,root,root) %{_bindir}/procbatch
598 %attr(755,root,root) %{_bindir}/prunehistory
599 %attr(755,root,root) %{_bindir}/pullnews
600 %attr(755,root,root) %{_bindir}/scanlogs
601 %attr(755,root,root) %{_bindir}/scanspool
602 %attr(755,root,root) %{_bindir}/send-ihave
603 %attr(755,root,root) %{_bindir}/send-nntp
604 %attr(755,root,root) %{_bindir}/send-uucp
605 %attr(755,root,root) %{_bindir}/sendinpaths
606 %attr(755,root,root) %{_bindir}/sendxbatches
607 %attr(755,root,root) %{_bindir}/shlock
608 %attr(755,root,root) %{_bindir}/shrinkfile
609 %attr(755,root,root) %{_bindir}/signcontrol
610 %attr(755,root,root) %{_bindir}/simpleftp
611 %attr(755,root,root) %{_bindir}/sm
612 %attr(755,root,root) %{_bindir}/tally.control
613 %attr(755,root,root) %{_bindir}/tdx-util
614 %attr(755,root,root) %{_bindir}/writelog
615
616 # MAN
617 %{_mandir}/man1/convdate.1*
618 %{_mandir}/man1/fastrm.1*
619 %{_mandir}/man1/getlist.1*
620 %{_mandir}/man1/grephistory.1*
621 %{_mandir}/man1/innconfval.1*
622 %{_mandir}/man1/innfeed.1*
623 %{_mandir}/man1/innmail.1*
624 %{_mandir}/man1/nntpget.1*
625 %{_mandir}/man1/pgpverify.1*
626 %{_mandir}/man1/rnews.1*
627 %{_mandir}/man1/shlock.1*
628 %{_mandir}/man1/shrinkfile.1*
629 %{_mandir}/man1/simpleftp.1*
630 %{_mandir}/man1/sm.1*
631 %{_mandir}/man1/startinnfeed.1*
632 %{_mandir}/man[58]/*
633 %lang(pl) %{_mandir}/pl/man1/getlist.1*
634 %lang(pl) %{_mandir}/pl/man8/innd.8*
635
636 %files libs
637 %defattr(644,root,root,755)
638 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
639
640 %files devel
641 %defattr(644,root,root,755)
642 %{_includedir}
643 %{_libdir}/lib*.la
644 %{_libdir}/lib*.so
645 %{_mandir}/man3/*
646
647 %files static
648 %defattr(644,root,root,755)
649 %{_libdir}/lib*.a
650
651 %files -n inews
652 %defattr(644,root,root,755)
653 %attr(755,root,news) %{_bindir}/inews
654 %{_mandir}/man1/inews.1*
This page took 0.068011 seconds and 4 git commands to generate.