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