]> git.pld-linux.org Git - packages/partclone.git/blob - partclone.spec
- release 4 (by relup.sh)
[packages/partclone.git] / partclone.spec
1 Summary:        Utility to clone and restore partitions
2 Name:           partclone
3 Version:        0.2.58
4 Release:        4
5 License:        GPL v2+
6 Group:          Applications/System
7 Source0:        http://downloads.sourceforge.net/partclone/%{name}-%{version}.tar.gz
8 # Source0-md5:  8d8edeab8a0ce430d2e00efcc25f4ce7
9 Patch0:         automake.patch
10 URL:            http://partclone.org/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  e2fsprogs-devel
14 BuildRequires:  gettext-tools
15 BuildRequires:  libuuid-devel
16 BuildRequires:  ncurses-devel
17 BuildRequires:  ntfs-3g-devel
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
34 %patch0 -p1
35
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
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
43 %build
44 %{__aclocal}
45 %{__autoconf}
46 %{__autoheader}
47 %{__automake}
48 export LIBS=-ltinfo
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)
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*
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*
This page took 0.033422 seconds and 3 git commands to generate.