]> git.pld-linux.org Git - packages/inn.git/blobdiff - inn.spec
- release 14
[packages/inn.git] / inn.spec
index f0cd41f1c94406f3d605734acfdf4ada375242c2..cbbbc12c314d04ffb74957ed9f0313f0ce8bbe69 100644 (file)
--- a/inn.spec
+++ b/inn.spec
@@ -6,7 +6,7 @@ Summary(pl):    INN, serwer nowinek
 Summary(tr):   INN, InterNet Haber Sistemi (haber sunucu)
 Name:          inn
 Version:       2.3.1
-Release:       4
+Release:       14
 License:       Distributable
 Group:         Networking/Daemons
 Group(de):     Netzwerkwesen/Server
@@ -22,15 +22,19 @@ Source7:    %{name}.init
 Source8:       %{name}-cnfsstat.cron
 Source9:       %{name}.logrotate
 Source10:      %{name}-etc-readers.conf
-#Patch0:       ftp://ftp.north.ad.jp/pub/IPv6/INN/tmp/inn-2.3.0-v6-20001011.diff.gz
-Patch0:                inn-2.3.1-v6-20010127.patch.gz
+#Patch0:       ftp://ftp.north.ad.jp/pub/IPv6/INN/tmp/%{name}-2.3.0-v6-20001011.diff.gz
+Patch0:                %{name}-2.3.1-v6-20010311.patch.gz
 Patch1:                %{name}-PLD.patch
 Patch2:                %{name}-install.patch
 Patch3:                %{name}-db3.patch
 Patch4:                %{name}-setreuid.patch
+Patch5:                %{name}-sec.patch
+Patch6:                %{name}-gcc.patch
+Patch7:                %{name}-frsize.patch
 URL:           http://www.isc.org/inn.html
 Prereq:                /sbin/chkconfig
 Prereq:                /sbin/ldconfig
+Prereq:                rc-scripts
 Prereq:                sed
 Prereq:                fileutils
 Prereq:                %{name}-libs = %{version}
@@ -41,24 +45,33 @@ BuildRequires:      perl
 Requires:      cleanfeed >= 0.95.7b-4
 Requires:      rc-scripts >= 0.2.0
 Requires:      /etc/cron.d
-Requires:      %{perl_archlib}
-%requires_eq   perl
+#Requires:     perl-GD
 Provides:      nntpserver
 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 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.
+
 %package libs
 Summary:       INN libraries
 Summary(de):   INN-Library
@@ -103,8 +116,7 @@ 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
@@ -115,8 +127,7 @@ Cette biblioth
 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 tr devel
 INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
@@ -183,6 +194,9 @@ sunucuya makaleyi yollar.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
+%patch7 -p1
+
 %build
 touch innfeed/*.[ly]
 
@@ -384,7 +398,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
@@ -578,7 +592,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.075033 seconds and 4 git commands to generate.