]> git.pld-linux.org Git - packages/inn.git/blobdiff - inn.spec
- added pl man pages
[packages/inn.git] / inn.spec
index 563ba2d2572773c5d1b8236159878d7850d6a8b7..d5d8cecee70bbf5d399db9be90ffa544e0f0a8ce 100644 (file)
--- a/inn.spec
+++ b/inn.spec
@@ -1,12 +1,15 @@
+%include       /usr/lib/rpm/macros.perl
 Summary:       INN, the InterNet News System (news server)
 Summary(de):   das InterNet News System (News-Server)
+Summary(es):   INN, InterNet News System (servidor news)
 Summary(fr):   INN, le système InterNet News (serveur de news)
 Summary(pl):   INN, serwer nowinek 
+Summary(pt_BR):        INN, InterNet News System (servidor news)
 Summary(tr):   INN, InterNet Haber Sistemi (haber sunucu)
 Name:          inn
-Version:       2.3.1
-Release:       2
-License:       Distributable
+Version:       2.3.2
+Release:       7
+License:       distributable
 Group:         Networking/Daemons
 Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
@@ -20,39 +23,73 @@ Source6:    %{name}.crontab
 Source7:       %{name}.init
 Source8:       %{name}-cnfsstat.cron
 Source9:       %{name}.logrotate
-Patch0:                ftp://ftp.north.ad.jp/pub/IPv6/INN/tmp/inn-2.3.0-v6-20001011.diff.gz
+Source10:      %{name}-etc-readers.conf
+Source11:      getlist.1.pl
+Source12:      innd.8.pl
+#Patch0:       ftp://ftp.north.ad.jp/pub/IPv6/INN/tmp/%{name}-2.3.0-v6-20001011.diff.gz
+Patch0:                %{name}-ipv6.patch
 Patch1:                %{name}-PLD.patch
 Patch2:                %{name}-install.patch
 Patch3:                %{name}-db3.patch
 Patch4:                %{name}-setreuid.patch
+Patch5:                %{name}-sec.patch
+Patch6:                %{name}-frsize.patch
+Patch7:                %{name}-ac25x.patch
 URL:           http://www.isc.org/inn.html
+BuildRequires: autoconf
+BuildRequires: libtool
+BuildRequires: flex
+BuildRequires: bison
+BuildRequires: db3-devel
+BuildRequires: openssl-devel >= 0.9.6a
+BuildRequires: perl-devel >= 5.6.1
+Requires:      cleanfeed >= 0.95.7b-4
+Requires:      rc-scripts >= 0.2.0
+Requires:      /etc/cron.d
+Requires:      psmisc >= 20.1
+Requires:      util-linux
 Prereq:                /sbin/chkconfig
 Prereq:                /sbin/ldconfig
+Prereq:                rc-scripts
 Prereq:                sed
 Prereq:                fileutils
 Prereq:                %{name}-libs = %{version}
-Requires:      cleanfeed >= 0.95.7b-4
-Requires:      rc-scripts >= 0.2.0
-Requires:      /etc/cron.d
 Provides:      nntpserver
-BuildRequires: byacc
-BuildRequires: db3-devel
-BuildRequires: perl
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/news
 
+# /usr/bin/pullnews doesn't provide perl(Net::NNTP) - perl-libnet does.
+%define                _noautoprov     "perl(Net::NNTP)"
+# it's necessary only for sample nnrpd_auth.pl hook
+%define                _noautoreq      "perl(CDB_File)"
+
 %description
 INN is a news server, which can be set up to handle USENET news, as
 well as private "newsfeeds". There is a *LOT* of information about
 setting up INN in /usr/share/doc -- read it.
 
+If you want innreport to generate graphs you need perl-GD package.
+
+%description -l es
+INN es un servidor de news, que puede ser configurado para manipular
+USENET news bien como newsfeeds privadas. Existe un *Montón* de
+información sobre la configuración del INN en /usr/doc -- léela.
+
 %description -l pl
 INN jest serwerem news, który mo¿na skonfigurowaæ do obs³ugi USENET-u,
 jak równie¿ do obs³ugi ,,prywatnych'' grup w sieciach intranetowych.
 Ca³e mnóstwo po¿ytecznych informacji o konfigurowaniu INN-a znajdziesz
 w katalogu /usr/share/doc/inn-*.
 
