2011-12-15 17:14:56 +05:30
|
|
|
#
|
2011-12-15 23:41:51 +05:30
|
|
|
# Copyright (C) 2011 Red Hat, Inc
|
2011-12-15 17:14:56 +05:30
|
|
|
#
|
|
|
|
Summary: Device-mapper thin provisioning tools
|
2011-12-15 23:41:51 +05:30
|
|
|
Name: device-mapper-persistent-data
|
|
|
|
Version: 0.0.1
|
2011-12-15 17:14:56 +05:30
|
|
|
Release: 1%{?dist}
|
2011-12-15 17:20:10 +05:30
|
|
|
License: GPLv3
|
2011-12-15 17:14:56 +05:30
|
|
|
Group: System Environment/Base
|
|
|
|
URL: http://sources.redhat.com/lvm2
|
2011-12-15 23:41:51 +05:30
|
|
|
BuildRequires: expat-devel, libstdc++-devel, boost-devel
|
|
|
|
Source0: ftp://sources.redhat.com/pub/lvm2/thin-provisioning-tools-%{version}.tar.bz2
|
|
|
|
Requires: expat
|
2011-12-15 17:14:56 +05:30
|
|
|
|
|
|
|
%description
|
|
|
|
thin-provisioning-tools contains dump,restore and repair tools to
|
|
|
|
manage device-mapper thin provisioning target metadata devices.
|
|
|
|
|
|
|
|
%prep
|
2011-12-15 23:41:51 +05:30
|
|
|
%setup -q -n thin-provisioning-tools-%{version}
|
2011-12-15 17:14:56 +05:30
|
|
|
|
|
|
|
%build
|
2011-12-15 23:41:51 +05:30
|
|
|
%global _root_sbindir /sbin
|
|
|
|
%configure --enable-debug --enable-testing
|
2011-12-15 17:14:56 +05:30
|
|
|
|
|
|
|
%install
|
2011-12-15 23:41:51 +05:30
|
|
|
make DESTDIR=%{buildroot} install
|
2011-12-15 17:14:56 +05:30
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
%files
|
2011-12-15 23:41:51 +05:30
|
|
|
%doc COPYING README
|
|
|
|
%{_mandir}/man8/thin_dump.8.gz
|
|
|
|
%{_mandir}/man8/thin_repair.8.gz
|
|
|
|
%{_mandir}/man8/thin_restore.8.gz
|
|
|
|
%{_root_sbindir}/thin_dump
|
|
|
|
%{_root_sbindir}/thin_repair
|
|
|
|
%{_root_sbindir}/thin_restore
|
2011-12-15 17:14:56 +05:30
|
|
|
|
|
|
|
%changelog
|
2011-12-15 23:41:51 +05:30
|
|
|
* Thu Dec 15 2011 Heinz Mauelshagen <heinzm@redhat.com> - 0.0.1-1
|
2011-12-15 17:14:56 +05:30
|
|
|
- Initial version
|