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