]> git.pld-linux.org Git - packages/autorpm.git/blame - autorpm.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/autorpm.git] / autorpm.spec
CommitLineData
fee59d64 1Summary: RPM Auto-Installer or FTP Mirrorer
14af214e 2Summary(pl.UTF-8): Automatyczny instalator i mirror FTP pakietów rpm
fee59d64 3Name: autorpm
0ee7a494 4Version: 3.3.3
ba703764 5Release: 0.2
bdaecd23 6License: GPL
f26eabc0 7Group: Applications/System
bdaecd23 8Source0: ftp://ftp.kaybee.org/pub/linux/%{name}-%{version}.tar.gz
0ee7a494 9# Source0-md5: 7d81dd57443223a184694378ab72b57b
464ba72c
RW
10Source1: %{name}-pld-updates.conf
11Source2: %{name}-pld-updates
12Patch0: %{name}-config.patch
fee59d64 13URL: http://www.kaybee.org/~kirk/html/linux.html
c618ae8d 14BuildRequires: rpm-perlprov
e0d7b228 15Requires: /bin/rpm
bd77e25a 16Requires: whiptail
ba703764 17# any reason for whiptail being duplicate? should be mentioned here.
4a5790a1 18Requires: /bin/mail
bd77e25a 19Requires: /usr/bin/whiptail
b16236ad 20BuildArch: noarch
3d475c31 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
5bb5e101 22
23%description
e1e12805 24AutoRPM is a program that can do any combination of the following:
25mirror RPMs from an FTP site, keep installed RPMs consistent with an
26FTP site or local directory, and keep installed RPMs in a cluster or
27network of systems consistent. It is highly flexible and even contains
28a very nice, menu-driven Interactive-Install mode.
5bb5e101 29
3d71c6e6
JR
30%description -l pl.UTF-8
31AutoRPM jest programem, który może wykonywać dowolną kombinację
32następujących czynności: mirrorowanie pakietów rpm z podanego adresu
33serwera FTP, aktualizowanie bazy zainstalowanych pakietów względem
34zawartości serwera FTP lub katalogu lokalnego. Autorpm jest dość łatwo
35konfigurowalny i posiada dość duże możliwości. Można go używać w
36trybie wsadowym i interakcyjnym gdzie posiada dość przyjemny
e1e12805 37interfejs.
5bb5e101 38
39%prep
40%setup -q
464ba72c 41%patch0 -p1
5bb5e101 42
5bb5e101 43%install
44rm -rf $RPM_BUILD_ROOT
2cea22c2 45install -d $RPM_BUILD_ROOT{/etc/cron.daily,%{_mandir}/man{5,8},%{_sbindir}} \
8f30b8d5
RW
46 $RPM_BUILD_ROOT{/var/spool/autorpm,%{_sysconfdir}/autorpm.d/pools} \
47 $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/addons
5bb5e101 48
013a7877 49install autorpm.pl $RPM_BUILD_ROOT%{_sbindir}/autorpm
50install autorpm.d/sample_configs/autorpm.conf-sample $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/autorpm.conf
5bb5e101 51
013a7877 52install man/autorpm.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
53install man/autorpm.8 $RPM_BUILD_ROOT%{_mandir}/man8
54install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/pld-updates.conf
55install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/pools/pld-updates
5bb5e101 56
e0d7b228 57sed -e "s=/bin/bash=/bin/sh=" autorpm.cron > $RPM_BUILD_ROOT/etc/cron.daily/autorpm
5bb5e101 58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
fee59d64 63%defattr(644,root,root,755)
013a7877 64%doc docs/{README,CREDITS,queue.format} project/{CHANGES,TODO} autorpm.d/support/{tips,introduction.txt}
65%doc autorpm.d/sample_configs
e0d7b228
AF
66%{_mandir}/man[58]/*
67%defattr(640,root,root,750)
5bb5e101 68%dir /var/spool/autorpm
bdaecd23 69%dir %{_sysconfdir}/autorpm.d
70%dir %{_sysconfdir}/autorpm.d/pools
8f30b8d5 71%dir %{_sysconfdir}/autorpm.d/addons
7de02c3a
ER
72%config(missingok) %verify(not md5 mtime size) %{_sysconfdir}/autorpm.d/autorpm.conf
73%config(missingok) %verify(not md5 mtime size) %{_sysconfdir}/autorpm.d/pld-updates.conf
74%config(missingok) %verify(not md5 mtime size) %{_sysconfdir}/autorpm.d/pools/pld-updates
e0d7b228 75
bf6a2499 76%attr(755,root,root) %{_sbindir}/autorpm
fee59d64 77%attr(750,root,root) /etc/cron.daily/autorpm
This page took 0.044652 seconds and 5 git commands to generate.