/[smeserver]/rpms/flexbackup/sme7/flexbackup.spec
ViewVC logotype

Contents of /rpms/flexbackup/sme7/flexbackup.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Jun 12 16:20:50 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: flexbackup-1_2_1-1_el4_sme
Import on branch sme7 of package flexbackup-1.2.1-1.el4.sme.src.rpm

1 # Hey emacs, use -*-rpm-spec-*- mode...
2
3 %define version 1.2.1
4
5 Summary: Flexible backup script
6 Name: flexbackup
7 Version: %{version}
8 Release: 1%{?dist}
9 Epoch: 0
10 License: GPL
11 Group: Applications/Archiving
12 URL: http://www.flexbackup.org
13 Source0: flexbackup-%{version}.tar.gz
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
15 BuildArch: noarch
16 Requires: gzip
17 Requires: fileutils
18 Requires: findutils
19
20 #---------------------------------------------------------------------
21 %description
22 A flexible backup tool
23
24 Features:
25 o Easy to configure
26 o Uses dump, afio, GNU tar, cpio, star, pax, or zip archivers
27 o Full and numbered levels of incremental backup (acts like "dump")
28 o Compression and buffering options for all backup types
29 o Does remote filesystems (over rsh/ssh; no special service)
30 o Can backup only files not owned by rpm, or changed from rpm version
31 o Writes to tapes, on-disk archive files, or on-disk directory trees
32 o Keeps a table of contents so you know archives are on each tape
33 o Nice log files
34
35
36 #---------------------------------------------------------------------
37 %prep
38 %setup -q
39
40 #---------------------------------------------------------------------
41 %build
42 make all PREFIX=/usr CONFFILE=/etc/flexbackup.conf
43
44 #---------------------------------------------------------------------
45 %install
46 rm -rf %{buildroot}
47 mkdir -p $RPM_BUILD_ROOT/etc
48 mkdir -p $RPM_BUILD_ROOT%{_bindir}
49 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
50 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5
51 mkdir -p $RPM_BUILD_ROOT/var/lib/flexbackup
52 mkdir -p $RPM_BUILD_ROOT/var/log/flexbackup
53 make install PREFIX=$RPM_BUILD_ROOT/usr CONFFILE=$RPM_BUILD_ROOT/etc/flexbackup.conf
54
55 #---------------------------------------------------------------------
56 %clean
57 rm -rf %{buildroot}
58
59 #---------------------------------------------------------------------
60 %files
61 %defattr(-,root,root,-)
62 %config(noreplace) /etc/flexbackup.conf
63 %{_bindir}/*
64 %{_mandir}/*/*
65 %dir /var/lib/flexbackup
66 %dir /var/log/flexbackup
67 %doc CHANGES COPYING TODO README CREDITS INSTALL faq.html
68
69 #---------------------------------------------------------------------
70 %changelog
71 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
72 - Clean up spec so package can be built by koji/plague
73
74 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
75 - Update to new release naming. No functional changes.
76 - Make Packager generic
77
78 * Tue Sep 23 2003 Edwin Huffstutler <edwinh@computer.org>
79 - cleanup spec a bit
80
81 * Tue Jul 29 2003 Edwin Huffstutler <edwinh@hercules.my-net>
82 - add manpages, tweak a bit
83
84 * Thu Jul 3 2003 Edwin Huffstutler <edwinh@hercules.my-net>
85 - update description
86
87 * Tue Feb 18 2003 Edwin Huffstutler <edwinh@hercules.my-net>
88 - config file is noreplace
89
90 * Wed Jan 15 2003 Edwin Huffstutler <edwinh+flexbackup@edwinh.org>
91 - defattr in right spot
92
93 * Sun Jan 12 2003 Edwin Huffstutler <edwinh+flexbackup@edwinh.org>
94 - updated
95
96 * Sat Sep 25 1999 Edwin Huffstutler <edwinh+flexbackup@edwinh.org>
97 - add more requires, update description, email address.
98 - really goes in /usr/bin since it needs perl anyway --
99 if you only have your root fs, run restore or tar by hand :)
100
101 * Sat Sep 18 1999 Edwin Huffstutler <edwinh+flexbackup@edwinh.org>
102 - initial rpm package

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed