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