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