+Je¶li chcesz ¿eby innreport generowa³ wykresy musisz zainstalowaæ
+pakiet perl-GD.
+
+%description -l pt_BR
+INN é um servidor de news, que pode ser configurado para manipular
+USENET news bem como newsfeeds privadas. Existe um *MONTE* de
+informações sobre a configuração do INN em /usr/doc -- leia.
+
 %package libs
 Summary:       INN libraries
 Summary(de):   INN-Library
@@ -60,8 +97,12 @@ Summary(fr): Biblioth
 Summary(pl):   Biblioteki do INN-a
 Group:         Development/Libraries
 Group(de):     Entwicklung/Libraries
+Group(es):     Desarrollo/Bibliotecas
 Group(fr):     Development/Librairies
 Group(pl):     Programowanie/Biblioteki
+Group(pt_BR):  Desenvolvimento/Bibliotecas
+Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
 
 %description libs
 This library is needed by several programs that interface to INN, such
@@ -86,30 +127,43 @@ bir kitapl
 %package devel
 Summary:       INN header files and development documentations
 Summary(de):   INN-Library
+Summary(es):   Biblioteca INN
 Summary(fr):   Bibliothèque INN
 Summary(pl):   Pliki nag³ówkowe i dokumentacja programisty do inn-a
+Summary(pt_BR):        Biblioteca INN
 Summary(tr):   INN kitaplýðý
 Group:         Development/Libraries
 Group(de):     Entwicklung/Libraries
+Group(es):     Desarrollo/Bibliotecas
 Group(fr):     Development/Librairies
 Group(pl):     Programowanie/Biblioteki
+Group(pt_BR):  Desenvolvimento/Bibliotecas
+Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
 Requires:      %{name}-libs = %{version}
+Requires:      db3-devel
 
 %description devel
-This library is needed by several programs that interface to INN, such
-as newsgate or tin.
+Header files and developer documentations for INN libraries.
 
 %description -l de devel
 Diese Library wird von mehreren Programmen benötigt, die mit INN
 kommunizieren, etwa newsgate oder tin.
 
+%description -l es devel
+Esta biblioteca es requerida por varios programas que tienen interface
+con INN, como el newsgate o tin.
+
 %description -l fr devel
 Cette bibliothèque est nécessaire à plusieurs programmes qui
 s'interfacent avec INN, comme newsgate ou tin.
 
 %description -l pl devel
-Biblioteka niezbêdna do dzia³ania kilku programów wspó³pracuj±cych z
-INN-em, takich jak newsgate czy tin.
+Pliki nag³ówkowe i dokumentacja programisty do bibliotek INN-a.
+
+%description -l pt_BR devel
+Esta biblioteca é requerida por vários programas que tem interface com
+o INN, como o newsgate ou tin.
 
 %description -l tr devel
 INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
@@ -117,24 +171,42 @@ bir kitapl
 
 %package static
 Summary:       Static INN libraries
+Summary(es):   Static libraries for inn development
 Summary(pl):   Biblioteki statyczne do INN
+Summary(pt_BR):        Bibliotecas estáticas para desenvolvimento com inn
 Group:         Development/Libraries
 Group(de):     Entwicklung/Libraries
+Group(es):     Desarrollo/Bibliotecas
 Group(fr):     Development/Librairies
 Group(pl):     Programowanie/Biblioteki
+Group(pt_BR):  Desenvolvimento/Bibliotecas
+Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
 Requires:      %{name}-devel = %{version}
 
 %description static
 Static INN libraries.
 
+%description -l es static
+Static libraries for inn development
+
 %description -l pl static
 Biblioteki statyczne do INN.
 
+%description -l pt_BR static
+INN é um servidor de news, que pode ser configurado para manipular
+USENET news bem como newsfeeds privadas. Existe um *MONTE* de
+informações sobre a configuração do INN em /usr/doc -- leia.
+
+Bibliotecas estáticas para desenvolvimento com inn
+
 %package -n inews
 Summary:       Inews program (used for posting by inn and trn)
 Summary(de):   Inews-Programm (für die Zustellung mit inn und trn) 
+Summary(es):   Programa Inews (usado para franqueo por inn y trn)
 Summary(fr):   Programme inews (utilisé par inn et trn pour poster)
 Summary(pl):   Inews - program do wysy³ania artyku³ów (u¿ywany przez inn i trn)
+Summary(pt_BR):        Programa Inews (usado para postagem pelo inn e trn)
 Summary(tr):   Haber biçimlendirme programý
 Group:         Networking/News
 Group(de):     Netzwerkwesen/News
