1 %include /usr/lib/rpm/macros.perl
2 Summary: Fetch RPM packages from FTP servers which are newer than the ones installed on your system
3 Summary(pl): ¦ci±ga nowe pakiety RPM z serwerów FTP
8 Group: Applications/System
9 Source0: ftp://ftp.cs.tu-berlin.de/pub/local/flp/lutzeb/software/freshrpms/%{name}.tar.gz
10 # Source0-md5: afce815b87a5e0b758932d94f634525f
12 Requires: perl >= 5.004
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 freshrpms is a Perl5 script which fetches RPM packages from FTP
18 servers which version numbers are higher than the ones installed on
19 your system. freshrpms does not install any RPMs by itself but makes
20 use of the package manager program to determine which RPM packages are
21 currently installed. freshrpms uses a configuration file to accomplish
22 its task which defines multiple FTP servers, directories to look for
23 RPMs, local download directories and local archive directories for
24 installed RPMs. It can also garbage collect local archived RPMs which
25 are older than the currenly installed ones.
28 freshrpms jest skryptem w jêzyku Perl, ¶ci±gaj±cym z serwerów FTP
29 pakiety RPM, których numery wersji s± wy¿sze ni¿ tych zainstalowanych
30 w Twoim systemie. freshrpms nie instaluje samodzielnie ¿adnych
31 pakietów, ale tylko wykorzystuje zarz±dcê pakietów, aby sprawdziæ
32 jakie pakiety masz zainstalowane. freshrpms do wykonania swojego
33 zadania u¿ywa pliku konfiguracyjnego, który definiuje u¿ywane serwery
34 FTP, ¶cie¿ki poszukiwañ, lokalne katalogi na nowe pakiety oraz
35 archiwum. Mo¿e tak¿e przenosiæ stare pakiety do archiwum.
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1,etc}
46 install freshrpms $RPM_BUILD_ROOT%{_bindir}/freshrpms
47 install freshrpms.conf $RPM_BUILD_ROOT%{_sysconfdir}/freshrpms.conf
49 install freshrpms.1 $RPM_BUILD_ROOT%{_mandir}/man1/
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %config %{_sysconfdir}/freshrpms.conf
58 %attr(755,root,root) %{_bindir}/freshrpms
59 %{_mandir}/man1/freshrpms.1*