From: kloczek Date: Wed, 22 Mar 2000 00:57:56 +0000 (+0000) Subject: - spec adapterized. X-Git-Url: http://git.pld-linux.org/?p=packages%2Fautorpm.git;a=commitdiff_plain;h=bdaecd230d8675720843aac41357cec3b3f19665;hp=4a5790a13f1d87e44785246a3c69d801d21a9639 - spec adapterized. Changed files: autorpm.spec -> 1.14 --- diff --git a/autorpm.spec b/autorpm.spec index 3859044..e4e651e 100644 --- a/autorpm.spec +++ b/autorpm.spec @@ -4,10 +4,10 @@ Summary(pl): Auto instalator i ftp mirror pakietow rpm Name: autorpm Version: 1.9.8.4 Release: 3 -Copyright: GPL +License: GPL Group: Utilities/System Group(pl): Narzêdzia/System -Source: ftp://ftp.kaybee.org/pub/linux/%{name}-%{version}.tar.gz +Source0: ftp://ftp.kaybee.org/pub/linux/%{name}-%{version}.tar.gz URL: http://www.kaybee.org/~kirk/html/linux.html Requires: /bin/rpm Requires: /usr/bin/whiptail @@ -18,15 +18,15 @@ BuildRoot: /tmp/%{name}-%{version}-root AutoRPM is a program that can do any combination of the following: mirror RPMs from an FTP site, keep installed RPMs consistent with an FTP site or local directory, and keep installed RPMs in a cluster or network of systems -consistent. It is highly flexible and even contains a very nice, menu-driven -Interactive-Install mode. +consistent. It is highly flexible and even contains a very nice, +menu-driven Interactive-Install mode. %description -l pl AutoRPM jest programem, który mo¿e wykonywaæ dowoln± kombinacjê nastêpuj±cych czynno¶ci: mirrorowanie pakietów rpm z podanego adresu serwea ftp, aktualizowanie bazy zainstalowanych pakietów wzglêdem zawarto¶ci -serwera ftp lub katalogu lokalnego. Autorpm jest do¶æ ³atwo konfigurowalny i -posiada do¶æ du¿e mo¿liwo¶ci. Mo¿na go u¿ywaæ w trybie wsadowym i +serwera ftp lub katalogu lokalnego. Autorpm jest do¶æ ³atwo konfigurowalny +i posiada do¶æ du¿e mo¿liwo¶ci. Mo¿na go u¿ywaæ w trybie wsadowym i interakcyjnym gdzie posiada do¶æ przyjemny interfejs. %prep @@ -37,13 +37,13 @@ interakcyjnym gdzie posiada do %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{/etc/cron.daily,%{_mandir}/man{5,8},%{_sbindir}} \ - $RPM_BUILD_ROOT{/var/spool/autorpm,/etc/autorpm.d/pools} + $RPM_BUILD_ROOT{/var/spool/autorpm,%{_sysconfdir}/autorpm.d/pools} install autorpm.pl $RPM_BUILD_ROOT%{_sbindir}/autorpm -install autorpm.conf $RPM_BUILD_ROOT/etc/autorpm.d/autorpm.conf.sample -touch $RPM_BUILD_ROOT/etc/autorpm.d/autorpm.conf -install autorpm.d/* $RPM_BUILD_ROOT/etc/autorpm.d/ -install pools/* $RPM_BUILD_ROOT/etc/autorpm.d/pools/ +install autorpm.conf $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/autorpm.conf.sample +touch $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/autorpm.conf +install autorpm.d/* $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/ +install pools/* $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/pools/ install autorpm.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5 install autorpm.8 $RPM_BUILD_ROOT%{_mandir}/man8 @@ -62,12 +62,12 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man[58]/* %defattr(640,root,root,750) %dir /var/spool/autorpm -%dir /etc/autorpm.d -%dir /etc/autorpm.d/pools -%config(missingok) %verify(not mtime,md5,size) /etc/autorpm.d/autorpm.conf.sample -%ghost /etc/autorpm.d/autorpm.conf -%config(missingok) %verify(not mtime,md5,size) /etc/autorpm.d/*updates* -%config(missingok) %verify(not mtime,md5,size) /etc/autorpm.d/pools/*updates* +%dir %{_sysconfdir}/autorpm.d +%dir %{_sysconfdir}/autorpm.d/pools +%config(missingok) %verify(not mtime,md5,size) %{_sysconfdir}/autorpm.d/autorpm.conf.sample +%ghost %{_sysconfdir}/autorpm.d/autorpm.conf +%config(missingok) %verify(not mtime,md5,size) %{_sysconfdir}/autorpm.d/*updates* +%config(missingok) %verify(not mtime,md5,size) %{_sysconfdir}/autorpm.d/pools/*updates* %attr(750,root,root) %{_sbindir}/autorpm %attr(750,root,root) /etc/cron.daily/autorpm