automatic version update by autodist [release 0.4b44-1mamba;Fri Aug 05 2011]
This commit is contained in:
parent
ff3163350f
commit
bf58a35a87
@ -1,2 +1,5 @@
|
||||
# dump
|
||||
|
||||
Dump examines files in a filesystem, determines which ones need to be backed up, and copies those files to a specified disk, tape or other storage medium.
|
||||
The restore command performs the inverse function of dump
|
||||
|
||||
|
100
dump.spec
Normal file
100
dump.spec
Normal file
@ -0,0 +1,100 @@
|
||||
%define build_static 0
|
||||
Name: dump
|
||||
Version: 0.4b44
|
||||
Release: 1mamba
|
||||
Summary: Programs for backing up and restoring ext2/ext3 filesystems
|
||||
Group: Applications/Archiving
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Aleph0 <aleph0@openmamba.org>
|
||||
URL: http://dump.sourceforge.net/
|
||||
Source: http://switch.dl.sourceforge.net/sourceforge/dump/dump-%{version}.tar.gz
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libbzip2-devel
|
||||
BuildRequires: libe2fs-devel
|
||||
BuildRequires: libncurses-devel
|
||||
BuildRequires: libreadline-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Dump examines files in a filesystem, determines which ones need to be backed up, and copies those files to a specified disk, tape or other storage medium.
|
||||
The restore command performs the inverse function of dump
|
||||
|
||||
%prep
|
||||
%setup -q -a0
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-rmt --disable-kerberos
|
||||
%make
|
||||
|
||||
%if "%{build_static}" != "0"
|
||||
cd %{name}-%{version}
|
||||
%configure --enable-static \
|
||||
--disable-rmt --disable-kerberos
|
||||
%make
|
||||
%endif
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
install -d %{buildroot}/sbin
|
||||
install -d %{buildroot}%{_mandir}/man8
|
||||
|
||||
%makeinstall \
|
||||
SBINDIR=%{buildroot}/sbin \
|
||||
MANDIR=%{buildroot}%{_mandir}/man8 \
|
||||
BINOWNER=$(id -un) \
|
||||
BINGRP=$(id -gn) \
|
||||
MANOWNER=$(id -un) \
|
||||
MANGRP=$(id -gn)
|
||||
|
||||
%if "%{build_static}" != "0"
|
||||
install %{name}-%{version}/dump/dump %{buildroot}/sbin/dump.static
|
||||
install %{name}-%{version}/restore/restore %{buildroot}/sbin/restore.static
|
||||
|
||||
ln -sf dump.static %{buildroot}/sbin/rdump.static
|
||||
ln -sf restore.static %{buildroot}/sbin/rrestore.static
|
||||
%endif
|
||||
|
||||
install -d %{buildroot}%{_sysconfdir}
|
||||
> %{buildroot}%{_sysconfdir}/dumpdates
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/sbin/dump
|
||||
/sbin/rdump
|
||||
/sbin/restore
|
||||
/sbin/rrestore
|
||||
%if "%{build_static}" != "0"
|
||||
/sbin/dump.static
|
||||
/sbin/rdump.static
|
||||
/sbin/restore.static
|
||||
/sbin/rrestore.static
|
||||
%endif
|
||||
%attr(0664,root,disk) %config(noreplace) %{_sysconfdir}/dumpdates
|
||||
%{_mandir}/man8/dump.*
|
||||
%{_mandir}/man8/rdump.*
|
||||
%{_mandir}/man8/restore.*
|
||||
%{_mandir}/man8/rrestore.*
|
||||
%doc CHANGES README THANKS TODO
|
||||
|
||||
%changelog
|
||||
* Fri Aug 05 2011 Automatic Build System <autodist@mambasoft.it> 0.4b44-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Feb 23 2011 Automatic Build System <autodist@mambasoft.it> 0.4b43-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Wed Dec 12 2007 Aleph0 <aleph0@openmamba.org> 0.4b41-2mamba
|
||||
- updated distribution and vendor tags
|
||||
|
||||
* Wed Feb 07 2007 Aleph0 <aleph0@openmamba.org> 0.4b41-1qilnx
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user