]>
Commit | Line | Data |
---|---|---|
8256dc31 | 1 | # |
9e1f55ef | 2 | # Conditional build: |
6113bcd6 | 3 | %bcond_with lfs # enable largefiles (disables tagged hash) |
4edb2079 | 4 | %bcond_without python # embedded Python module support |
8256dc31 | 5 | %bcond_with python3 # Python 3.x instead of 2.x |
d7f79e4a | 6 | |
62d4f04e | 7 | Summary: INN, the InterNet News System (news server) |
900e3991 ER |
8 | Summary(de.UTF-8): das InterNet News System (News-Server) |
9 | Summary(es.UTF-8): INN, InterNet News System (servidor news) | |
10 | Summary(fr.UTF-8): INN, le système InterNet News (serveur de news) | |
11 | Summary(pl.UTF-8): INN, serwer nowinek | |
12 | Summary(pt_BR.UTF-8): INN, InterNet News System (servidor news) | |
13 | Summary(tr.UTF-8): INN, InterNet Haber Sistemi (haber sunucu) | |
e762d39b | 14 | Name: inn |
8256dc31 | 15 | Version: 2.6.3 |
327bb698 | 16 | Release: 5 |
2f46b8d0 | 17 | License: distributable |
62d4f04e | 18 | Group: Networking/Daemons |
e2024cb9 | 19 | Source0: ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz |
8256dc31 | 20 | # Source0-md5: cbbebf4c984cd54871b25f6c649d6ad2 |
bac70e06 | 21 | Source1: %{name}-default-active |
22 | Source2: %{name}-default-distributions | |
23 | Source3: %{name}-default-newsgroups | |
d62f835a AA |
24 | Source4: %{name}.crontab |
25 | Source5: %{name}.init | |
26 | Source6: %{name}-cnfsstat.cron | |
27 | Source7: %{name}.logrotate | |
28 | Source8: getlist.1.pl | |
29 | Source9: %{name}d.8.pl | |
3acdca37 | 30 | Source10: %{name}.tmpfiles |
45c9b47c JB |
31 | Patch0: %{name}-PLD.patch |
32 | Patch1: %{name}-install.patch | |
327bb698 | 33 | Patch2: %{name}-no-common.patch |
6a4c3728 JB |
34 | Patch3: %{name}-setgid.patch |
35 | Patch4: %{name}-config.patch | |
36 | Patch5: %{name}-asneeded.patch | |
37 | Patch6: %{name}-nnrpd_no_trace.patch | |
00fbffab | 38 | Patch8: %{name}-libdir.patch |
5a4b775e | 39 | URL: https://www.isc.org/software/inn/ |
6113bcd6 | 40 | BuildRequires: autoconf >= 2.64 |
1f19b0ad | 41 | BuildRequires: automake |
5ea55358 | 42 | BuildRequires: bison |
4edb2079 | 43 | BuildRequires: cyrus-sasl-devel >= 2 |
6a4c3728 | 44 | BuildRequires: db-devel >= 4.4 |
db3cdf8e | 45 | BuildRequires: flex >= 2.5.37 |
988e20fb | 46 | BuildRequires: heimdal-devel |
6a4c3728 | 47 | BuildRequires: libtool >= 2:2 |
5c9fcecc | 48 | BuildRequires: openssl-devel >= 0.9.7d |
567aad03 | 49 | BuildRequires: perl-devel >= 1:5.8.0 |
8256dc31 JB |
50 | %if %{with python} |
51 | %{!?with_python3:BuildRequires: python-devel >= 1:2.3} | |
52 | %{?with_python3:BuildRequires: python3-devel >= 1:3.3} | |
53 | %endif | |
47956f80 | 54 | BuildRequires: rpm-perlprov |
6a4c3728 | 55 | BuildRequires: rpmbuild(macros) >= 1.663 |
4edb2079 | 56 | BuildRequires: zlib-devel |
cba9f618 | 57 | Requires(post): /bin/kill |
2217a330 | 58 | Requires(post): /usr/bin/getent |
ed7425b9 | 59 | Requires(post): /usr/sbin/usermod |
cba9f618 | 60 | Requires(post): fileutils |
ed7425b9 | 61 | Requires(post): sed >= 4.0 |
2217a330 | 62 | Requires(post): textutils |
ed7425b9 ER |
63 | Requires(post,preun): /sbin/chkconfig |
64 | Requires: %{name}-libs = %{version}-%{release} | |
032bb863 | 65 | Requires: awk |
66 | Requires: cleanfeed >= 0.95.7b-4 | |
d7f79e4a | 67 | Requires: crondaemon |
e394e0ff | 68 | Requires: procps |
032bb863 | 69 | Requires: psmisc >= 20.1 |
45c23cff | 70 | Requires: rc-scripts >= 0.4.1.23 |
e394e0ff | 71 | Requires: textutils |
032bb863 | 72 | Requires: util-linux |
721f9889 | 73 | Suggests: perl-GD |
72d625a1 | 74 | Provides: nntpserver |
8d78fca9 JB |
75 | Obsoletes: leafnode |
76 | Obsoletes: leafnode+ | |
9f0e9d44 | 77 | Conflicts: logrotate < 3.7-4 |
6d6d162e | 78 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
62d4f04e | 79 | |
8a30a1a2 | 80 | %define _sysconfdir /etc/news |
81 | ||
6a4c3728 | 82 | %define skip_post_check_so libstorage.so.* |
491e5253 | 83 | # /usr/bin/pullnews doesn't provide perl(Net::NNTP) - perl-libnet does. |
6a4c3728 | 84 | %define _noautoprov_perl Net::NNTP |
491e5253 | 85 | # it's necessary only for sample nnrpd_auth.pl hook |
6a4c3728 | 86 | %define _noautoreq_perl CDB_File |
491e5253 | 87 | |
62d4f04e | 88 | %description |
e762d39b | 89 | INN is a news server, which can be set up to handle USENET news, as |
90 | well as private "newsfeeds". There is a *LOT* of information about | |
5c8ecc5f | 91 | setting up INN in %{_docdir}/%{name}-%{version} -- read it. |
62d4f04e | 92 | |
689f93fc JR |
93 | If you want innreport to generate graphs you need perl-GD package. |
94 | ||
766f00fd | 95 | %description -l es.UTF-8 |
b3dfec9f | 96 | INN es un servidor de news, que puede ser configurado para manipular |
766f00fd | 97 | USENET news bien como newsfeeds privadas. Existe un *Montón* de |
47956f80 | 98 | información sobre la configuración del INN en |
99 | %{_docdir}/%{name}-%{version} -- léela. | |
b3dfec9f | 100 | |
766f00fd JR |
101 | %description -l pl.UTF-8 |
102 | INN jest serwerem news, który można skonfigurować do obsługi USENET-u, | |
103 | jak również do obsługi ,,prywatnych'' grup w sieciach intranetowych. | |
104 | Całe mnóstwo pożytecznych informacji o konfigurowaniu INN-a znajdziesz | |
5c8ecc5f | 105 | w katalogu %{_docdir}/%{name}-%{version}. |
62d4f04e | 106 | |
6a4c3728 | 107 | Aby innreport generował wykresy, trzeba zainstalować pakiet perl-GD. |
689f93fc | 108 | |
766f00fd JR |
109 | %description -l pt_BR.UTF-8 |
110 | INN é um servidor de news, que pode ser configurado para manipular | |
b3dfec9f | 111 | USENET news bem como newsfeeds privadas. Existe um *MONTE* de |
47956f80 | 112 | informações sobre a configuração do INN em |
113 | %{_docdir}/%{name}-%{version} -- leia. | |
b3dfec9f | 114 | |
b8fd1c81 JR |
115 | %package libs |
116 | Summary: INN libraries | |
900e3991 ER |
117 | Summary(de.UTF-8): INN-Library |
118 | Summary(fr.UTF-8): Bibliothèque INN | |
119 | Summary(pl.UTF-8): Biblioteki do INN-a | |
0d5e12bf | 120 | Group: Libraries |
b8fd1c81 JR |
121 | |
122 | %description libs | |
123 | This library is needed by several programs that interface to INN, such | |
124 | as newsgate or tin. | |
125 | ||
766f00fd JR |
126 | %description libs -l de.UTF-8 |
127 | Diese Library wird von mehreren Programmen benötigt, die mit INN | |
b8fd1c81 JR |
128 | kommunizieren, etwa newsgate oder tin. |
129 | ||
766f00fd JR |
130 | %description libs -l fr.UTF-8 |
131 | Cette bibliothèque est nécessaire à plusieurs programmes qui | |
b8fd1c81 JR |
132 | s'interfacent avec INN, comme newsgate ou tin. |
133 | ||
766f00fd JR |
134 | %description libs -l pl.UTF-8 |
135 | Biblioteka niezbędna do działania kilku programów współpracujących z | |
b8fd1c81 JR |
136 | INN-em, takich jak newsgate czy tin. |
137 | ||
766f00fd JR |
138 | %description libs -l tr.UTF-8 |
139 | INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken | |
140 | bir kitaplıktır. | |
b8fd1c81 | 141 | |
62d4f04e | 142 | %package devel |
8ee5b158 | 143 | Summary: INN header files and development documentations |
900e3991 ER |
144 | Summary(de.UTF-8): INN-Library |
145 | Summary(es.UTF-8): Biblioteca INN | |
146 | Summary(fr.UTF-8): Bibliothèque INN | |
147 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja programisty do inn-a | |
148 | Summary(pt_BR.UTF-8): Biblioteca INN | |
149 | Summary(tr.UTF-8): INN kitaplığı | |
1f021260 | 150 | Group: Development/Libraries |
0b6509ff | 151 | Requires: %{name}-libs = %{version}-%{release} |
70fbead5 | 152 | Requires: db-devel |
f7754046 | 153 | |
62d4f04e | 154 | %description devel |
3630905a | 155 | Header files and developer documentations for INN libraries. |
62d4f04e | 156 | |
766f00fd JR |
157 | %description devel -l de.UTF-8 |
158 | Diese Library wird von mehreren Programmen benötigt, die mit INN | |
62d4f04e | 159 | kommunizieren, etwa newsgate oder tin. |
160 | ||
766f00fd | 161 | %description devel -l es.UTF-8 |
b3dfec9f | 162 | Esta biblioteca es requerida por varios programas que tienen interface |
163 | con INN, como el newsgate o tin. | |
164 | ||
766f00fd JR |
165 | %description devel -l fr.UTF-8 |
166 | Cette bibliothèque est nécessaire à plusieurs programmes qui | |
e762d39b | 167 | s'interfacent avec INN, comme newsgate ou tin. |
62d4f04e | 168 | |
766f00fd JR |
169 | %description devel -l pl.UTF-8 |
170 | Pliki nagłówkowe i dokumentacja programisty do bibliotek INN-a. | |
62d4f04e | 171 | |
766f00fd JR |
172 | %description devel -l pt_BR.UTF-8 |
173 | Esta biblioteca é requerida por vários programas que tem interface com | |
b3dfec9f | 174 | o INN, como o newsgate ou tin. |
175 | ||
766f00fd JR |
176 | %description devel -l tr.UTF-8 |
177 | INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken | |
178 | bir kitaplıktır. | |
62d4f04e | 179 | |
8ee5b158 | 180 | %package static |
181 | Summary: Static INN libraries | |
900e3991 ER |
182 | Summary(es.UTF-8): Static libraries for inn development |
183 | Summary(pl.UTF-8): Biblioteki statyczne do INN | |
184 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com inn | |
8ee5b158 | 185 | Group: Development/Libraries |
0b6509ff | 186 | Requires: %{name}-devel = %{version}-%{release} |
8ee5b158 | 187 | |
188 | %description static | |
189 | Static INN libraries. | |
190 | ||
766f00fd | 191 | %description static -l es.UTF-8 |
b3dfec9f | 192 | Static libraries for inn development |
193 | ||
766f00fd | 194 | %description static -l pl.UTF-8 |
8ee5b158 | 195 | Biblioteki statyczne do INN. |
62d4f04e | 196 | |
766f00fd | 197 | %description static -l pt_BR.UTF-8 |
766f00fd | 198 | Bibliotecas estáticas para desenvolvimento com inn |
b3dfec9f | 199 | |
62d4f04e | 200 | %package -n inews |
1f021260 | 201 | Summary: Inews program (used for posting by inn and trn) |
900e3991 ER |
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ı | |
1f021260 | 208 | Group: Networking/News |
0b6509ff | 209 | Requires: %{name}-libs = %{version}-%{release} |
62d4f04e | 210 | |
211 | %description -n inews | |
e762d39b | 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. | |
62d4f04e | 215 | |
766f00fd | 216 | %description -n inews -l de.UTF-8 |
e762d39b | 217 | Das Programm 'inews' wird von manchen Newsreadern zum Senden von |
766f00fd | 218 | Nachrichten verwendet. Es führt eine Konsistenzprüfung und Header-Neuf |
e762d39b | 219 | ormatierung aus und leitet die Nachricht an den in 'inn.conf' |
220 | angegebenen News-Server weiter. | |
62d4f04e | 221 | |
766f00fd | 222 | %description -n inews -l es.UTF-8 |
b3dfec9f | 223 | El programa inews se usa por algunos lectores de news para postar |
224 | mensajes. Hace alguna consistencia chequeando y reformateando headers, | |
766f00fd | 225 | y enviando el artículo para el servidor de news especificado en el |
b3dfec9f | 226 | inn.conf. |
227 | ||
766f00fd JR |
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 | |
e762d39b | 232 | inn.conf. |
62d4f04e | 233 | |
766f00fd JR |
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. | |
62d4f04e | 238 | |
766f00fd JR |
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 | |
b3dfec9f | 242 | headers, e enviando o artigo para o servidor de news especificado no |
243 | inn.conf. | |
244 | ||
766f00fd JR |
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 | |
e762d39b | 249 | sunucuya makaleyi yollar. |
62d4f04e | 250 | |
251 | %prep | |
1824cb2f | 252 | %setup -q |
22cdc3ec | 253 | %patch0 -p1 |
1824cb2f | 254 | %patch1 -p1 |
327bb698 | 255 | %patch2 -p1 |
a7951795 | 256 | %patch3 -p1 |
c886271f | 257 | %patch4 -p1 |
1a925eab | 258 | %patch5 -p1 |
6a4c3728 | 259 | %patch6 -p1 |
5fe706d7 | 260 | %patch8 -p1 |
ffaa5404 | 261 | |
62d4f04e | 262 | touch innfeed/*.[ly] |
263 | ||
8fa20058 | 264 | %build |
4a2f14c0 | 265 | %{__libtoolize} |
6a4c3728 JB |
266 | # not updated automatically by libtool |
267 | cp -f /usr/share/aclocal/{libtool,lt*}.m4 m4 | |
00fbffab | 268 | cp -f /usr/share/automake/config.* support |
3dc5b213 JB |
269 | %{__aclocal} |
270 | %{__autoconf} | |
713a2e4c | 271 | %{__autoheader} -I include |
8a30a1a2 | 272 | %configure \ |
8256dc31 JB |
273 | CPPFLAGS="%{rpmcppflags} -D_GNU_SOURCE" \ |
274 | %{?with_python3:PYTHON=%{__python3}} \ | |
aeef40a9 JB |
275 | --with-news-group=news \ |
276 | --with-news-master=news \ | |
6a4c3728 | 277 | --with-news-user=news \ |
d62f835a | 278 | --with-control-dir=%{_datadir}/news/control \ |
aeef40a9 | 279 | --with-db-dir=/var/lib/news \ |
d62f835a | 280 | --with-filter-dir=%{_datadir}/news/filter \ |
4edb2079 | 281 | --with-http-dir=/var/lib/news/http \ |
6a4c3728 JB |
282 | --with-innlib-dir=%{_datadir}/news \ |
283 | --with-libperl-dir=%{perl_vendorlib} \ | |
aeef40a9 JB |
284 | --with-log-dir=/var/log/news \ |
285 | --with-run-dir=/var/run/news \ | |
286 | --with-spool-dir=/var/spool/news \ | |
d62f835a | 287 | --with-tmp-dir=/var/spool/news/incoming/tmp \ |
4edb2079 | 288 | --with-bdb=%{_prefix} \ |
6a4c3728 | 289 | --with-openssl=%{_prefix} \ |
aeef40a9 | 290 | --with-perl \ |
4edb2079 | 291 | %{?with_python:--with-python} \ |
d62f835a | 292 | --with-sendmail=/usr/lib/sendmail \ |
6113bcd6 | 293 | %{?with_lfs:--enable-largefiles} \ |
4edb2079 | 294 | --enable-reduced-depends \ |
6113bcd6 | 295 | %{!?with_lfs:--enable-tagged-hash} |
4f74b1e3 | 296 | |
8fa20058 JB |
297 | %{__make} all \ |
298 | PATHFILTER=%{_datadir}/news/filter \ | |
b1d87e42 | 299 | PATHCONTROL=%{_datadir}/news/control |
62d4f04e | 300 | |
5da4f037 | 301 | %install |
e762d39b | 302 | rm -rf $RPM_BUILD_ROOT |
481a5379 JB |
303 | install -d $RPM_BUILD_ROOT/etc/{cron.d,logrotate.d,news/pgp,rc.d/init.d} \ |
304 | $RPM_BUILD_ROOT%{_libdir}/news/auth/generic \ | |
305 | $RPM_BUILD_ROOT%{_datadir}/news/auth \ | |
306 | $RPM_BUILD_ROOT%{_mandir}/pl/man{1,8} \ | |
307 | $RPM_BUILD_ROOT/var/lib/news/backoff \ | |
308 | $RPM_BUILD_ROOT/var/log/archive/news \ | |
309 | $RPM_BUILD_ROOT/var/spool/news/{cycbuffs,uniover} \ | |
3acdca37 | 310 | $RPM_BUILD_ROOT/home/services/news \ |
d7f79e4a | 311 | $RPM_BUILD_ROOT%{systemdtmpfilesdir} |
1824cb2f | 312 | |
65158df2 | 313 | %{__make} install \ |
04fde985 | 314 | DESTDIR=$RPM_BUILD_ROOT \ |
6a4c3728 | 315 | BACKUP_OPTION= \ |
8a30a1a2 | 316 | PATHFILTER=%{_datadir}/news/filter \ |
1824cb2f | 317 | PATHCONTROL=%{_datadir}/news/control \ |
b1d87e42 JR |
318 | PATHRNEWS=%{_libdir}/news/rnews \ |
319 | PATHAUTHPASSWD=%{_libdir}/news/auth/passwd \ | |
320 | PATHAUTHRESOLV=%{_libdir}/news/auth/resolv | |
321 | ||
1d28f19c JB |
322 | # avoid conflict with glibc (synced with man-pages >= 5.09) |
323 | %{__mv} $RPM_BUILD_ROOT%{_mandir}/man3/list.{3,3inn} | |
324 | ||
d7f79e4a | 325 | cp -p samples/readers.conf $RPM_BUILD_ROOT%{_sysconfdir}/readers.conf |
210f2d9d | 326 | touch $RPM_BUILD_ROOT%{_sysconfdir}/motd.{innd,nnrpd} |
1824cb2f | 327 | |
d7f79e4a ER |
328 | cp -p %{SOURCE1} $RPM_BUILD_ROOT/var/lib/news/active |
329 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/var/lib/news/distributions | |
330 | cp -p %{SOURCE3} $RPM_BUILD_ROOT/var/lib/news/newsgroups | |
331 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/cron.d/inn | |
332 | install -p %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/inn | |
333 | install -p %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/cnfsstat.cron | |
334 | cp -p %{SOURCE7} $RPM_BUILD_ROOT/etc/logrotate.d/inn | |
335 | cp -p %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/pl/man1/getlist.1 | |
336 | cp -p %{SOURCE9} $RPM_BUILD_ROOT%{_mandir}/pl/man8/innd.8 | |
337 | cp -p %{SOURCE10} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf | |
43b69da4 | 338 | |
6a4c3728 | 339 | %{__rm} $RPM_BUILD_ROOT/var/lib/news/history |
4f74b1e3 | 340 | |
341 | umask 002 | |
519ae65b | 342 | :> $RPM_BUILD_ROOT%{_sysconfdir}/subscriptions |
fb162469 JR |
343 | touch $RPM_BUILD_ROOT/var/lib/news/.news.daily |
344 | touch $RPM_BUILD_ROOT/var/lib/news/active.times | |
519ae65b | 345 | touch $RPM_BUILD_ROOT/var/lib/news/history |
4f74b1e3 | 346 | |
45c9b47c | 347 | LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/makehistory \ |
fb162469 | 348 | -a $RPM_BUILD_ROOT/var/lib/news/active \ |
6a4c3728 | 349 | -r -f $RPM_BUILD_ROOT/var/lib/news/history || : |
bac70e06 | 350 | |
5c8ecc5f | 351 | # Fix perms in sample directory to avoid bogus dependencies |
4f74b1e3 | 352 | find samples -name "*.in" -exec chmod a-x {} \; |
353 | ||
71d10459 | 354 | # remove files in conflict with cleanfeed |
6a4c3728 | 355 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/news/filter/filter_innd.* |
71d10459 | 356 | |
8341cf3e | 357 | # remove unpackaged files |
6a4c3728 JB |
358 | %{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc |
359 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/rc.news | |
8341cf3e | 360 | |
62d4f04e | 361 | %clean |
362 | rm -rf $RPM_BUILD_ROOT | |
363 | ||
364 | %post | |
5c8ecc5f | 365 | if [ "`getent passwd news | cut -d: -f6`" = "/var/spool/news" ]; then |
aeef40a9 JB |
366 | /usr/sbin/usermod -d /home/services/news news |
367 | fi | |
f6dd3bef | 368 | |
cba9f618 | 369 | umask 022 |
e7713629 PG |
370 | |
371 | %{_bindir}/innupgrade %{_sysconfdir} | |
372 | ||
f6dd3bef TP |
373 | cd /var/lib/news |
374 | if [ ! -f /var/lib/news/history ]; then | |
713a2e4c | 375 | # makehistory fails on uninitialized spool(?) - create empty history in such case |
f6dd3bef TP |
376 | %{_bindir}/makehistory || { echo "Creating empty history"; :> history; } |
377 | chown news:news history | |
519ae65b | 378 | chmod 664 history |
5a4b775e PG |
379 | %{_bindir}/makedbz -s `wc -l < history` -f history |
380 | for i in dir hash index pag; do | |
381 | [ -f history.n.$i ] && mv history.n.$i history.$i | |
382 | done | |
383 | chown news:news history.* | |
384 | chmod 644 history.* | |
62d4f04e | 385 | fi |
5c8ecc5f | 386 | |
5c8ecc5f | 387 | if [ ! -f /var/lib/news/.news.daily ]; then |
f6dd3bef | 388 | :> /var/lib/news/.news.daily |
5c8ecc5f ER |
389 | chown news:news /var/lib/news/.news.daily |
390 | chmod 664 /var/lib/news/.news.daily | |
391 | fi | |
392 | ||
822b13cf | 393 | /sbin/chkconfig --add inn |
5c8ecc5f | 394 | %service inn restart "inn news server" |
62d4f04e | 395 | |
396 | %preun | |
822b13cf | 397 | if [ "$1" = "0" ]; then |
5c8ecc5f | 398 | %service inn stop |
822b13cf | 399 | /sbin/chkconfig --del inn |
400 | fi | |
62d4f04e | 401 | |
45c9b47c JB |
402 | %triggerpostun -- inn < 2.4.0 |
403 | cp -af %{_sysconfdir}/inn.conf{,.rpmorig} | |
404 | sed -e 's/^\(listenonipv6\)/#\1/;s/^bindipv6address/bindaddress6/;s/^sourceipv6address/sourceaddress6/' \ | |
405 | %{_sysconfdir}/inn.conf.rpmorig > %{_sysconfdir}/inn.conf | |
406 | ||
aeef40a9 JB |
407 | %post libs -p /sbin/ldconfig |
408 | %postun libs -p /sbin/ldconfig | |
43b69da4 | 409 | |
62d4f04e | 410 | %files |
a1468b80 | 411 | %defattr(644,root,root,755) |
45c9b47c | 412 | %doc CONTRIBUTORS ChangeLog INSTALL LICENSE NEWS README TODO doc/[Icehs]* |
18b96901 | 413 | %attr(700,news,news) %dir /home/services/news |
a1468b80 | 414 | |
1824cb2f | 415 | # DB |
8a9401bf JK |
416 | %attr(770,root,news) %dir /var/lib/news |
417 | %attr(770,root,news) %dir /var/lib/news/backoff | |
ed7425b9 | 418 | %attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/active |
519ae65b | 419 | %attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/active.times |
ed7425b9 ER |
420 | %attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/distributions |
421 | %attr(664,root,news) %config(noreplace) %verify(not md5 mtime size) /var/lib/news/newsgroups | |
fb162469 | 422 | %attr(664,news,news) %ghost /var/lib/news/.news.daily |
b1d87e42 | 423 | %attr(664,news,news) %ghost /var/lib/news/history |
1824cb2f | 424 | |
425 | # LOGS | |
ed7425b9 | 426 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/inn |
6a4c3728 JB |
427 | # note: innd (and maybe others) creates files in this directory |
428 | %attr(771,root,news) %dir /var/log/news | |
0ed888d2 | 429 | %attr(770,news,news) %dir /var/run/news |
4edb2079 JB |
430 | %{systemdtmpfilesdir}/%{name}.conf |
431 | # http status pages | |
432 | %attr(775,root,news) %dir /var/lib/news/http | |
433 | /var/lib/news/http/innreport.css | |
1824cb2f | 434 | |
435 | # SPOOL | |
44489064 | 436 | %attr(771,root,news) %dir /var/spool/news |
b1d87e42 JR |
437 | %attr(770,root,news) %dir /var/spool/news/archive |
438 | %attr(770,root,news) %dir /var/spool/news/articles | |
8a9401bf | 439 | %attr(770,root,news) %dir /var/spool/news/cycbuffs |
8a9401bf JK |
440 | %attr(770,root,news) %dir /var/spool/news/incoming |
441 | %attr(770,root,news) %dir /var/spool/news/incoming/bad | |
442 | %attr(770,root,news) %dir /var/spool/news/incoming/tmp | |
b1d87e42 | 443 | %attr(770,root,news) %dir /var/spool/news/innfeed |
8a9401bf | 444 | %attr(770,root,news) %dir /var/spool/news/outgoing |
8a9401bf JK |
445 | %attr(770,root,news) %dir /var/spool/news/overview |
446 | %attr(770,root,news) %dir /var/spool/news/uniover | |
1824cb2f | 447 | |
448 | # CRON PARTS | |
ed7425b9 | 449 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/inn |
1824cb2f | 450 | |
451 | # RC-SCRIPT | |
bac70e06 | 452 | %attr(754,root,root) /etc/rc.d/init.d/inn |
1824cb2f | 453 | |
454 | # CONFIGS (INN is a one big config ;-) | |
8a9401bf | 455 | %attr(755,root,news) %dir %{_sysconfdir} |
ed7425b9 ER |
456 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/actsync.cfg |
457 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/actsync.ign | |
458 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/buffindexed.conf | |
459 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/control.ctl | |
6a4c3728 | 460 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/control.ctl.local |
ed7425b9 ER |
461 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cycbuff.conf |
462 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/distrib.pats | |
6a4c3728 | 463 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/distributions |
ed7425b9 ER |
464 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/expire.ctl |
465 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/incoming.conf | |
466 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/inn.conf | |
210f2d9d | 467 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/inn-radius.conf |
ed7425b9 ER |
468 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innfeed.conf |
469 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innreport.conf | |
6a4c3728 JB |
470 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innshellvars.local |
471 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innshellvars.pl.local | |
472 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innshellvars.tcl.local | |
ed7425b9 | 473 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/innwatch.ctl |
6a4c3728 | 474 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/localgroups |
ed7425b9 | 475 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/moderators |
6a4c3728 | 476 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/motd.innd |
210f2d9d | 477 | %{_sysconfdir}/motd.innd.sample |
6a4c3728 | 478 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/motd.nnrpd |
210f2d9d | 479 | %{_sysconfdir}/motd.nnrpd.sample |
ed7425b9 ER |
480 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/news2mail.cf |
481 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/newsfeeds | |
482 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nnrpd.track | |
483 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nntpsend.ctl | |
6a4c3728 | 484 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nocem.ctl |
ed7425b9 | 485 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ovdb.conf |
ed7425b9 | 486 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/passwd.nntp |
ed7425b9 | 487 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/readers.conf |
6a4c3728 | 488 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/send-uucp.cf |
ed7425b9 ER |
489 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/storage.conf |
490 | %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/subscriptions | |
7aaadf48 | 491 | %attr(755,root,news) %dir %{_sysconfdir}/pgp |
1526c35e | 492 | |
0a8e57f3 | 493 | %attr(755,root,news) %dir %{_datadir}/news |
47956f80 | 494 | %dir %{_datadir}/news/control |
495 | %dir %{_datadir}/news/filter | |
8a30a1a2 | 496 | |
ed7425b9 ER |
497 | %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innreport_inn.pm |
498 | %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars | |
499 | %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars.pl | |
500 | %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/innshellvars.tcl | |
501 | ||
502 | %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/INN.py | |
503 | %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/filter_nnrpd.pl | |
6a4c3728 JB |
504 | %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd.py |
505 | %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_access.pl | |
506 | %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_access.py | |
ed7425b9 ER |
507 | %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_auth.pl |
508 | %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_auth.py | |
6a4c3728 | 509 | %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/nnrpd_dynamic.py |
ed7425b9 | 510 | %config(noreplace) %verify(not md5 mtime size) %{_datadir}/news/filter/startup_innd.pl |
8a30a1a2 | 511 | |
bac70e06 | 512 | %attr(755,root,root) %{_datadir}/news/control/checkgroups.pl |
bac70e06 | 513 | %attr(755,root,root) %{_datadir}/news/control/ihave.pl |
bac70e06 | 514 | %attr(755,root,root) %{_datadir}/news/control/newgroup.pl |
bac70e06 | 515 | %attr(755,root,root) %{_datadir}/news/control/rmgroup.pl |
bac70e06 | 516 | %attr(755,root,root) %{_datadir}/news/control/sendme.pl |
bac70e06 | 517 | %attr(755,root,root) %{_datadir}/news/control/sendsys.pl |
bac70e06 | 518 | %attr(755,root,root) %{_datadir}/news/control/senduuname.pl |
bac70e06 | 519 | %attr(755,root,root) %{_datadir}/news/control/version.pl |
1824cb2f | 520 | |
6a4c3728 JB |
521 | %dir %{perl_vendorlib}/INN |
522 | %{perl_vendorlib}/INN/Config.pm | |
523 | %dir %{perl_vendorlib}/INN/Utils | |
524 | %{perl_vendorlib}/INN/Utils/Shlock.pm | |
525 | ||
b1d87e42 | 526 | %attr(755,root,news) %dir %{_libdir}/news |
47956f80 | 527 | %dir %{_libdir}/news/auth |
528 | %dir %{_libdir}/news/auth/generic | |
529 | %dir %{_libdir}/news/auth/passwd | |
530 | %dir %{_libdir}/news/auth/resolv | |
531 | %dir %{_libdir}/news/rnews | |
b1d87e42 JR |
532 | |
533 | %attr(755,root,root) %{_libdir}/news/auth/passwd/* | |
534 | %attr(755,root,root) %{_libdir}/news/auth/resolv/* | |
535 | %attr(755,root,root) %{_libdir}/news/rnews/* | |
536 | ||
1824cb2f | 537 | # BINARIES |
7e183975 | 538 | %attr(755,root,root) %{_bindir}/actmerge |
539 | %attr(755,root,root) %{_bindir}/actsync | |
540 | %attr(755,root,root) %{_bindir}/actsyncd | |
541 | %attr(755,root,root) %{_bindir}/archive | |
542 | %attr(755,root,root) %{_bindir}/batcher | |
543 | %attr(755,root,root) %{_bindir}/buffchan | |
6a4c3728 | 544 | %attr(755,root,root) %{_bindir}/buffindexed_d |
b1d87e42 | 545 | %attr(755,root,root) %{_bindir}/cnfsheadconf |
7e183975 | 546 | %attr(755,root,root) %{_bindir}/cnfsstat |
4445c2d2 | 547 | %attr(755,root,root) %{_bindir}/cnfsstat.cron |
7e183975 | 548 | %attr(755,root,root) %{_bindir}/controlbatch |
549 | %attr(755,root,root) %{_bindir}/controlchan | |
550 | %attr(755,root,root) %{_bindir}/convdate | |
7e183975 | 551 | %attr(755,root,root) %{_bindir}/ctlinnd |
552 | %attr(755,root,root) %{_bindir}/cvtbatch | |
45c9b47c | 553 | %attr(755,root,root) %{_bindir}/docheckgroups |
7e183975 | 554 | %attr(755,root,root) %{_bindir}/expire |
7e183975 | 555 | %attr(755,root,root) %{_bindir}/expireover |
556 | %attr(755,root,root) %{_bindir}/expirerm | |
557 | %attr(755,root,root) %{_bindir}/fastrm | |
558 | %attr(755,root,root) %{_bindir}/filechan | |
7e183975 | 559 | %attr(755,root,root) %{_bindir}/getlist |
560 | %attr(755,root,root) %{_bindir}/grephistory | |
45c9b47c | 561 | %attr(755,root,root) %{_bindir}/imapfeed |
6a4c3728 JB |
562 | # suid root to bind sockets |
563 | %attr(4754,root,news) %{_bindir}/innbind | |
7e183975 | 564 | %attr(755,root,root) %{_bindir}/inncheck |
565 | %attr(755,root,root) %{_bindir}/innconfval | |
566 | %attr(755,root,root) %{_bindir}/innd | |
567 | %attr(755,root,root) %{_bindir}/inndf | |
1824cb2f | 568 | %attr(755,root,root) %{_bindir}/innfeed |
7e183975 | 569 | %attr(755,root,root) %{_bindir}/innmail |
1824cb2f | 570 | %attr(755,root,root) %{_bindir}/innreport |
7e183975 | 571 | %attr(755,root,root) %{_bindir}/innstat |
45c9b47c | 572 | %attr(755,root,root) %{_bindir}/innupgrade |
7e183975 | 573 | %attr(755,root,root) %{_bindir}/innwatch |
574 | %attr(755,root,root) %{_bindir}/innxbatch | |
575 | %attr(755,root,root) %{_bindir}/innxmit | |
576 | %attr(755,root,root) %{_bindir}/mailpost | |
b1d87e42 | 577 | %attr(755,root,root) %{_bindir}/makedbz |
7e183975 | 578 | %attr(755,root,root) %{_bindir}/makehistory |
579 | %attr(755,root,root) %{_bindir}/mod-active | |
1824cb2f | 580 | %attr(755,root,root) %{_bindir}/news.daily |
b1d87e42 | 581 | %attr(755,root,root) %{_bindir}/news2mail |
45c9b47c | 582 | %attr(755,root,root) %{_bindir}/ninpaths |
1824cb2f | 583 | %attr(755,root,root) %{_bindir}/nnrpd |
7e183975 | 584 | %attr(755,root,root) %{_bindir}/nntpget |
585 | %attr(755,root,root) %{_bindir}/nntpsend | |
b1d87e42 | 586 | %attr(755,root,root) %{_bindir}/ovdb_* |
7e183975 | 587 | %attr(755,root,root) %{_bindir}/overchan |
6de37b8a | 588 | %attr(755,root,root) %{_bindir}/perl-nocem |
1824cb2f | 589 | %attr(755,root,root) %{_bindir}/pgpverify |
7e183975 | 590 | %attr(755,root,root) %{_bindir}/procbatch |
591 | %attr(755,root,root) %{_bindir}/prunehistory | |
592 | %attr(755,root,root) %{_bindir}/pullnews | |
6a4c3728 | 593 | %attr(755,root,root) %{_bindir}/rnews |
7e183975 | 594 | %attr(755,root,root) %{_bindir}/scanlogs |
595 | %attr(755,root,root) %{_bindir}/scanspool | |
1824cb2f | 596 | %attr(755,root,root) %{_bindir}/send-ihave |
597 | %attr(755,root,root) %{_bindir}/send-nntp | |
598 | %attr(755,root,root) %{_bindir}/send-uucp | |
45c9b47c | 599 | %attr(755,root,root) %{_bindir}/sendinpaths |
7e183975 | 600 | %attr(755,root,root) %{_bindir}/sendxbatches |
601 | %attr(755,root,root) %{_bindir}/shlock | |
602 | %attr(755,root,root) %{_bindir}/shrinkfile | |
b1d87e42 | 603 | %attr(755,root,root) %{_bindir}/signcontrol |
7e183975 | 604 | %attr(755,root,root) %{_bindir}/simpleftp |
605 | %attr(755,root,root) %{_bindir}/sm | |
7e183975 | 606 | %attr(755,root,root) %{_bindir}/tally.control |
45c9b47c | 607 | %attr(755,root,root) %{_bindir}/tdx-util |
6a4c3728 | 608 | %attr(755,root,root) %{_bindir}/tinyleaf |
7e183975 | 609 | %attr(755,root,root) %{_bindir}/writelog |
62d4f04e | 610 | |
1824cb2f | 611 | # MAN |
8ee5b158 | 612 | %{_mandir}/man1/convdate.1* |
3dc5b213 | 613 | %{_mandir}/man1/fastrm.1* |
8ee5b158 | 614 | %{_mandir}/man1/getlist.1* |
615 | %{_mandir}/man1/grephistory.1* | |
616 | %{_mandir}/man1/innconfval.1* | |
3dc5b213 | 617 | %{_mandir}/man1/innmail.1* |
8ee5b158 | 618 | %{_mandir}/man1/nntpget.1* |
45c9b47c | 619 | %{_mandir}/man1/pgpverify.1* |
04fde985 | 620 | %{_mandir}/man1/pullnews.1* |
8ee5b158 | 621 | %{_mandir}/man1/rnews.1* |
622 | %{_mandir}/man1/shlock.1* | |
623 | %{_mandir}/man1/shrinkfile.1* | |
b1d87e42 | 624 | %{_mandir}/man1/simpleftp.1* |
45c9b47c | 625 | %{_mandir}/man1/sm.1* |
6a4c3728 JB |
626 | %{_mandir}/man3/INN::Config.3pm* |
627 | %{_mandir}/man3/INN::Utils::Shlock.3pm* | |
628 | %{_mandir}/man5/active.5* | |
629 | %{_mandir}/man5/active.times.5* | |
630 | %{_mandir}/man5/buffindexed.conf.5* | |
631 | %{_mandir}/man5/control.ctl.5* | |
632 | %{_mandir}/man5/cycbuff.conf.5* | |
633 | %{_mandir}/man5/distrib.pats.5* | |
634 | %{_mandir}/man5/distributions.5* | |
635 | %{_mandir}/man5/expire.ctl.5* | |
636 | %{_mandir}/man5/history.5* | |
637 | %{_mandir}/man5/incoming.conf.5* | |
638 | %{_mandir}/man5/inn.conf.5* | |
210f2d9d | 639 | %{_mandir}/man5/inn-radius.conf.5* |
6a4c3728 JB |
640 | %{_mandir}/man5/innfeed.conf.5* |
641 | %{_mandir}/man5/innwatch.ctl.5* | |
642 | %{_mandir}/man5/localgroups.5* | |
643 | %{_mandir}/man5/moderators.5* | |
644 | %{_mandir}/man5/motd.innd.5* | |
645 | %{_mandir}/man5/motd.news.5* | |
646 | %{_mandir}/man5/motd.nnrpd.5* | |
647 | %{_mandir}/man5/newsfeeds.5* | |
648 | %{_mandir}/man5/newsgroups.5* | |
649 | %{_mandir}/man5/newslog.5* | |
650 | %{_mandir}/man5/nnrpd.track.5* | |
651 | %{_mandir}/man5/nntpsend.ctl.5* | |
652 | %{_mandir}/man5/nocem.ctl.5* | |
653 | %{_mandir}/man5/ovdb.5* | |
654 | %{_mandir}/man5/passwd.nntp.5* | |
6a4c3728 JB |
655 | %{_mandir}/man5/readers.conf.5* |
656 | %{_mandir}/man5/storage.conf.5* | |
657 | %{_mandir}/man5/subscriptions.5* | |
658 | %{_mandir}/man8/actsync.8* | |
659 | %{_mandir}/man8/actsyncd.8* | |
660 | %{_mandir}/man8/archive.8* | |
4edb2079 | 661 | %{_mandir}/man8/auth_krb5.8* |
6a4c3728 JB |
662 | %{_mandir}/man8/batcher.8* |
663 | %{_mandir}/man8/buffchan.8* | |
664 | %{_mandir}/man8/ckpasswd.8* | |
665 | %{_mandir}/man8/cnfsheadconf.8* | |
666 | %{_mandir}/man8/cnfsstat.8* | |
667 | %{_mandir}/man8/controlchan.8* | |
668 | %{_mandir}/man8/ctlinnd.8* | |
669 | %{_mandir}/man8/cvtbatch.8* | |
670 | %{_mandir}/man8/docheckgroups.8* | |
671 | %{_mandir}/man8/domain.8* | |
672 | %{_mandir}/man8/expire.8* | |
673 | %{_mandir}/man8/expireover.8* | |
674 | %{_mandir}/man8/expirerm.8* | |
675 | %{_mandir}/man8/filechan.8* | |
676 | %{_mandir}/man8/ident.8* | |
677 | %{_mandir}/man8/imapfeed.8* | |
678 | %{_mandir}/man8/innbind.8* | |
679 | %{_mandir}/man8/inncheck.8* | |
680 | %{_mandir}/man8/innd.8* | |
681 | %{_mandir}/man8/inndf.8* | |
682 | %{_mandir}/man8/innfeed.8* | |
683 | %{_mandir}/man8/innreport.8* | |
684 | %{_mandir}/man8/innstat.8* | |
685 | %{_mandir}/man8/innupgrade.8* | |
686 | %{_mandir}/man8/innwatch.8* | |
687 | %{_mandir}/man8/innxbatch.8* | |
688 | %{_mandir}/man8/innxmit.8* | |
689 | %{_mandir}/man8/inpaths.8* | |
690 | %{_mandir}/man8/mailpost.8* | |
691 | %{_mandir}/man8/makedbz.8* | |
692 | %{_mandir}/man8/makehistory.8* | |
693 | %{_mandir}/man8/mod-active.8* | |
694 | %{_mandir}/man8/news.daily.8* | |
695 | %{_mandir}/man8/news2mail.8* | |
696 | %{_mandir}/man8/ninpaths.8* | |
697 | %{_mandir}/man8/nnrpd.8* | |
698 | %{_mandir}/man8/nntpsend.8* | |
699 | %{_mandir}/man8/ovdb_*.8* | |
700 | %{_mandir}/man8/overchan.8* | |
701 | %{_mandir}/man8/perl-nocem.8* | |
702 | %{_mandir}/man8/procbatch.8* | |
703 | %{_mandir}/man8/prunehistory.8* | |
704 | %{_mandir}/man8/radius.8* | |
705 | %{_mandir}/man8/rc.news.8* | |
706 | %{_mandir}/man8/scanlogs.8* | |
707 | %{_mandir}/man8/scanspool.8* | |
708 | %{_mandir}/man8/send-nntp.8* | |
709 | %{_mandir}/man8/send-uucp.8* | |
710 | %{_mandir}/man8/sendinpaths.8* | |
711 | %{_mandir}/man8/tally.control.8* | |
712 | %{_mandir}/man8/tdx-util.8* | |
713 | %{_mandir}/man8/tinyleaf.8* | |
714 | %{_mandir}/man8/writelog.8* | |
8428426c | 715 | %lang(pl) %{_mandir}/pl/man1/getlist.1* |
716 | %lang(pl) %{_mandir}/pl/man8/innd.8* | |
bac70e06 | 717 | |
b8fd1c81 | 718 | %files libs |
5b590a3d | 719 | %defattr(644,root,root,755) |
713a2e4c | 720 | %attr(755,root,root) %{_libdir}/libinn.so.*.*.* |
8256dc31 | 721 | %attr(755,root,root) %ghost %{_libdir}/libinn.so.6 |
713a2e4c | 722 | %attr(755,root,root) %{_libdir}/libinnhist.so.*.*.* |
4edb2079 | 723 | %attr(755,root,root) %ghost %{_libdir}/libinnhist.so.3 |
713a2e4c | 724 | %attr(755,root,root) %{_libdir}/libstorage.so.*.*.* |
4edb2079 | 725 | %attr(755,root,root) %ghost %{_libdir}/libstorage.so.3 |
b8fd1c81 | 726 | |
62d4f04e | 727 | %files devel |
a1468b80 | 728 | %defattr(644,root,root,755) |
713a2e4c JB |
729 | %attr(755,root,root) %{_libdir}/libinn.so |
730 | %attr(755,root,root) %{_libdir}/libinnhist.so | |
731 | %attr(755,root,root) %{_libdir}/libstorage.so | |
732 | %{_libdir}/libinn.la | |
733 | %{_libdir}/libinnhist.la | |
734 | %{_libdir}/libstorage.la | |
481a5379 | 735 | %{_includedir}/inn |
6a4c3728 JB |
736 | %{_mandir}/man3/clientlib.3* |
737 | %{_mandir}/man3/dbz.3* | |
738 | %{_mandir}/man3/inndcomm.3* | |
739 | %{_mandir}/man3/libauth.3* | |
740 | %{_mandir}/man3/libinn.3* | |
741 | %{_mandir}/man3/libinnhist.3* | |
742 | %{_mandir}/man3/libstorage.3* | |
1d28f19c | 743 | %{_mandir}/man3/list.3inn* |
6a4c3728 JB |
744 | %{_mandir}/man3/qio.3* |
745 | # XXX: too generic name? | |
746 | %{_mandir}/man3/tst.3* | |
747 | %{_mandir}/man3/uwildmat.3* | |
62d4f04e | 748 | |
8ee5b158 | 749 | %files static |
e762d39b | 750 | %defattr(644,root,root,755) |
713a2e4c JB |
751 | %{_libdir}/libinn.a |
752 | %{_libdir}/libinnhist.a | |
753 | %{_libdir}/libstorage.a | |
8ee5b158 | 754 | |
62d4f04e | 755 | %files -n inews |
f7754046 | 756 | %defattr(644,root,root,755) |
366a13e8 | 757 | %attr(755,root,news) %{_bindir}/inews |
8ee5b158 | 758 | %{_mandir}/man1/inews.1* |