122 Star 0 Fork 16

src-openEuler / dump

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dump.spec 2.06 KB
一键复制 编辑 原始数据 按行查看 历史
liangdong 提交于 2020-03-21 23:54 . add build requires of make
Name: dump
Epoch: 1
Version: 0.4
Release: 2
Summary: Programs for backing up and restoring ext2/3/4 filesystems
License: BSD
URL: http://dump.sourceforge.net/
Source0: http://downloads.sourceforge.net/dump/dump-0.4b46.tar.gz
Patch0: dump-buildfix.patch
Patch1: dump-remove-lzo.patch
BuildRequires: make e2fsprogs-devel readline-devel automake libtool gdb
BuildRequires: bzip2-devel libselinux-devel zlib-devel lzo-devel
Requires: setup rmt
Obsoletes: dump-static
Provides: dump-static
%description
The dump package contains both dump and restore.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. Subsequent incremental backups can then be layered on top of the full backup.
The restore command performs the inverse function of dump; it can restore a full backup of a filesystem.
Single files and directory subtrees may also be restored from full or partial backups in interractive mode.
%package_help
%prep
%autosetup -n %{name}-0.4b46 -p1
%build
autoreconf -fiv
export CFLAGS="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wno-char-subscripts -fno-strict-aliasing"
%configure --disable-static --enable-transselinux --enable-largefile --disable-rmt --enable-qfa \
--enable-readline --with-binmode=0755 --with-manowner=root --with-mangrp=root --with-manmode=0644
%make_build
%install
%make_install
pushd %{buildroot}
ln -sf dump .%{_sbindir}/rdump
ln -sf restore .%{_sbindir}/rrestore
mkdir -p .%{_sysconfdir}
> .%{_sysconfdir}/dumpdates
popd
%pre
%preun
%post
%postun
%files
%license COPYING AUTHORS
%doc KNOWNBUGS MAINTAINERS NEWS REPORTING-BUGS dump.lsm
%attr(0664,root,disk) %config(noreplace) %{_sysconfdir}/dumpdates
%{_sbindir}/*
%exclude %{_sbindir}/rmt
%files help
%doc INSTALL README TODO
%{_mandir}/*/*
%changelog
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:0.4-2
- Add build requires of gdb
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:0.4-1
- Package init
1
https://gitee.com/src-openeuler/dump.git
git@gitee.com:src-openeuler/dump.git
src-openeuler
dump
dump
openEuler-20.03-LTS

搜索帮助