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