Name: partclone Version: 0.3.33 Release: 1 Group: System/Configuration/Other URL: https://partclone.sourceforge.net/ License: GPLv2 Summary: File System Clone Utilities #Source0: https://sourceforge.net/projects/partclone/files/source/%{name}-%{version}.tar.gz Source0: https://github.com/Thomas-Tsai/partclone/archive//%{version}/%{name}-%{version}.tar.gz #Patch0: https://src.fedoraproject.org/rpms/partclone/raw/rawhide/f/partclone-0.3.17-c99-for-loop.patch BuildRequires: pkgconfig(ext2fs) BuildRequires: pkgconfig(libntfs-3g) BuildRequires: ncursesw-devel BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(blkid) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(libbsd) BuildRequires: pkgconfig(uuid) BuildRequires: btrfs-devel BuildRequires: nilfs-utils-devel BuildRequires: gettext-devel BuildRequires: pkgconfig(fuse) %description Partclone provides utilities to back up and restore used-blocks of a partition and it is designed for higher compatibility of the file system by using existing library, e.g. e2fslibs is used to read and write the ext2 partition. Authors: -------- Thomas Tsai Jazz Wang http://partclone.sourceforge.net http://partclone.nchc.org.tw %prep %autosetup -p1 %build %configure \ --enable-extfs \ --enable-hfsp \ --enable-fat \ --enable-ntfs \ --enable-btrfs \ --enable-ncursesw \ --enable-fs-test \ --enable-xfs \ --enable-exfat \ --enable-f2fs \ --enable-nilfs2 \ --enable-minix %make_build %install %make_install # Building fail-mbr.bin requires a compiler that can build x86 binaries %ifnarch %{ix86} %{x86_64} rm -rf %{buildroot}%{_datadir}/%{name} %endif %find_lang %{name} %files -f %{name}.lang %doc AUTHORS ChangeLog README.md %doc %{_mandir}/man?/* %{_sbindir}/* %ifarch %{ix86} %{x86_64} %dir %{_datadir}/%{name} %{_datadir}/%{name}/fail-mbr.bin %endif %{_sysconfdir}/bash_completion.d/partclone-prompt