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