]> git.pld-linux.org Git - packages/autorpm.git/blob - autorpm.spec
86a61bef8c916524fe0e68afbc319900e297ee96
[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.7.1
5 Release:        1d
6 Copyright:      GPL
7 Group:          Utilities/System
8 Source:         ftp://ftp.kaybee.org/pub/linux/%{name}-%{version}.tar.gz
9 URL:            http://www.kaybee.org/~kirk/html/linux.html
10 Requires:       rpm
11 Requires:       dialog
12 Requires:       libnet
13 Requires:       mailx
14 BuildRoot:      /tmp/%{name}-%{version}-root
15
16 %description
17 AutoRPM is a program that can do any combination of the following: mirror
18 RPMs from an FTP site, keep installed RPMs consistent with an FTP site or
19 local directory, and keep installed RPMs in a cluster or network of systems
20 consistent. It is highly flexible and even contains a very nice, menu-driven
21 Interactive-Install mode.
22
23 %description -l pl
24 AutoRPM jest programem, który mo¿e wykonywaæ dowoln± kombinacjê
25 nastêpuj±cych czynno¶ci: mirrorowanie pakietów rpm z podanego adresu serwea
26 ftp, aktualizowanie bazy zainstalowanych pakietów wzglêdem zawarto¶ci
27 serwera ftp lub katalogu lokalnego. Autorpm jest do¶æ ³±two konfigurowalny i
28 posiada do¶æ du¿e mo¿liwo¶ci. Mo¿na go u¿ywaæ w trybie wsadowym i
29 interakcyjnym gdzie posiada do¶æ przyjemny interfejs.
30
31 %prep
32 %setup -q
33
34 %build
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT/{etc/cron.daily,usr/{man/man{5,8},sbin},var/spool/autorpm}
39
40 install autorpm.pl $RPM_BUILD_ROOT/usr/sbin/autorpm
41 install autorpm.conf $RPM_BUILD_ROOT/etc/autorpm.conf.sample
42
43 install autorpm.conf.5 $RPM_BUILD_ROOT/usr/man/man5
44 install autorpm.8 $RPM_BUILD_ROOT/usr/man/man8
45
46 ln -sf ../../usr/sbin/autorpm $RPM_BUILD_ROOT/etc/cron.daily/autorpm
47
48 gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/*
49 bzip -9 README CHANGES CREDITS TODO
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc {README,CHANGES,CREDITS,TODO}.bz2
57 %dir /var/spool/autorpm
58 %attr(600,root,root) %config(missingok) /etc/autorpm.conf.sample
59 %attr(750,root,root) /usr/sbin/autorpm
60 %attr(644,root, man) /usr/man/man[58]/*
61 %attr(750,root,root) /etc/cron.daily/autorpm
62
63 %changelog
64 * Wed Jan 26 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
65   [1.7.1-1d]
66 - added gzipping man pages,
67 - added bzipping2 %doc,
68
69 * Wed Nov 13 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
70   [1.6.1-2]
71 - added -q %setup parameter,
72 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
73 - added using %%{name} and %%{version} in Source,
74 - removed %postun,
75 - added pl translation,
76 - simplification in %install and %files,
77 - added %attr and %defattr macros in %files (allows build package from
78   non-root account).
79
80 * Sun Mar 08 1998 Kirk Bauer <kirk@kaybee.org>
81 - initial release
This page took 0.045243 seconds and 2 git commands to generate.