|
# $Id: flexbackup.spec,v 1.1 2013/02/14 17:06:59 slords Exp $ |
|
|
|
|
|
# Hey emacs, use -*-rpm-spec-*- mode... |
|
|
|
|
1 |
%define version 1.2.1 |
%define version 1.2.1 |
2 |
|
%define deb_release 6.4 |
3 |
|
|
4 |
Summary: Flexible backup script |
Summary: Flexible backup script |
5 |
Name: flexbackup |
Name: flexbackup |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: 1%{?dist} |
Release: %{deb_release}.2%{?dist} |
8 |
Epoch: 0 |
Epoch: 0 |
9 |
License: GPL |
License: GPL |
10 |
Group: Applications/Archiving |
Group: Applications/Archiving |
11 |
URL: http://www.flexbackup.org |
URL: http://www.edwinh.org/flexbackup/ |
12 |
Source0: flexbackup-%{version}.tar.gz |
Source0: flexbackup-%{version}-%{deb_release}.tar.gz |
13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
14 |
BuildArch: noarch |
BuildArch: noarch |
15 |
Requires: gzip |
Requires: gzip |
31 |
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 |
32 |
o Nice log files |
o Nice log files |
33 |
|
|
34 |
|
(debian version : https://packages.debian.org/buster/flexbackup) |
35 |
|
|
36 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
37 |
%prep |
%prep |
38 |
%setup -q |
%setup -q -n flexbackup-%{version}-%{deb_release} |
39 |
|
|
|
#--------------------------------------------------------------------- |
|
|
%build |
|
|
make all PREFIX=/usr CONFFILE=/etc/flexbackup.conf |
|
|
|
|
|
#--------------------------------------------------------------------- |
|
40 |
%install |
%install |
41 |
rm -rf %{buildroot} |
/bin/rm -rf $RPM_BUILD_ROOT |
42 |
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 |
|
43 |
|
|
|
#--------------------------------------------------------------------- |
|
44 |
%clean |
%clean |
45 |
rm -rf %{buildroot} |
/bin/rm -rf $RPM_BUILD_ROOT |
46 |
|
|
|
#--------------------------------------------------------------------- |
|
47 |
%files |
%files |
48 |
%defattr(-,root,root,-) |
%defattr(-,root,root,-) |
49 |
%config(noreplace) /etc/flexbackup.conf |
/etc/flexbackup.conf |
50 |
%{_bindir}/* |
/usr/bin/flexbackup |
51 |
%{_mandir}/*/* |
/usr/share/* |
52 |
%dir /var/lib/flexbackup |
%dir /var/lib/flexbackup |
53 |
%dir /var/log/flexbackup |
%dir /var/log/flexbackup |
|
%doc CHANGES COPYING TODO README CREDITS INSTALL faq.html |
|
54 |
|
|
55 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
56 |
%changelog |
%changelog |
57 |
|
* Sat May 15 2021 Michel Begue <mab974@gmail.com> 1.2.1-6.4.2.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> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
68 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
69 |
|
|