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