]> git.pld-linux.org Git - packages/autorpm.git/blob - autorpm.spec
- added using CVS keywords in %changelog (for automating them).
[packages/autorpm.git] / autorpm.spec
1 Summary:        RPM Auto-Installer or FTP Mirrorer
2 Summary(pl):    Auto instalator i ftp mirror pakietow rpm
3 Name:           autorpm
4 Version:        1.8
5 Release:        1
6 Copyright:      GPL
7 Group:          Utilities/System
8 Group(pl):      Narzêdzia/System
9 Source:         ftp://ftp.kaybee.org/pub/linux/%{name}-%{version}.tar.gz
10 URL:            http://www.kaybee.org/~kirk/html/linux.html
11 Requires:       rpm
12 Requires:       dialog
13 Requires:       libnet
14 Requires:       mailx
15 BuildRoot:      /tmp/%{name}-%{version}-root
16
17 %description
18 AutoRPM is a program that can do any combination of the following: mirror
19 RPMs from an FTP site, keep installed RPMs consistent with an FTP site or
20 local directory, and keep installed RPMs in a cluster or network of systems
21 consistent. It is highly flexible and even contains a very nice, menu-driven
22 Interactive-Install mode.
23
24 %description -l pl
25 AutoRPM jest programem, który mo¿e wykonywaæ dowoln± kombinacjê
26 nastêpuj±cych czynno¶ci: mirrorowanie pakietów rpm z podanego adresu serwea
27 ftp, aktualizowanie bazy zainstalowanych pakietów wzglêdem zawarto¶ci
28 serwera ftp lub katalogu lokalnego. Autorpm jest do¶æ ³±two konfigurowalny i
29 posiada do¶æ du¿e mo¿liwo¶ci. Mo¿na go u¿ywaæ w trybie wsadowym i
30 interakcyjnym gdzie posiada do¶æ przyjemny interfejs.
31
32 %prep
33 %setup -q
34
35 %build
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{/etc/cron.daily,%{_mandir}/man{5,8},%{_sbindir}} \
40         $RPM_BUILD_ROOT/var/spool/autorpm
41
42 install autorpm.pl $RPM_BUILD_ROOT%{_sbindir}/autorpm
43 install autorpm.conf $RPM_BUILD_ROOT/etc/autorpm.conf.sample
44
45 install autorpm.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
46 install autorpm.8 $RPM_BUILD_ROOT%{_mandir}/man8
47
48 ln -sf ../..%{_sbindir}/autorpm $RPM_BUILD_ROOT/etc/cron.daily/autorpm
49
50 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
51         README CHANGES CREDITS TODO
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc {README,CHANGES,CREDITS,TODO}.gz
59 %dir /var/spool/autorpm
60 %attr(600,root,root) %config(missingok) /etc/autorpm.conf.sample
61 %attr(750,root,root) %{_sbindir}/autorpm
62 %attr(750,root,root) /etc/cron.daily/autorpm
63 %{_mandir}/man[58]/*
This page took 0.055903 seconds and 3 git commands to generate.