1 Star 0 Fork 18

wangzhiqiang/dump

forked from src-openEuler/dump 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dump.spec 2.42 KB
一键复制 编辑 原始数据 按行查看 历史
wangzhiqiang 提交于 2022-10-29 10:50 . modify source0 url
Name: dump
Epoch: 1
Version: 0.4
Release: 6
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-%{version}b47.tar.gz
Patch1: 0001-fix-multiple-define-for-gcc10.patch
BuildRequires: make e2fsprogs-devel readline-devel automake libtool
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.4b47 -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 Oct 29 2022 wangzhiqiang <[email protected]> - 1:0.4-6
- modify source0 url
* Wed Nov 17 2021 Wenchao Hao <[email protected]> - 0.4-5
- Update to dump-0.4b47
* Wed Aug 04 2021 chenyanpanHW <[email protected]> - 0.4-4
- DESC: delete BuildRequires gdb
* Fri Jul 30 2021 yanglongkang <[email protected]> - 1:0.4-3
- fix multiple define for gcc10
* Sat Mar 21 2020 openEuler Buildteam <[email protected]> - 1:0.4-2
- Add build requires of gdb
* Fri Oct 11 2019 openEuler Buildteam <[email protected]> - 1:0.4-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/foolstrong/dump.git
[email protected]:foolstrong/dump.git
foolstrong
dump
dump
master

搜索帮助