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