]>
Commit | Line | Data |
---|---|---|
1e5c6587 | 1 | Summary: Tools for manipulating dm-thin device-mapper target metadata |
e3079f2e JB |
2 | Summary(pl.UTF-8): Narzędzia do modyfikowania metadanych celów dm-thin device-mappera |
3 | Name: thin-provisioning-tools | |
744901ab | 4 | Version: 0.6.1 |
e3079f2e JB |
5 | Release: 1 |
6 | License: GPL v3+ | |
7 | Group: Applications/System | |
744901ab | 8 | #Source0Download: https://github.com/jthornber/thin-provisioning-tools/releases |
382ca027 | 9 | Source0: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}/%{name}-%{version}.tar.gz |
744901ab JB |
10 | # Source0-md5: f6f1207d63f5bd7aa1943ce3f12da84e |
11 | Patch0: %{name}-sh.patch | |
12 | Patch1: %{name}-opt.patch | |
e3079f2e JB |
13 | URL: https://github.com/jthornber/thin-provisioning-tools |
14 | BuildRequires: autoconf >= 2.61 | |
15 | BuildRequires: boost-devel | |
16 | BuildRequires: expat-devel >= 1.95 | |
17 | # exact version unknown (some C++11 features needed) | |
18 | BuildRequires: gcc-c++ >= 6:4.6 | |
224387e0 | 19 | BuildRequires: libaio-devel |
e3079f2e | 20 | BuildRequires: libstdc++-devel |
73bf2402 | 21 | Obsoletes: device-mapper-persistent-data |
e3079f2e JB |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | A suite of tools for manipulating the metadata of the dm-thin | |
26 | device-mapper target. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | Zestaw narzędzi do modyfikowania metadanych celów dm-thin | |
30 | device-mappera. | |
31 | ||
32 | %prep | |
33 | %setup -q | |
744901ab JB |
34 | %patch0 -p1 |
35 | %patch1 -p1 | |
e3079f2e JB |
36 | |
37 | %build | |
38 | %{__autoconf} | |
744901ab JB |
39 | %configure \ |
40 | --with-optimisation=" " | |
41 | ||
42 | CFLAGS="%{rpmcflags}" \ | |
43 | CXXFLAGS="%{rpmcxxflags}" \ | |
e3079f2e | 44 | %{__make} \ |
382ca027 | 45 | V= |
e3079f2e JB |
46 | |
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT \ | |
52 | MANDIR=%{_mandir} | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %doc README.md TODO.org | |
941913b4 ŁK |
60 | %attr(755,root,root) %{_sbindir}/cache_check |
61 | %attr(755,root,root) %{_sbindir}/cache_dump | |
62 | %attr(755,root,root) %{_sbindir}/cache_metadata_size | |
63 | %attr(755,root,root) %{_sbindir}/cache_repair | |
64 | %attr(755,root,root) %{_sbindir}/cache_restore | |
65 | %attr(755,root,root) %{_sbindir}/era_check | |
66 | %attr(755,root,root) %{_sbindir}/era_dump | |
67 | %attr(755,root,root) %{_sbindir}/era_invalidate | |
68 | %attr(755,root,root) %{_sbindir}/era_restore | |
69 | %attr(755,root,root) %{_sbindir}/pdata_tools | |
224387e0 | 70 | %attr(755,root,root) %{_sbindir}/thin_check |
382ca027 | 71 | %attr(755,root,root) %{_sbindir}/thin_delta |
224387e0 | 72 | %attr(755,root,root) %{_sbindir}/thin_dump |
c8a0e91b | 73 | %attr(755,root,root) %{_sbindir}/thin_ls |
224387e0 JB |
74 | %attr(755,root,root) %{_sbindir}/thin_metadata_size |
75 | %attr(755,root,root) %{_sbindir}/thin_repair | |
76 | %attr(755,root,root) %{_sbindir}/thin_restore | |
77 | %attr(755,root,root) %{_sbindir}/thin_rmap | |
382ca027 JB |
78 | %attr(755,root,root) %{_sbindir}/thin_trim |
79 | %{_mandir}/man8/cache_check.8* | |
80 | %{_mandir}/man8/cache_dump.8* | |
81 | %{_mandir}/man8/cache_repair.8* | |
82 | %{_mandir}/man8/cache_restore.8* | |
83 | %{_mandir}/man8/era_check.8* | |
84 | %{_mandir}/man8/era_dump.8* | |
85 | %{_mandir}/man8/era_invalidate.8* | |
224387e0 | 86 | %{_mandir}/man8/thin_check.8* |
382ca027 | 87 | %{_mandir}/man8/thin_delta.8* |
224387e0 | 88 | %{_mandir}/man8/thin_dump.8* |
c8a0e91b | 89 | %{_mandir}/man8/thin_ls.8* |
224387e0 JB |
90 | %{_mandir}/man8/thin_metadata_size.8* |
91 | %{_mandir}/man8/thin_repair.8* | |
92 | %{_mandir}/man8/thin_restore.8* | |
93 | %{_mandir}/man8/thin_rmap.8* | |
382ca027 | 94 | %{_mandir}/man8/thin_trim.8* |