1 |
# $Id: flexbackup.spec,v 1.1 2013/02/14 17:06:59 slords Exp $ |
%define version 1.2.1.64 |
|
|
|
|
# Hey emacs, use -*-rpm-spec-*- mode... |
|
|
|
|
|
%define version 1.2.1 |
|
2 |
|
|
3 |
Summary: Flexible backup script |
Summary: Flexible backup script |
4 |
Name: flexbackup |
Name: flexbackup |
7 |
Epoch: 0 |
Epoch: 0 |
8 |
License: GPL |
License: GPL |
9 |
Group: Applications/Archiving |
Group: Applications/Archiving |
10 |
URL: http://www.flexbackup.org |
URL: http://www.edwinh.org/flexbackup/ |
11 |
Source0: flexbackup-%{version}.tar.gz |
Source0: flexbackup-%{version}.tar.gz |
12 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
13 |
BuildArch: noarch |
BuildArch: noarch |
30 |
o Keeps a table of contents so you know archives are on each tape |
o Keeps a table of contents so you know archives are on each tape |
31 |
o Nice log files |
o Nice log files |
32 |
|
|
33 |
|
(debian version : https://packages.debian.org/buster/flexbackup) |
34 |
|
|
35 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
36 |
%prep |
%prep |
37 |
%setup -q |
%setup -q |
38 |
|
|
|
#--------------------------------------------------------------------- |
|
|
%build |
|
|
make all PREFIX=/usr CONFFILE=/etc/flexbackup.conf |
|
|
|
|
|
#--------------------------------------------------------------------- |
|
39 |
%install |
%install |
40 |
rm -rf %{buildroot} |
/bin/rm -rf $RPM_BUILD_ROOT |
41 |
mkdir -p $RPM_BUILD_ROOT/etc |
(/usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
|
mkdir -p $RPM_BUILD_ROOT%{_bindir} |
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 |
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5 |
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/flexbackup |
|
|
mkdir -p $RPM_BUILD_ROOT/var/log/flexbackup |
|
|
make install PREFIX=$RPM_BUILD_ROOT/usr CONFFILE=$RPM_BUILD_ROOT/etc/flexbackup.conf |
|
42 |
|
|
|
#--------------------------------------------------------------------- |
|
43 |
%clean |
%clean |
44 |
rm -rf %{buildroot} |
/bin/rm -rf $RPM_BUILD_ROOT |
45 |
|
|
|
#--------------------------------------------------------------------- |
|
46 |
%files |
%files |
47 |
%defattr(-,root,root,-) |
%defattr(-,root,root,-) |
48 |
%config(noreplace) /etc/flexbackup.conf |
/etc/flexbackup.conf |
49 |
%{_bindir}/* |
/usr/bin/flexbackup |
50 |
%{_mandir}/*/* |
/usr/share/* |
51 |
%dir /var/lib/flexbackup |
%dir /var/lib/flexbackup |
52 |
%dir /var/log/flexbackup |
%dir /var/log/flexbackup |
|
%doc CHANGES COPYING TODO README CREDITS INSTALL faq.html |
|
53 |
|
|
54 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
55 |
%changelog |
%changelog |
56 |
|
* 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 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
64 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
65 |
|
|