]> git.pld-linux.org Git - packages/freshrpms.git/blob - freshrpms.spec
- massive attack: source-md5
[packages/freshrpms.git] / freshrpms.spec
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
4 Name:           freshrpms
5 Version:        0.7.4
6 Release:        6
7 License:        distributable
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
11 Requires:       perl-libnet
12 Requires:       perl >= 5.004
13 Buildarch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
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.
26
27 %description -l pl
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.
36
37 %prep
38 %setup -q
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1,etc}
43
44 chmod u+w .
45
46 install freshrpms $RPM_BUILD_ROOT%{_bindir}/freshrpms
47 install freshrpms.conf $RPM_BUILD_ROOT%{_sysconfdir}/freshrpms.conf
48
49 install freshrpms.1 $RPM_BUILD_ROOT%{_mandir}/man1/
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc README
57 %config %{_sysconfdir}/freshrpms.conf
58 %attr(755,root,root) %{_bindir}/freshrpms
59 %{_mandir}/man1/freshrpms.1*
This page took 0.098845 seconds and 3 git commands to generate.