Fedora Release Engineering a75ca80
#
Fedora Release Engineering a75ca80
# Copyright (C) 2011 Red Hat, Inc
Fedora Release Engineering a75ca80
#
Fedora Release Engineering a75ca80
Summary: Device-mapper thin provisioning tools
Fedora Release Engineering a75ca80
Name: device-mapper-persistent-data
Fedora Release Engineering a75ca80
Version: 0.0.1
aaceafc
Release: 3%{?dist}
Fedora Release Engineering a75ca80
License: GPLv3+
Fedora Release Engineering a75ca80
Group: System Environment/Base
Fedora Release Engineering a75ca80
URL: https://github.com/jthornber/thin-provisioning-tools
Fedora Release Engineering a75ca80
BuildRequires: expat-devel, libstdc++-devel, boost-devel, autoconf, automake
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
# The source for this package was pulled from upstream's git.
Fedora Release Engineering a75ca80
# Use the following URL to access the tarball:
Fedora Release Engineering a75ca80
# https://github.com/jthornber/thin-provisioning-tools/tarball/%%{version}
Fedora Release Engineering a75ca80
%global upstream_tag 4dcab4b
Fedora Release Engineering a75ca80
%global upstream_version %{version}-0-g%{upstream_tag}
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
Source0: jthornber-thin-provisioning-tools-%{upstream_version}.tar.gz
Fedora Release Engineering a75ca80
Requires: expat
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%description
Fedora Release Engineering a75ca80
thin-provisioning-tools contains dump,restore and repair tools to
Fedora Release Engineering a75ca80
manage device-mapper thin provisioning target metadata devices.
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%prep
Fedora Release Engineering a75ca80
%setup -q -n jthornber-thin-provisioning-tools-%{upstream_tag}
Fedora Release Engineering a75ca80
autoreconf
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%build
Fedora Release Engineering a75ca80
%global _root_sbindir /sbin
Fedora Release Engineering a75ca80
%configure --enable-debug --enable-testing
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%install
Fedora Release Engineering a75ca80
make DESTDIR=%{buildroot} MANDIR=%{_mandir} install
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%clean
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%files
Fedora Release Engineering a75ca80
%doc COPYING README
Fedora Release Engineering a75ca80
%{_mandir}/man8/thin_dump.8.gz
Fedora Release Engineering a75ca80
%{_mandir}/man8/thin_repair.8.gz
Fedora Release Engineering a75ca80
%{_mandir}/man8/thin_restore.8.gz
Fedora Release Engineering a75ca80
%{_root_sbindir}/thin_dump
Fedora Release Engineering a75ca80
%{_root_sbindir}/thin_repair
Fedora Release Engineering a75ca80
%{_root_sbindir}/thin_restore
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%changelog
aaceafc
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3
aaceafc
- Rebuilt for c++ ABI breakage
aaceafc
dddc194
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-2
dddc194
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
dddc194
Fedora Release Engineering a75ca80
* Wed Dec 21 2011 Milan Broz <mbroz@redhat.com> - 0.0.1-1
Fedora Release Engineering a75ca80
- Initial version