]> git.pld-linux.org Git - packages/inn.git/blobdiff - inn.spec
- changed install procedure to allow building package from non-root
[packages/inn.git] / inn.spec
index d63899e2436a4b56099318567dc3b87bc0831485..7c008329b901b0e8ac5ce9d6e29a57aed8a5f9da 100644 (file)
--- a/inn.spec
+++ b/inn.spec
@@ -5,10 +5,10 @@ Summary(pl):  INN, serwer nowinek
 Summary(tr):   INN, InterNet Haber Sistemi (haber sunucu)
 Name:          inn
 Version:       2.2
-Release:       1
+Release:       3
 Copyright:     distributable
 Group:         Networking/Daemons
-Group(pl):     Sieæ/Serwery
+Group(pl):     Sieciowe/Serwery
 Source:                ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz
 Source1:       inn-default-active
 Source2:       inn-default-distributions
@@ -17,9 +17,11 @@ Source4:     inn-cron-expire
 Source5:       inn-cron-rnews
 Source6:       news.init
 Patch0:        inn-all.patch
+Patch1:                inn-install.patch
 Url:           http://www.isc.org/inn.html
 Requires:      cleanfeed
-Buildroot:     /tmp/%{name}-%{version}-%{release}-root
+%requires_pkg  perl
+Buildroot:     /tmp/%{name}-%{version}-root
 Prereq:        /sbin/chkconfig
 
 %description
@@ -34,13 +36,15 @@ Ca
 w katalogu /usr/doc/inn-*.
 
 %package devel
-Group: Development/Libraries
-Group(pl):   Programowanie/Biblioteki
-Summary:     INN-Library
-Summary(de): INN-Library
-Summary(fr): Bibliothèque INN
-Summary(pl): INN-biblioteka i pliki naglowkowe dla inn-a
-Summary(tr): INN kitaplýðý
+Summary:       INN-Library
+Summary(de):   INN-Library
+Summary(fr):   Bibliothèque INN
+Summary(pl):   INN-biblioteka i pliki nag³ówkowe dla inn-a
+Summary(tr):   INN kitaplýðý
+Group:         Development/Libraries
+Group(pl):     Programowanie/Biblioteki
+Requires:      %{name} = %{version}
+
 
 %description devel
 This library is needed by several programs that interface to INN, such as
@@ -63,13 +67,13 @@ kitapl
 
 
 %package -n inews
