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