]> git.pld-linux.org Git - packages/partclone.git/blame - partclone.spec
- release 3
[packages/partclone.git] / partclone.spec
CommitLineData
52b3ea83
TP
1Summary: Utility to clone and restore partitions
2Name: partclone
af140e6e 3Version: 0.2.24
877a3482 4Release: 3
52b3ea83
TP
5License: GPL v2+
6Group: Applications/System
7Source0: http://downloads.sourceforge.net/partclone/%{name}-%{version}.tar.gz
af140e6e 8# Source0-md5: d2856820ed3f92e064fcbda3cd20f94e
d7bc7226 9Patch0: %{name}-ntfs-3g.patch
52b3ea83
TP
10URL: http://partclone.org/
11BuildRequires: autoconf
12BuildRequires: automake
13BuildRequires: e2fsprogs-devel
6ea24c5f 14BuildRequires: gettext-devel
52b3ea83
TP
15BuildRequires: libuuid-devel
16BuildRequires: ncurses-devel
d7bc7226 17BuildRequires: ntfs-3g-devel
52b3ea83
TP
18BuildRequires: pkgconfig >= 0.9.0
19#BuildRequires: progsreiserfs-devel
20#BuildRequires: reiser4progs-devel
21#BuildRequires: xfsprogs-devel
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Partclone is a project like the well-known backup utility "Partition
26Image" a.k.a partimage.
27
28Partclone provides utilities to back up used blocks and design for
29higher compatibility of the file system using supported library like
30e2fslibs.
31
32%prep
33%setup -q
d7bc7226 34%patch0 -p1
35
52b3ea83
TP
36sed -e 's|gcc -static|gcc|' -i configure.ac
37#sed -e 's|libxfs.h|xfs.h|' -i configure.ac -i src/xfsclone.[ch]
38sed -e 's|ncurses.h|ncurses/ncurses.h|' -i configure.ac -i src/{partclone,progress}.c
39
7117754e 40mv po/fr_FR.gmo po/fr.gmo
41mv po/fr_FR.po po/fr.po
42sed -i 's/fr_FR/fr/' po/LINGUAS
43
52b3ea83
TP
44%build
45%{__aclocal}
46%{__autoconf}
47%{__autoheader}
48%{__automake}
970bc19a 49export LIBS=-ltinfo
52b3ea83
TP
50%configure \
51 --enable-extfs \
52 --enable-hfsp \
53 --enable-fat \
54 --enable-ntfs \
55 --enable-btrfs \
56 --enable-ncursesw
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65%find_lang %{name}
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files -f %{name}.lang
71%defattr(644,root,root,755)
72%doc AUTHORS ChangeLog README TODO src/gauge
73%attr(755,root,root) %{_sbindir}/%{name}.*
74%{_mandir}/man8/%{name}.*.8*
This page took 0.071085 seconds and 4 git commands to generate.