@@ -151,6 +223,12 @@ Nachrichten verwendet. Es f
 ormatierung aus und leitet die Nachricht an den in 'inn.conf'
 angegebenen News-Server weiter.
 
+%description -l es -n inews
+El programa inews se usa por algunos lectores de news para postar
+mensajes. Hace alguna consistencia chequeando y reformateando headers,
+y enviando el artículo para el servidor de news especificado en el
+inn.conf.
+
 %description -l fr -n inews
 Le programme inews est utilisé par certains lecteurs de news pour
 poster les articles. Il effectue des vérifications et un reformatage
@@ -162,6 +240,12 @@ Inews jest u
 artyku³ów. Sprawdza budowê artyku³u, przepisuje nag³ówek i wysy³a do
 serwera news wyszczególnionego w inn.conf.
 
+%description -l pt_BR -n inews
+O programa inews é usado por alguns leitores de news para postar
+mensagens. Ele faz alguma consistência checando e reformatando
+headers, e enviando o artigo para o servidor de news especificado no
+inn.conf.
+
 %description -l tr -n inews
 inews programý bazý haber okuyucular tarafýndan haber yollamak
 amacýyla kullanýlýr. Program bazý güvenlik denetimleri ve baþlýk
@@ -175,6 +259,10 @@ sunucuya makaleyi yollar.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+
 %build
 touch innfeed/*.[ly]
 
@@ -196,8 +284,8 @@ libtoolize --copy --force
         --with-sendmail=%{_libdir}/sendmail \
        --with-openssl=%{_prefix} \
        --with-berkeleydb=%{_prefix} \
-       %{?bcond_on_largefiles:--with-largefiles} \
-        %{!?bcond_on_largefiles:--enable-tagged-hash} \
+       %{?_with_largefiles:--with-largefiles} \
+        %{!?_with_largefiles:--enable-tagged-hash} \
         --enable-merge-to-groups \
         --enable-pgp-verify \
        --enable-shared \
@@ -214,7 +302,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/{news,rc.d/init.d,cron.d,logrotate.d} \
        $RPM_BUILD_ROOT{%{_libdir}/news/{rnews,auth/generic},%{_includedir}/inn} \
        $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/news/{control,filter,auth}} \
-       $RPM_BUILD_ROOT%{_mandir}/man{1,3,5,8} \
+       $RPM_BUILD_ROOT%{_mandir}/{man{1,3,5,8},pl/man{1,8}} \
        $RPM_BUILD_ROOT/var/{run/news,lib/news/backoff,log/{news,archiv/news}} \
        $RPM_BUILD_ROOT/var/spool/news/{articles,overview,incoming/{tmp,bad},outgoing,archive,uniover,innfeed,cycbuffs}
 
@@ -237,6 +325,9 @@ install %{SOURCE6} $RPM_BUILD_ROOT/etc/cron.d/inn
 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/inn
 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/cnfsstat.cron
 install %{SOURCE9} $RPM_BUILD_ROOT/etc/logrotate.d/inn
+install %{SOURCE10} $RPM_BUILD_ROOT/%{_sysconfdir}/readers.conf
+install %{SOURCE11} $RPM_BUILD_ROOT/%{_mandir}/pl/man1/getlist.1
+install %{SOURCE12} $RPM_BUILD_ROOT/%{_mandir}/pl/man8/innd.8
 
 rm -f $RPM_BUILD_ROOT/var/lib/news/history
 
@@ -375,7 +466,7 @@ fi
 %attr(664,news,news) %ghost /var/lib/news/history
 
 # LOGS
-%attr(640,root,root) /etc/logrotate.d/inn
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/inn
 %attr(770,root,news) %dir /var/log/news
 %attr(770,root,news) %dir /var/log/archiv/news
 %attr(770,news,news) %dir /var/run/news
@@ -561,7 +652,9 @@ fi
 %{_mandir}/man1/shrinkfile.1*
 %{_mandir}/man1/simpleftp.1*
 %{_mandir}/man1/startinnfeed.1*
-%{_mandir}/man[58]/**
+%{_mandir}/man[58]/*
+%lang(pl) %{_mandir}/pl/man1/getlist.1*
+%lang(pl) %{_mandir}/pl/man8/innd.8*
 
 %files libs
 %defattr(644,root,root,755)
@@ -569,7 +662,7 @@ fi
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/inn/*
+%{_includedir}/inn
 %{_libdir}/lib*.la
 %{_libdir}/lib*.so
 %{_mandir}/man3/*
This page took 0.039467 seconds and 4 git commands to generate.