]> git.pld-linux.org Git - packages/autorpm.git/blob - autorpm.spec
- gzipping documentation,
[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 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
11 Requires:       rpm
12 Requires:       dialog
13 Requires:       libnet
14 Requires:       mailx
15 BuildRoot:      /tmp/%{name}-%{version}-root
16
17 %description
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.
23
24 %description -l pl
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.
31
32 %prep
33 %setup -q
34
35 %build
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT/{etc/cron.daily,usr/{man/man{5,8},sbin},var/spool/autorpm}
40
41 install autorpm.pl $RPM_BUILD_ROOT/usr/sbin/autorpm
42 install autorpm.conf $RPM_BUILD_ROOT/etc/autorpm.conf.sample
43
44 install autorpm.conf.5 $RPM_BUILD_ROOT/usr/man/man5
45 install autorpm.8 $RPM_BUILD_ROOT/usr/man/man8
46
47 ln -sf ../../usr/sbin/autorpm $RPM_BUILD_ROOT/etc/cron.daily/autorpm
48
49 gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/* \
50         README CHANGES CREDITS TODO
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc {README,CHANGES,CREDITS,TODO}.gz
58 %dir /var/spool/autorpm
59 %attr(600,root,root) %config(missingok) /etc/autorpm.conf.sample
60 %attr(750,root,root) /usr/sbin/autorpm
61 %attr(750,root,root) /etc/cron.daily/autorpm
62 /usr/man/man[58]/*
63
64 %changelog
65 * Wed Jan 26 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
66   [1.7.1-1d]
67 - added gzipping man pages,
68 - added bzipping2 %doc,
69
70 * Wed Nov 13 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
71   [1.6.1-2]
72 - added -q %setup parameter,
73 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
74 - added using %%{name} and %%{version} in Source,
75 - removed %postun,
76 - added pl translation,
77 - simplification in %install and %files,
78 - added %attr and %defattr macros in %files (allows build package from
79   non-root account).
80
81 * Sun Mar 08 1998 Kirk Bauer <kirk@kaybee.org>
82 - initial release
This page took 0.086552 seconds and 4 git commands to generate.