Package partclone: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 | %def_enable xfs %def_disable jfs %def_disable apfs %def_enable reiser4 %def_enable checkfs Name: partclone Version: 0.3.17 Release: alt1 Summary: File System Clone Utilities License: GPLv2+ Group: Archiving/Backup Url: http://partclone.org # Upstream: git://github.com/Thomas-Tsai/partclone.git Source: http://download.sourceforge.net/%name/%name-%version.tar Patch1: partclone-0.3.6-no_fail_mbr.patch Patch2: partclone-0.3.17-few_warns.patch Patch3: partclone-0.3.12-checkfs.patch # Automatically added by buildreq on Fri Dec 04 2015 # optimized out: libaal-devel libcom_err-devel libncurses-devel libntfs-3g libtinfo-devel pkg-config xz BuildRequires: libblkid-devel libe2fs-devel libncursesw-devel libntfs-3g-devel libprogsreiserfs-devel libuuid-devel BuildRequires: libssl-devel %if_enabled xfs BuildRequires: libxfs-devel %endif %if_enabled jfs BuildRequires: jfsutils %endif %if_enabled reiser4 BuildRequires: libreiser4-devel %endif # Checkfs requires %if_enabled checkfs BuildRequires: rpm-build-vm BuildRequires: e2fsprogs btrfs-progs dosfstools reiserfsprogs hfsprogs ntfs-3g %if_enabled xfs BuildRequires: xfsprogs %endif %if_enabled reiser4 BuildRequires: reiser4progs %endif %endif # TODO: build with ufs (need libufs2), jfs (need fixed build of jfsutils), apfs %description A set of file system clone utilities, including ext2/3/4,%{?_enable_xfs: xfs,}%{?_enable_jfs: jfs,} reiserfs,%{?_enable_reiser4: reiser4,}%{?_enable_apfs: apfs,} btrfs, ntfs, fat and hfs+ file systems. %prep %setup %patch1 -p1 %patch2 -p1 %patch3 -p1 echo '#define git_version "%version"' > src/version.h %build %autoreconf # NB: Due to buggy configure checks --disable-somefeature options does not # switch off configure requirement for correspondent devel packages and # configure will fail as if --enable-somefeature was in effect. %configure \ %{?_enable_checkfs: --enable-fs-test} \ --enable-btrfs \ --enable-extfs \ --enable-reiserfs \ --enable-hfsp \ --enable-fat \ --enable-ntfs \ --disable-vmfs \ %{subst_enable reiser4} \ %{subst_enable apfs} \ %{subst_enable xfs} \ %{subst_enable jfs} \ --enable-ncursesw %make_build CC="gcc" %install %makeinstall_std %find_lang %name %check %if_enabled checkfs %ifnarch ppc64le pushd tests vm-run make check || { for fname in *.log; do if [ "$fname" != "test-suite.log" ]; then echo "*** ${fname%%.log} results ***" cat "$fname" echo "******************************" echo fi done false } popd %endif %endif %files -f %name.lang %_sbindir/* %_man8dir/* %changelog * Sun Dec 20 2020 Leonid Krivoshein <klark@altlinux.org> 0.3.17-alt1 - Updated to upstream version 0.3.17 from SourceForge. - Dropped VMFS support. * Wed Feb 19 2020 Leonid Krivoshein <klark@altlinux.org> 0.3.12-alt1 - Updated to upstream version 0.3.12 from GitHub. - Fixed upstream sources for suppress few warnings. - Enabled checkfs test suite based on modern vm-run feature. * Wed Jul 31 2019 Michael Shigorin <mike@altlinux.org> 0.3.6-alt0.4.git96f986f - introduce reiser4 knob (on by default) - minor spec cleanup * Tue Jan 23 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.3.6-alt0.3.git96f986f - Rebuilt with new reiser4 libraries. * Wed Nov 15 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 0.3.6-alt0.2.git96f986f - Rebuilt with new reiser4 libraries. * Tue Sep 12 2017 Leonid Krivoshein <klark@altlinux.org> 0.3.6-alt0.1.git96f986f - Updated upstream version 0.3.6 from GitHub. - Moved to Archiving/Backup group. * Sun Apr 24 2016 Denis Medvedev <nbr@altlinux.org> 0.2.84-alt2 - Rebuild for new ntfs-3g. * Fri Dec 04 2015 Michael Shigorin <mike@altlinux.org> 0.2.84-alt1 - 0.2.84 - use ntfs-3g instead of libntfs - reenabled XFS support by default - added debian watch file - buildreq * Fri Dec 04 2015 Michael Shigorin <mike@altlinux.org> 0.2.58-alt3.1 - disabled XFS support by default (FTBFS against libxfs-3.1.11-alt1) * Sat Aug 31 2013 Led <led@altlinux.ru> 0.2.58-alt3 - rebuild with libreiser4 1.0.8 (libreiser4-1.0.so.8) * Fri Apr 12 2013 Andrey Cherepanov <cas@altlinux.org> 0.2.58-alt2 - Enable XFS support * Thu Apr 11 2013 Andrey Cherepanov <cas@altlinux.org> 0.2.58-alt1 - 0.2.58 * Fri Mar 16 2012 Victor Forsiuk <force@altlinux.org> 0.2.45-alt1 - 0.2.45 * Fri Jan 06 2012 Victor Forsiuk <force@altlinux.org> 0.2.43-alt1 - 0.2.43 * Sun Jun 19 2011 Victor Forsiuk <force@altlinux.org> 0.2.24-alt1 - 0.2.24 * Sat Apr 23 2011 Victor Forsiuk <force@altlinux.org> 0.2.23-alt1 - 0.2.23 * Fri Apr 22 2011 Victor Forsiuk <force@altlinux.org> 0.2.22-alt1 - 0.2.22 - Fixed build due to e2fsprogs-v1.41.12-107-gefe0b40 API change. Thanks to ldv@ for patch. * Wed Jan 26 2011 Victor Forsiuk <force@altlinux.org> 0.2.17-alt1 - 0.2.17 * Fri Dec 17 2010 Victor Forsiuk <force@altlinux.org> 0.2.16-alt1 - 0.2.16 * Fri Jun 19 2009 Grigory Batalov <bga@altlinux.ru> 0.1.1-alt2 - Built without xfs due to API change. * Thu Jun 18 2009 Grigory Batalov <bga@altlinux.ru> 0.1.1-alt1 - Built for ALT Linux. |