]> git.pld-linux.org Git - packages/freshrpms.git/commitdiff
- spec adapterized.
authorkloczek <kloczek@pld-linux.org>
Thu, 18 May 2000 21:48:35 +0000 (21:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freshrpms.spec -> 1.8

freshrpms.spec

index c3a0c586ca188f2a104abb4681b2acc98b89621b..6f2c35db73401c609f3473b3bb1f93b5d9adbf8a 100644 (file)
@@ -6,30 +6,32 @@ Release:      5
 Copyright:     distributable
 Group:         Utilities/System
 Group(pl):     Narzêdzia/System
-Source:                ftp://ftp.cs.tu-berlin.de/pub/local/flp/lutzeb/software/freshrpms/freshrpms.tar.gz
+Source0:       ftp://ftp.cs.tu-berlin.de/pub/local/flp/lutzeb/software/freshrpms/%{name}.tar.gz
 Requires:      perl-libnet
 Requires:      perl >= 5.004
 Buildarch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-freshrpms is a Perl5 script which fetches RPM packages from FTP servers which
-version numbers are higher than the ones installed on your system. freshrpms
-does not install any RPMs by itself but makes use of the package manager
-program to determine which RPM packages are currently installed. freshrpms
-uses a configuration file to accomplish its task which defines multiple FTP
-servers, directories to look for RPMs, local download directories and local
-archive directories for installed RPMs. It can also garbage collect local
-archived RPMs which are older than the currenly installed ones.
+freshrpms is a Perl5 script which fetches RPM packages from FTP
+servers which version numbers are higher than the ones installed on
+your system. freshrpms does not install any RPMs by itself but makes
+use of the package manager program to determine which RPM packages are
+currently installed. freshrpms uses a configuration file to accomplish
+its task which defines multiple FTP servers, directories to look for
+RPMs, local download directories and local archive directories for
+installed RPMs. It can also garbage collect local archived RPMs which
+are older than the currenly installed ones.
 
 %description -l pl
-freshrpms jest skryptem w jêzyku Perl, ¶ci±gaj±cym z serwerów FTP pakiety RPM,
-których numery wersji s± wy¿sze ni¿ tych zainstalowanych w Twoim systemie.
-freshrpms nie instaluje samodzielnie ¿adnych pakietów, ale tylko wykorzystuje
-mened¿era pakietów, aby sprawdziæ jakie pakiety masz zainstalowane. freshrpms
-do wykonania swojego zadzania u¿ywa pliku konfiguracyjnego, który definiuje
-u¿ywane serwery FTP, ¶cie¿ki poszukiwañ, lokalne katalogi na nowe pakiety
-oraz archiwum. Mo¿e tak¿e przenosiæ stare pakiety do archiwum.
+freshrpms jest skryptem w jêzyku Perl, ¶ci±gaj±cym z serwerów FTP
+pakiety RPM, których numery wersji s± wy¿sze ni¿ tych zainstalowanych
+w Twoim systemie. freshrpms nie instaluje samodzielnie ¿adnych
+pakietów, ale tylko wykorzystuje mened¿era pakietów, aby sprawdziæ
+jakie pakiety masz zainstalowane. freshrpms do wykonania swojego
+zadzania u¿ywa pliku konfiguracyjnego, który definiuje u¿ywane serwery
+FTP, ¶cie¿ki poszukiwañ, lokalne katalogi na nowe pakiety oraz
+archiwum. Mo¿e tak¿e przenosiæ stare pakiety do archiwum.
 
 %prep
 %setup -q
@@ -39,9 +41,9 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1,etc}
 
 install freshrpms $RPM_BUILD_ROOT%{_bindir}/freshrpms
-install freshrpms.conf $RPM_BUILD_ROOT/etc/freshrpms.conf
+install freshrpms.conf $RPM_BUILD_ROOT%{_sysconfdir}/freshrpms.conf
 
-gzip -9fn {README,freshrpms.1}
+gzip -9nf {README,freshrpms.1}
 
 install freshrpms.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/freshrpms.1.gz
 
@@ -51,6 +53,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README.gz
-%config /etc/freshrpms.conf
+%config %{_sysconfdir}/freshrpms.conf
 %attr(755,root,root) %{_bindir}/freshrpms
 %{_mandir}/man1/freshrpms.1.gz
This page took 0.089212 seconds and 4 git commands to generate.