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