]> git.pld-linux.org Git - packages/inn.git/blob - inn.spec
- BR: rpm-perlprov
[packages/inn.git] / inn.spec
1 #
2 # Conditional build:
3 %bcond_with     largefiles      # enable largefiles (disables tagged hash)
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        INN, the InterNet News System (news server)
7 Summary(de.UTF-8):      das InterNet News System (News-Server)
8 Summary(es.UTF-8):      INN, InterNet News System (servidor news)
9 Summary(fr.UTF-8):      INN, le système InterNet News (serveur de news)
10 Summary(pl.UTF-8):      INN, serwer nowinek
11 Summary(pt_BR.UTF-8):   INN, InterNet News System (servidor news)
12 Summary(tr.UTF-8):      INN, InterNet Haber Sistemi (haber sunucu)
13 Name:           inn
14 Version:        2.4.6
15 Release:        5
16 License:        distributable
17 Group:          Networking/Daemons
18 Source0:        ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz
19 # Source0-md5:  50741ff1b9c230af9109aafc7e98b1a2
20 Source1:        %{name}-default-active
21 Source2:        %{name}-default-distributions
22 Source3:        %{name}-default-newsgroups
23 Source4:        %{name}.crontab
24 Source5:        %{name}.init
25 Source6:        %{name}-cnfsstat.cron
26 Source7:        %{name}.logrotate
27 Source8:        getlist.1.pl
28 Source9:        %{name}d.8.pl
29 Patch0:         %{name}-PLD.patch
30 Patch1:         %{name}-install.patch
31 Patch2:         %{name}-db.patch
32 Patch3:         %{name}-ac25x.patch
33 Patch4:         %{name}-ac253.patch
34 Patch5:         %{name}-setgid.patch
35 Patch6:         %{name}-db4.patch
36 Patch7:         %{name}-config.patch
37 Patch8:         %{name}-libdir.patch
38 Patch9:         %{name}-asneeded.patch
39 Patch10:        %{name}-nnrpd_no_trace.patch
40 URL:            https://www.isc.org/software/inn/
41 BuildRequires:  autoconf
42 BuildRequires:  automake
43 BuildRequires:  bison
44 BuildRequires:  db-devel
45 BuildRequires:  flex
46 BuildRequires:  heimdal-devel
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:  rpm-perlprov
51 BuildRequires:  rpmbuild(macros) >= 1.268
52 Requires(post): /bin/kill
53 Requires(post): /usr/bin/getent
54 Requires(post): /usr/sbin/usermod
55 Requires(post): fileutils
56 Requires(post): sed >= 4.0
57 Requires(post): textutils
58 Requires(post,preun):   /sbin/chkconfig
59 Requires:       %{name}-libs = %{version}-%{release}
60 Requires:       /etc/cron.d
61 Requires:       awk
62 Requires:       cleanfeed >= 0.95.7b-4
63 Requires:       procps
64 Requires:       psmisc >= 20.1
65 Requires:       rc-scripts >= 0.4.1.23
66 Requires:       textutils
67 Requires:       util-linux
68 Provides:       nntpserver
69 Obsoletes:      leafnode
70 Obsoletes:      leafnode+
71 Conflicts:      logrotate < 3.7-4
72 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
73
74 %define         _sysconfdir     /etc/news
75 %define         _includedir     %{_prefix}/include/inn
76
77 # /usr/bin/pullnews doesn't provide perl(Net::NNTP) - perl-libnet does.
78 %define         _noautoprov     'perl(Net::NNTP)'
79 # it's necessary only for sample nnrpd_auth.pl hook
80 %define         _noautoreq      'perl(CDB_File)'
81
82 %description
83 INN is a news server, which can be set up to handle USENET news, as
84 well as private "newsfeeds". There is a *LOT* of information about
85 setting up INN in %{_docdir}/%{name}-%{version} -- read it.
86
87 If you want innreport to generate graphs you need perl-GD package.
88
89 %description -l es.UTF-8
90 INN es un servidor de news, que puede ser configurado para manipular
91 USENET news bien como newsfeeds privadas. Existe un *Montón* de
92 información sobre la configuración del INN en
93 %{_docdir}/%{name}-%{version} -- léela.
94
95 %description -l pl.UTF-8
96 INN jest serwerem news, który można skonfigurować do obsługi USENET-u,
97 jak również do obsługi ,,prywatnych'' grup w sieciach intranetowych.
98 Całe mnóstwo pożytecznych informacji o konfigurowaniu INN-a znajdziesz
99 w katalogu %{_docdir}/%{name}-%{version}.
100
101 Jeśli chcesz żeby innreport generował wykresy musisz zainstalować
102 pakiet perl-GD.
103
104 %description -l pt_BR.UTF-8
105 INN é um servidor de news, que pode ser configurado para manipular
106 USENET news bem como newsfeeds privadas. Existe um *MONTE* de
107 informações sobre a configuração do INN em
108 %{_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 %patch10 -p1
263
264 touch innfeed/*.[ly]
265
266 %build
267 %{__libtoolize}
268 cp -f /usr/share/automake/config.* support
269 %{__aclocal}
270 %{__autoconf}
271 %{__autoheader} -I include
272 %configure \
273         CPPFLAGS="-D_GNU_SOURCE" \
274         --with-news-user=news \
275         --with-news-group=news \
276         --with-news-master=news \
277         --with-control-dir=%{_datadir}/news/control \
278         --with-db-dir=/var/lib/news \
279         --with-etc-dir=%{_sysconfdir} \
280         --with-filter-dir=%{_datadir}/news/filter \
281         --with-log-dir=/var/log/news \
282         --with-run-dir=/var/run/news \
283         --with-spool-dir=/var/spool/news \
284         --with-lib-dir=%{_datadir}/news \
285         --with-tmp-dir=/var/spool/news/incoming/tmp \
286         --with-perl \
287         --with-sendmail=/usr/lib/sendmail \
288         --with-openssl=%{_prefix} \
289         --with-berkeleydb=%{_prefix} \
290         %{?with_largefiles:--enable-largefiles} \
291         %{!?with_largefiles:--enable-tagged-hash} \
292         --enable-shared \
293         --enable-static \
294         --enable-libtool \
295         --enable-ipv6
296
297 %{__make} all \
298         PATHFILTER=%{_datadir}/news/filter \
299         PATHCONTROL=%{_datadir}/news/control
300
301 %install
302 rm -rf $RPM_BUILD_ROOT
303 install -d $RPM_BUILD_ROOT/etc/{news/pgp,rc.d/init.d,cron.d,logrotate.d} \
304         $RPM_BUILD_ROOT{%{_libdir}/news/{rnews,auth/generic},%{_includedir}} \
305         $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/news/{control,filter,auth}} \
306         $RPM_BUILD_ROOT%{_mandir}/{man{1,3,5,8},pl/man{1,8}} \
307         $RPM_BUILD_ROOT/var/{run/news,lib/news/backoff,log/{news,archive/news}} \
308         $RPM_BUILD_ROOT/var/spool/news/{articles,overview,incoming/{tmp,bad},outgoing,archive,uniover,innfeed,cycbuffs} \
309         $RPM_BUILD_ROOT/home/services/news
310
311 %{__make} install \
312         DESTDIR=$RPM_BUILD_ROOT \
313         PATHFILTER=%{_datadir}/news/filter \
314         PATHCONTROL=%{_datadir}/news/control \
315         PATHRNEWS=%{_libdir}/news/rnews \
316         PATHAUTHPASSWD=%{_libdir}/news/auth/passwd \
317         PATHAUTHRESOLV=%{_libdir}/news/auth/resolv
318
319 install samples/readers.conf $RPM_BUILD_ROOT%{_sysconfdir}/readers.conf
320
321 install %{SOURCE1} $RPM_BUILD_ROOT/var/lib/news/active
322 install %{SOURCE2} $RPM_BUILD_ROOT/var/lib/news/distributions
323 install %{SOURCE3} $RPM_BUILD_ROOT/var/lib/news/newsgroups
324 install %{SOURCE4} $RPM_BUILD_ROOT/etc/cron.d/inn
325 install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/inn
326 install %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/cnfsstat.cron
327 install %{SOURCE7} $RPM_BUILD_ROOT/etc/logrotate.d/inn
328 install %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/pl/man1/getlist.1
329 install %{SOURCE9} $RPM_BUILD_ROOT%{_mandir}/pl/man8/innd.8
330
331 rm -f $RPM_BUILD_ROOT/var/lib/news/history
332
333 umask 002
334 :> $RPM_BUILD_ROOT%{_sysconfdir}/subscriptions
335 touch $RPM_BUILD_ROOT/var/lib/news/.news.daily
336 touch $RPM_BUILD_ROOT/var/lib/news/active.times
337 touch $RPM_BUILD_ROOT/var/lib/news/history
338
339 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/makehistory \
340         -a $RPM_BUILD_ROOT/var/lib/news/active \
341         -i -r -f $RPM_BUILD_ROOT/var/lib/news/history || :
342
343 # Fix perms in sample directory to avoid bogus dependencies
344 find samples -name "*.in" -exec chmod a-x {} \;
345
346 # remove files in conflict with cleanfeed
347 rm -f $RPM_BUILD_ROOT%{_datadir}/news/filter/filter_innd.*
348
349 # remove unpackaged files
350 rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
351 rm -f $RPM_BUILD_ROOT%{_bindir}/rc.news
352
353 %clean
354 rm -rf $RPM_BUILD_ROOT
355
356 %post
357 if [ "`getent passwd news | cut -d: -f6`" = "/var/spool/news" ]; then
358         /usr/sbin/usermod -d /home/services/news news
359 fi
360
361 umask 022
362
363 %{_bindir}/innupgrade %{_sysconfdir}
364
365 cd /var/lib/news
366 if [ ! -f /var/lib/news/history ]; then
367         # makehistory fails on uninitialized spool(?) - create empty history in such case
368         %{_bindir}/makehistory || { echo "Creating empty history"; :> history; }
369         chown news:news history
370         chmod 664 history
371         %{_bindir}/makedbz -s `wc -l < history` -f history
372         for i in dir hash index pag; do
373                 [ -f history.n.$i ] && mv history.n.$i history.$i
374         done
375         chown news:news history.*
376         chmod 644 history.*
377 fi
378
379 if [ ! -f /var/lib/news/.news.daily ]; then
380         :> /var/lib/news/.news.daily
381         chown news:news /var/lib/news/.news.daily
382         chmod 664 /var/lib/news/.news.daily
383 fi
384
385 /sbin/chkconfig --add inn
386 %service inn restart "inn news server"
387
388 %preun
389 if [ "$1" = "0" ]; then
390         %service inn stop
391         /sbin/chkconfig --del inn
392 fi
393
394 %triggerpostun -- inn < 2.4.0
395 cp -af %{_sysconfdir}/inn.conf{,.rpmorig}
396 sed -e 's/^\(listenonipv6\)/#\1/;s/^bindipv6address/bindaddress6/;s/^sourceipv6address/sourceaddress6/' \
397         %{_sysconfdir}/inn.conf.rpmorig > %{_sysconfdir}/inn.conf
398
399 %post   libs -p /sbin/ldconfig
400 %postun libs -p /sbin/ldconfig
401
402 %files
403 %defattr(644,root,root,755)
404 %doc CONTRIBUTORS ChangeLog INSTALL LICENSE NEWS README TODO doc/[Icehs]*
405 %attr(700,news,news) %dir /home/services/news
406
407 # DB
408 %attr(770,root,news) %dir /var/lib/news
409 %attr(770,root,news) %dir /var/lib/news/backoff
410 %attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/active
411 %attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/active.times
412 %attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/distributions
413 %attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/newsgroups
414 %attr(664,news,news) %ghost /var/lib/news/.news.daily
415 %attr(664,news,news) %ghost /var/lib/news/history
416
417 # LOGS
418 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/inn
419 %attr(770,news,news) %dir /var/run/news
420
421 # SPOOL
422 %attr(771,root,news) %dir /var/spool/news
423 %attr(770,root,news) %dir /var/spool/news/archive
424 %attr(770,root,news) %dir /var/spool/news/articles
425 %attr(770,root,news) %dir /var/spool/news/cycbuffs
426 %attr(770,root,news) %dir /var/spool/news/incoming
427 %attr(770,root,news) %dir /var/spool/news/incoming/bad
428 %attr(770,root,news) %dir /var/spool/news/incoming/tmp
429 %attr(770,root,news) %dir /var/spool/news/innfeed
430 %attr(770,root,news) %dir /var/spool/news/outgoing
431 %attr(770,root,news) %dir /var/spool/news/overview
432 %attr(770,root,news) %dir /var/spool/news/uniover
433
434 # CRON PARTS
435 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/inn
436
437 # RC-SCRIPT
438 %attr(754,root,root) /etc/rc.d/init.d/inn
439
440 # CONFIGS (INN is a one big config ;-)
441 %attr(755,root,news) %dir %{_sysconfdir}
442 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/actsync.cfg
443 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/actsync.ign
444 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/buffindexed.conf
445 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/control.ctl
446 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cycbuff.conf
447 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/distrib.pats
448 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/expire.ctl
449 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/incoming.conf
450 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/inn.conf
451 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innfeed.conf
452 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innreport.conf
453 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innwatch.ctl
454 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/moderators
455 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/motd.news
456 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/news2mail.cf
457 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/newsfeeds
458 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nnrpd.track
459 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nntpsend.ctl
460 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ovdb.conf
461 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/overview.fmt
462 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/passwd.nntp
463 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/radius.conf
464 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/readers.conf
465 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl.conf
466 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/storage.conf
467 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/subscriptions
468 %attr(755,root,news) %dir %{_sysconfdir}/pgp
469
470 %attr(755,root,news) %dir %{_datadir}/news
471 %dir %{_datadir}/news/control
472 %dir %{_datadir}/news/filter
473
474 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innreport_inn.pm
475 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars
476 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars.pl
477 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars.tcl
478
479 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/INN.py
480 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/filter_nnrpd.pl
481 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/filter.tcl
482 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_auth.pl
483 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_auth.py
484 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/startup_innd.pl
485 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/startup.tcl
486
487 %attr(755,root,root) %{_datadir}/news/control/checkgroups.pl
488 %attr(755,root,root) %{_datadir}/news/control/ihave.pl
489 %attr(755,root,root) %{_datadir}/news/control/newgroup.pl
490 %attr(755,root,root) %{_datadir}/news/control/rmgroup.pl
491 %attr(755,root,root) %{_datadir}/news/control/sendme.pl
492 %attr(755,root,root) %{_datadir}/news/control/sendsys.pl
493 %attr(755,root,root) %{_datadir}/news/control/senduuname.pl
494 %attr(755,root,root) %{_datadir}/news/control/version.pl
495
496 %attr(755,root,news) %dir %{_libdir}/news
497 %dir %{_libdir}/news/auth
498 %dir %{_libdir}/news/auth/generic
499 %dir %{_libdir}/news/auth/passwd
500 %dir %{_libdir}/news/auth/resolv
501 %dir %{_libdir}/news/rnews
502
503 %attr(755,root,root) %{_libdir}/news/auth/passwd/*
504 %attr(755,root,root) %{_libdir}/news/auth/resolv/*
505 %attr(755,root,root) %{_libdir}/news/rnews/*
506
507 # SUID
508 %attr(4754,root,news) %{_bindir}/inndstart
509 %attr(4754,root,news) %{_bindir}/startinnfeed
510 %attr(4754,root,news) %{_bindir}/rnews
511
512 # BINARIES
513 %attr(755,root,root) %{_bindir}/actmerge
514 %attr(755,root,root) %{_bindir}/actsync
515 %attr(755,root,root) %{_bindir}/actsyncd
516 %attr(755,root,root) %{_bindir}/archive
517 %attr(755,root,root) %{_bindir}/batcher
518 %attr(755,root,root) %{_bindir}/buffchan
519 %attr(755,root,root) %{_bindir}/cnfsheadconf
520 %attr(755,root,root) %{_bindir}/cnfsstat
521 %attr(755,root,root) %{_bindir}/cnfsstat.cron
522 %attr(755,root,root) %{_bindir}/controlbatch
523 %attr(755,root,root) %{_bindir}/controlchan
524 %attr(755,root,root) %{_bindir}/convdate
525 %attr(755,root,root) %{_bindir}/ctlinnd
526 %attr(755,root,root) %{_bindir}/cvtbatch
527 %attr(755,root,root) %{_bindir}/docheckgroups
528 %attr(755,root,root) %{_bindir}/expire
529 %attr(755,root,root) %{_bindir}/expireover
530 %attr(755,root,root) %{_bindir}/expirerm
531 %attr(755,root,root) %{_bindir}/fastrm
532 %attr(755,root,root) %{_bindir}/filechan
533 %attr(755,root,root) %{_bindir}/getlist
534 %attr(755,root,root) %{_bindir}/gpgverify
535 %attr(755,root,root) %{_bindir}/grephistory
536 %attr(755,root,root) %{_bindir}/imapfeed
537 %attr(755,root,root) %{_bindir}/inncheck
538 %attr(755,root,root) %{_bindir}/innconfval
539 %attr(755,root,root) %{_bindir}/innd
540 %attr(755,root,root) %{_bindir}/inndf
541 %attr(755,root,root) %{_bindir}/innfeed
542 %attr(755,root,root) %{_bindir}/innmail
543 %attr(755,root,root) %{_bindir}/innreport
544 %attr(755,root,root) %{_bindir}/innstat
545 %attr(755,root,root) %{_bindir}/innupgrade
546 %attr(755,root,root) %{_bindir}/innwatch
547 %attr(755,root,root) %{_bindir}/innxbatch
548 %attr(755,root,root) %{_bindir}/innxmit
549 %attr(755,root,root) %{_bindir}/mailpost
550 %attr(755,root,root) %{_bindir}/makedbz
551 %attr(755,root,root) %{_bindir}/makehistory
552 %attr(755,root,root) %{_bindir}/mod-active
553 %attr(755,root,root) %{_bindir}/news.daily
554 %attr(755,root,root) %{_bindir}/news2mail
555 %attr(755,root,root) %{_bindir}/ninpaths
556 %attr(755,root,root) %{_bindir}/nnrpd
557 %attr(755,root,root) %{_bindir}/nntpget
558 %attr(755,root,root) %{_bindir}/nntpsend
559 %attr(755,root,root) %{_bindir}/ovdb_*
560 %attr(755,root,root) %{_bindir}/overchan
561 %attr(755,root,root) %{__perl}-nocem
562 %attr(755,root,root) %{_bindir}/pgpverify
563 %attr(755,root,root) %{_bindir}/procbatch
564 %attr(755,root,root) %{_bindir}/prunehistory
565 %attr(755,root,root) %{_bindir}/pullnews
566 %attr(755,root,root) %{_bindir}/scanlogs
567 %attr(755,root,root) %{_bindir}/scanspool
568 %attr(755,root,root) %{_bindir}/send-ihave
569 %attr(755,root,root) %{_bindir}/send-nntp
570 %attr(755,root,root) %{_bindir}/send-uucp
571 %attr(755,root,root) %{_bindir}/sendinpaths
572 %attr(755,root,root) %{_bindir}/sendxbatches
573 %attr(755,root,root) %{_bindir}/shlock
574 %attr(755,root,root) %{_bindir}/shrinkfile
575 %attr(755,root,root) %{_bindir}/signcontrol
576 %attr(755,root,root) %{_bindir}/simpleftp
577 %attr(755,root,root) %{_bindir}/sm
578 %attr(755,root,root) %{_bindir}/tally.control
579 %attr(755,root,root) %{_bindir}/tdx-util
580 %attr(755,root,root) %{_bindir}/writelog
581
582 # MAN
583 %{_mandir}/man1/convdate.1*
584 %{_mandir}/man1/fastrm.1*
585 %{_mandir}/man1/getlist.1*
586 %{_mandir}/man1/grephistory.1*
587 %{_mandir}/man1/innconfval.1*
588 %{_mandir}/man1/innfeed.1*
589 %{_mandir}/man1/innmail.1*
590 %{_mandir}/man1/nntpget.1*
591 %{_mandir}/man1/pgpverify.1*
592 %{_mandir}/man1/pullnews.1*
593 %{_mandir}/man1/rnews.1*
594 %{_mandir}/man1/shlock.1*
595 %{_mandir}/man1/shrinkfile.1*
596 %{_mandir}/man1/simpleftp.1*
597 %{_mandir}/man1/sm.1*
598 %{_mandir}/man1/startinnfeed.1*
599 %{_mandir}/man[58]/*
600 %lang(pl) %{_mandir}/pl/man1/getlist.1*
601 %lang(pl) %{_mandir}/pl/man8/innd.8*
602
603 %files libs
604 %defattr(644,root,root,755)
605 %attr(755,root,root) %{_libdir}/libinn.so.*.*.*
606 %attr(755,root,root) %ghost %{_libdir}/libinn.so.2
607 %attr(755,root,root) %{_libdir}/libinnhist.so.*.*.*
608 %attr(755,root,root) %ghost %{_libdir}/libinnhist.so.2
609 %attr(755,root,root) %{_libdir}/libstorage.so.*.*.*
610 %attr(755,root,root) %ghost %{_libdir}/libstorage.so.2
611
612 %files devel
613 %defattr(644,root,root,755)
614 %attr(755,root,root) %{_libdir}/libinn.so
615 %attr(755,root,root) %{_libdir}/libinnhist.so
616 %attr(755,root,root) %{_libdir}/libstorage.so
617 %{_libdir}/libinn.la
618 %{_libdir}/libinnhist.la
619 %{_libdir}/libstorage.la
620 %{_includedir}
621 %{_mandir}/man3/*
622
623 %files static
624 %defattr(644,root,root,755)
625 %{_libdir}/libinn.a
626 %{_libdir}/libinnhist.a
627 %{_libdir}/libstorage.a
628
629 %files -n inews
630 %defattr(644,root,root,755)
631 %attr(755,root,news) %{_bindir}/inews
632 %{_mandir}/man1/inews.1*
This page took 0.109139 seconds and 4 git commands to generate.