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