Fedora Release Engineering a75ca80
#
Heinz Mauelshagen 1bc91ec
# Copyright (C) 2011-2013 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
Heinz Mauelshagen d6497f6
Version: 0.2.8
Heinz Mauelshagen 1bc91ec
Release: 1%{?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
Heinz Mauelshagen 1bc91ec
Source0: https://github.com/jthornber/thin-provisioning-tools/archive/thin-provisioning-tools-v%{version}.tar.bz2
Heinz Mauelshagen 1bc91ec
# Source1: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz
Heinz Mauelshagen d6497f6
Patch0: device-mapper-persistent-data-0.2.8-1-missing-man-pages.patch
Heinz Mauelshagen d6497f6
Patch1: device-mapper-persistent-data-0.2.8-1-missing-installs.patch
Heinz Mauelshagen 1bc91ec
BuildRequires: autoconf, expat-devel, libstdc++-devel, boost-devel
Fedora Release Engineering a75ca80
Requires: expat
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%description
Heinz Mauelshagen d6497f6
thin-provisioning-tools contains check,dump,restore,repair,rmap
Heinz Mauelshagen d6497f6
and metadata_size tools to manage device-mapper thin provisioning
Heinz Mauelshagen d6497f6
target metadata devices; cache check,dump,restore and repair tools
Heinz Mauelshagen d6497f6
to manage device-mapper cache metadata devices are included.
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%prep
Heinz Mauelshagen 1bc91ec
%setup -q -n thin-provisioning-tools-%{version}
Heinz Mauelshagen d6497f6
%patch0 -p1
Heinz Mauelshagen d6497f6
%patch1 -p1
Heinz Mauelshagen 32c4283
echo %{version}-%{release} > VERSION
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%build
Heinz Mauelshagen 1bc91ec
autoconf
Heinz Mauelshagen 32c4283
%configure --with-optimisation=
Heinz Mauelshagen 32c4283
make %{?_smp_mflags} V=
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
Heinz Mauelshagen 1bc91ec
%doc COPYING README.md
Heinz Mauelshagen d6497f6
%{_mandir}/man8/cache_check.8.gz
Heinz Mauelshagen d6497f6
%{_mandir}/man8/cache_dump.8.gz
Heinz Mauelshagen d6497f6
%{_mandir}/man8/cache_repair.8.gz
Heinz Mauelshagen d6497f6
%{_mandir}/man8/cache_restore.8.gz
Milan Broz 9aa5977
%{_mandir}/man8/thin_check.8.gz
Heinz Mauelshagen 32c4283
%{_mandir}/man8/thin_dump.8.gz
Heinz Mauelshagen 32c4283
%{_mandir}/man8/thin_metadata_size.8.gz
Heinz Mauelshagen 32c4283
%{_mandir}/man8/thin_repair.8.gz
Fedora Release Engineering a75ca80
%{_mandir}/man8/thin_restore.8.gz
Heinz Mauelshagen 32c4283
%{_mandir}/man8/thin_rmap.8.gz
Heinz Mauelshagen d6497f6
%{_sbindir}/cache_check
Heinz Mauelshagen d6497f6
%{_sbindir}/cache_dump
Heinz Mauelshagen d6497f6
%{_sbindir}/cache_repair
Heinz Mauelshagen d6497f6
%{_sbindir}/cache_restore
Milan Broz 00e96ba
%{_sbindir}/thin_check
Heinz Mauelshagen 32c4283
%{_sbindir}/thin_dump
Heinz Mauelshagen 32c4283
%{_sbindir}/thin_metadata_size
Heinz Mauelshagen 1bc91ec
%{_sbindir}/thin_repair
Milan Broz 00e96ba
%{_sbindir}/thin_restore
Heinz Mauelshagen 1bc91ec
%{_sbindir}/thin_rmap
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%changelog
Heinz Mauelshagen d6497f6
* Fri Oct 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.8-1
Heinz Mauelshagen d6497f6
- New upstream version 0.2.8 introducing cache_{check,dump,repair,restore}
Heinz Mauelshagen d6497f6
Heinz Mauelshagen c42cbde
* Tue Sep 17 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.7-1
Heinz Mauelshagen 7d0573b
- New upstream version 0.2.7
Heinz Mauelshagen 7d0573b
Heinz Mauelshagen 32c4283
* Wed Jul 31 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.3-1
Heinz Mauelshagen 32c4283
- New upstream version
Heinz Mauelshagen 32c4283
Heinz Mauelshagen 1bc91ec
* Fri Jul 12 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-1
Heinz Mauelshagen 1bc91ec
- New upstream version.
Heinz Mauelshagen 1bc91ec
787bbac
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2
787bbac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
787bbac
Milan Broz 00e96ba
* Thu Apr 19 2012 Milan Broz <mbroz@redhat.com> - 0.1.4-1
Milan Broz 00e96ba
- Fix thin_check man page (add -q option).
Milan Broz 00e96ba
- Install utilities in /usr/sbin.
Milan Broz 00e96ba
Milan Broz 19ed7a4
* Tue Mar 13 2012 Milan Broz <mbroz@redhat.com> - 0.1.2-1
Milan Broz 19ed7a4
- New upstream version.
Milan Broz 19ed7a4
Milan Broz 136eab8
* Mon Mar 05 2012 Milan Broz <mbroz@redhat.com> - 0.1.1-1
Milan Broz 136eab8
- Fix quiet option.
Milan Broz 136eab8
Milan Broz 9aa5977
* Fri Mar 02 2012 Milan Broz <mbroz@redhat.com> - 0.1.0-1
Milan Broz 9aa5977
- New upstream version.
Milan Broz 9aa5977
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