-Group: Networking/News
-Group(pl):   Sieæ/News
-Summary: Inews program (used for posting by inn and trn)
-Summary(de): Inews-Programm (für die Zustellung mit inn und 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(tr): Haber biçimlendirme programý
+Summary:       Inews program (used for posting by inn and trn)
+Summary(de):   Inews-Programm (für die Zustellung mit inn und 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(tr):   Haber biçimlendirme programý
+Group:         Networking/News
+Group(pl):     Sieciowe/News
 
 %description -n inews
 The inews program is used by some news readers to post news.
@@ -101,6 +105,7 @@ yaparak ve inn.conf dosyas
 %prep
 %setup -q 
 %patch0 -p1
+%patch1 -p1
 
 %build
 touch innfeed/*.[ly]
@@ -180,8 +185,9 @@ install storage/interface.h $RPM_BUILD_ROOT/usr/include
 install storage/methods.h $RPM_BUILD_ROOT/usr/include
 install storage/overview.h $RPM_BUILD_ROOT/usr/include
 
-gzip -9nf $RPM_BUILD_ROOT/usr/man/man{1,3,5,8}/*
-gzip -9nf CONTRIBUTORS COPYRIGHT HISTORY INSTALL README README.perl_hook README.tcl_hook
+gzip -9nf $RPM_BUILD_ROOT/usr/man/man{1,3,5,8}/* \
+       CONTRIBUTORS HISTORY README README.perl_hook README.tcl_hook \
+       INSTALL ChangeLog COPYRIGHT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -263,7 +269,10 @@ if [ $1 = 0 ]; then
 fi
 
 %files
-%attr(555,root,root) %doc CONTRIBUTORS.gz COPYRIGHT.gz HISTORY.gz INSTALL.gz README.gz README.perl_hook.gz README.tcl_hook.gz
+%defattr(644,root,root,755)
+%doc {CONTRIBUTORS,HISTORY,README,README.perl_hook,README.tcl_hook}.gz
+%doc {INSTALL,ChangeLog,COPYRIGHT}.gz
+
 %attr(775,news,news) %dir /etc/news
 %attr(755,news,news) %dir /usr/lib/news
 %attr(755,news,news) %dir /usr/lib/news/bin
@@ -328,7 +337,7 @@ fi
 %attr(640,news,news) %config %verify(not size mtime md5) /etc/news/storage.conf
 
 %attr(711,root,root) /usr/bin/rnews
-%attr(755, root, root) /usr/bin/inews
+%attr(755,root,root) /usr/bin/inews
 %attr(711,root,root) /usr/sbin/ctlinnd
 %attr(555,news,news) /usr/lib/news/bin/actived
 %attr(555,news,news) /usr/lib/news/bin/actmerge
@@ -404,19 +413,19 @@ fi
 %config(missingok) /usr/lib/news/lib/innshellvars.pl
 %config(missingok) /usr/lib/news/lib/innshellvars.tcl
 
-%attr(644,root,man) /usr/man/man1/convdate.1.gz
-%attr(644,root,man) /usr/man/man1/getlist.1.gz
-%attr(644,root,man) /usr/man/man1/grephistory.1.gz
-%attr(644,root,man) /usr/man/man1/innconfval.1.gz
-%attr(644,root,man) /usr/man/man1/innfeed.1.gz
-%attr(644,root,man) /usr/man/man1/installit.1.gz
-%attr(644,root,man) /usr/man/man1/nntpget.1.gz
-%attr(644,root,man) /usr/man/man1/rnews.1.gz
-%attr(644,root,man) /usr/man/man1/shlock.1.gz
-%attr(644,root,man) /usr/man/man1/shrinkfile.1.gz
-%attr(644,root,man) /usr/man/man1/startinnfeed.1.gz
-%attr(644,root,man) /usr/man/man1/subst.1.gz
-%attr(644,root,man) /usr/man/man[58]/*
+/usr/man/man1/convdate.1.gz
+/usr/man/man1/getlist.1.gz
+/usr/man/man1/grephistory.1.gz
+/usr/man/man1/innconfval.1.gz
+/usr/man/man1/innfeed.1.gz
+/usr/man/man1/installit.1.gz
+/usr/man/man1/nntpget.1.gz
+/usr/man/man1/rnews.1.gz
+/usr/man/man1/shlock.1.gz
+/usr/man/man1/shrinkfile.1.gz
+/usr/man/man1/startinnfeed.1.gz
+/usr/man/man1/subst.1.gz
+/usr/man/man[58]/*
 
 %attr(664,news,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/active
 %attr(644,news,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/distributions
@@ -428,19 +437,37 @@ fi
 %attr(660,news,news) %config(noreplace) %verify(not size mtime md5) /var/log/news/news.err
 
 %files devel
-%attr(664,root,root) /usr/include/*
-%attr(664,root,root) /usr/lib/*.a
-%attr(644,root,man) /usr/man/man3/*
+%defattr(644,root,root,755)
+/usr/include/*
+/usr/lib/*.a
+/usr/man/man3/*
 
 %files -n inews
-/usr/bin/inews
+%defattr(644,root,root,755)
+
+%attr(755,root,root) /usr/bin/inews
 %attr(4555,news,news) %config /usr/lib/news/bin/inews
 /usr/man/man1/inews.1.gz
 
 %changelog
+* Fri Apr 16 1999 Piotr Czerwiñski <pius@pld.org.pl>
+  [2.2-3]
+- changed install procedure to allow building package from non-root 
+  account (inn-install.patch),
+- minor fixes.
+
+* Thu Apr 15 1999 Piotr Czerwiñski <pius@pld.org.pl>
+- fixed Group(pl),
+- changed Buildroot to /tmp/%{name}-%{version}-root,
+- removed man group from man pages,
+- added full %defattr description in %files,
+- added Requires: %%{name} = %%{version} to devel subpackage,
+- added some %requires_pkg macros,
+- cosmetic changes for common l&f.
+
 * Fri Jan 29 1999 Maciej Paliwoda <maciejp@uci.agh.edu.p>
-[2.2-1]
-- special thanks for Wojtek <A6>lusarczyk <wojtek@shadow.eu.org>
+  [2.2-1d]
+- special thanks for Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
        & Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
 - new version 2.2 (stable)
 - build for Linux PLD
This page took 0.067777 seconds and 4 git commands to generate.