]>
Commit | Line | Data |
---|---|---|
52b3ea83 TP |
1 | Summary: Utility to clone and restore partitions |
2 | Name: partclone | |
c6e0024e | 3 | Version: 0.2.58 |
fdd9a242 | 4 | Release: 2 |
52b3ea83 TP |
5 | License: GPL v2+ |
6 | Group: Applications/System | |
7 | Source0: http://downloads.sourceforge.net/partclone/%{name}-%{version}.tar.gz | |
c6e0024e | 8 | # Source0-md5: 8d8edeab8a0ce430d2e00efcc25f4ce7 |
332a52d1 | 9 | Patch0: automake.patch |
52b3ea83 TP |
10 | URL: http://partclone.org/ |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: e2fsprogs-devel | |
6ea24c5f | 14 | BuildRequires: gettext-devel |
52b3ea83 TP |
15 | BuildRequires: libuuid-devel |
16 | BuildRequires: ncurses-devel | |
d7bc7226 | 17 | BuildRequires: ntfs-3g-devel |
52b3ea83 TP |
18 | BuildRequires: pkgconfig >= 0.9.0 |
19 | #BuildRequires: progsreiserfs-devel | |
20 | #BuildRequires: reiser4progs-devel | |
21 | #BuildRequires: xfsprogs-devel | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Partclone is a project like the well-known backup utility "Partition | |
26 | Image" a.k.a partimage. | |
27 | ||
28 | Partclone provides utilities to back up used blocks and design for | |
29 | higher compatibility of the file system using supported library like | |
30 | e2fslibs. | |
31 | ||
32 | %prep | |
33 | %setup -q | |
332a52d1 | 34 | %patch0 -p1 |
d7bc7226 | 35 | |
52b3ea83 TP |
36 | #sed -e 's|libxfs.h|xfs.h|' -i configure.ac -i src/xfsclone.[ch] |
37 | sed -e 's|ncurses.h|ncurses/ncurses.h|' -i configure.ac -i src/{partclone,progress}.c | |
38 | ||
7117754e | 39 | mv po/fr_FR.gmo po/fr.gmo |
40 | mv po/fr_FR.po po/fr.po | |
41 | sed -i 's/fr_FR/fr/' po/LINGUAS | |
42 | ||
52b3ea83 TP |
43 | %build |
44 | %{__aclocal} | |
45 | %{__autoconf} | |
46 | %{__autoheader} | |
47 | %{__automake} | |
970bc19a | 48 | export LIBS=-ltinfo |
52b3ea83 TP |
49 | %configure \ |
50 | --enable-extfs \ | |
51 | --enable-hfsp \ | |
52 | --enable-fat \ | |
53 | --enable-ntfs \ | |
54 | --enable-btrfs \ | |
55 | --enable-ncursesw | |
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | ||
64 | %find_lang %{name} | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %files -f %{name}.lang | |
70 | %defattr(644,root,root,755) | |
332a52d1 AF |
71 | %doc AUTHORS ChangeLog README TODO |
72 | %attr(755,root,root) %{_sbindir}/partclone.btrfs | |
73 | %attr(755,root,root) %{_sbindir}/partclone.chkimg | |
74 | %attr(755,root,root) %{_sbindir}/partclone.dd | |
75 | %attr(755,root,root) %{_sbindir}/partclone.ext2 | |
76 | %attr(755,root,root) %{_sbindir}/partclone.ext3 | |
77 | %attr(755,root,root) %{_sbindir}/partclone.ext4 | |
78 | %attr(755,root,root) %{_sbindir}/partclone.ext4dev | |
79 | %attr(755,root,root) %{_sbindir}/partclone.extfs | |
80 | %attr(755,root,root) %{_sbindir}/partclone.fat | |
81 | %attr(755,root,root) %{_sbindir}/partclone.fat12 | |
82 | %attr(755,root,root) %{_sbindir}/partclone.fat16 | |
83 | %attr(755,root,root) %{_sbindir}/partclone.fat32 | |
84 | %attr(755,root,root) %{_sbindir}/partclone.hfs+ | |
85 | %attr(755,root,root) %{_sbindir}/partclone.hfsp | |
86 | %attr(755,root,root) %{_sbindir}/partclone.hfsplus | |
87 | %attr(755,root,root) %{_sbindir}/partclone.info | |
88 | %attr(755,root,root) %{_sbindir}/partclone.ntfs | |
89 | %attr(755,root,root) %{_sbindir}/partclone.ntfsfixboot | |
90 | %attr(755,root,root) %{_sbindir}/partclone.ntfsreloc | |
91 | %attr(755,root,root) %{_sbindir}/partclone.restore | |
92 | %attr(755,root,root) %{_sbindir}/partclone.vfat | |
93 | %{_mandir}/man8/partclone.btrfs.8* | |
94 | %{_mandir}/man8/partclone.chkimg.8* | |
95 | %{_mandir}/man8/partclone.dd.8* | |
96 | %{_mandir}/man8/partclone.ext2.8* | |
97 | %{_mandir}/man8/partclone.ext3.8* | |
98 | %{_mandir}/man8/partclone.ext4.8* | |
99 | %{_mandir}/man8/partclone.ext4dev.8* | |
100 | %{_mandir}/man8/partclone.extfs.8* | |
101 | %{_mandir}/man8/partclone.fat12.8* | |
102 | %{_mandir}/man8/partclone.fat16.8* | |
103 | %{_mandir}/man8/partclone.fat32.8* | |
104 | %{_mandir}/man8/partclone.hfs+.8* | |
105 | %{_mandir}/man8/partclone.hfsplus.8* | |
106 | %{_mandir}/man8/partclone.info.8* | |
107 | %{_mandir}/man8/partclone.ntfs.8* | |
108 | %{_mandir}/man8/partclone.restore.8* | |
109 | %{_mandir}/man8/partclone.vfat.8* | |
c6e0024e AP |
110 | %{_mandir}/man8/partclone.8.* |
111 | %{_mandir}/man8/partclone.fat.8* | |
112 | %{_mandir}/man8/partclone.hfsp.8* | |
113 | %{_mandir}/man8/partclone.ntfsfixboot.8* | |
114 | %{_mandir}/man8/partclone.ntfsreloc.8* |