1 Summary: RPM Auto-Installer or FTP Mirrorer
2 Summary(pl): Auto instalator i ftp mirror pakietow rpm
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
15 BuildRoot: /tmp/%{name}-%{version}-root
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.
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.
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
42 install autorpm.pl $RPM_BUILD_ROOT%{_sbindir}/autorpm
43 install autorpm.conf $RPM_BUILD_ROOT/etc/autorpm.conf.sample
45 install autorpm.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
46 install autorpm.8 $RPM_BUILD_ROOT%{_mandir}/man8
48 ln -sf ../..%{_sbindir}/autorpm $RPM_BUILD_ROOT/etc/cron.daily/autorpm
50 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
51 README CHANGES CREDITS TODO
54 rm -rf $RPM_BUILD_ROOT
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