]> git.pld-linux.org Git - SPECS.git/blob - partclone.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / partclone.spec
1 Summary:        Utility to clone and restore partitions
2 Name:           partclone
3 Version:        0.2.88
4 Release:        2
5 License:        GPL v2+
6 Group:          Applications/System
7 Source0:        http://downloads.sourceforge.net/partclone/%{name}-%{version}.tar.gz
8 # Source0-md5:  fdf2b91ae0470c4a4463edd97b39357a
9 URL:            http://partclone.org/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  e2fsprogs-devel
13 BuildRequires:  gettext-tools
14 BuildRequires:  libuuid-devel
15 BuildRequires:  ncurses-devel
16 BuildRequires:  ntfs-3g-devel
17 BuildRequires:  pkgconfig >= 0.9.0
18 #BuildRequires: progsreiserfs-devel
19 #BuildRequires: reiser4progs-devel
20 #BuildRequires: xfsprogs-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Partclone is a project like the well-known backup utility "Partition
25 Image" a.k.a partimage.
26
27 Partclone provides utilities to back up used blocks and design for
28 higher compatibility of the file system using supported library like
29 e2fslibs.
30
31 %prep
32 %setup -q
33
34 #sed -e 's|libxfs.h|xfs.h|' -i configure.ac -i src/xfsclone.[ch]
35 sed -e 's|ncurses.h|ncurses/ncurses.h|' -i configure.ac -i src/{partclone,progress}.c
36
37 mv po/fr_FR.gmo po/fr.gmo
38 mv po/fr_FR.po po/fr.po
39 sed -i 's/fr_FR/fr/' po/LINGUAS
40
41 %build
42 %{__aclocal}
43 %{__autoconf}
44 %{__autoheader}
45 %{__automake}
46 export LIBS=-ltinfo
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
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %find_lang %{name}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc AUTHORS ChangeLog README.md TODO
70 %attr(755,root,root) %{_sbindir}/partclone.btrfs
71 %attr(755,root,root) %{_sbindir}/partclone.chkimg
72 %attr(755,root,root) %{_sbindir}/partclone.dd
73 %attr(755,root,root) %{_sbindir}/partclone.ext2
74 %attr(755,root,root) %{_sbindir}/partclone.ext3
75 %attr(755,root,root) %{_sbindir}/partclone.ext4
76 %attr(755,root,root) %{_sbindir}/partclone.ext4dev
77 %attr(755,root,root) %{_sbindir}/partclone.extfs
78 %attr(755,root,root) %{_sbindir}/partclone.fat
79 %attr(755,root,root) %{_sbindir}/partclone.fat12
80 %attr(755,root,root) %{_sbindir}/partclone.fat16
81 %attr(755,root,root) %{_sbindir}/partclone.fat32
82 %attr(755,root,root) %{_sbindir}/partclone.hfs+
83 %attr(755,root,root) %{_sbindir}/partclone.hfsp
84 %attr(755,root,root) %{_sbindir}/partclone.hfsplus
85 %attr(755,root,root) %{_sbindir}/partclone.imager
86 %attr(755,root,root) %{_sbindir}/partclone.info
87 %attr(755,root,root) %{_sbindir}/partclone.ntfs
88 %attr(755,root,root) %{_sbindir}/partclone.ntfsfixboot
89 %attr(755,root,root) %{_sbindir}/partclone.ntfsreloc
90 %attr(755,root,root) %{_sbindir}/partclone.restore
91 %attr(755,root,root) %{_sbindir}/partclone.vfat
92 %{_mandir}/man8/partclone.btrfs.8*
93 %{_mandir}/man8/partclone.chkimg.8*
94 %{_mandir}/man8/partclone.dd.8*
95 %{_mandir}/man8/partclone.ext2.8*
96 %{_mandir}/man8/partclone.ext3.8*
97 %{_mandir}/man8/partclone.ext4.8*
98 %{_mandir}/man8/partclone.ext4dev.8*
99 %{_mandir}/man8/partclone.extfs.8*
100 %{_mandir}/man8/partclone.fat12.8*
101 %{_mandir}/man8/partclone.fat16.8*
102 %{_mandir}/man8/partclone.fat32.8*
103 %{_mandir}/man8/partclone.hfs+.8*
104 %{_mandir}/man8/partclone.hfsplus.8*
105 %{_mandir}/man8/partclone.imager.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*
115 %{_datadir}/%{name}
This page took 0.143789 seconds and 3 git commands to generate.