Fedora Release Engineering a75ca80
#
Heinz Mauelshagen 10c5027
# 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 1211aa8
Version: 0.2.2
Heinz Mauelshagen 1211aa8
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 10c5027
Source0: https://github.com/jthornber/thin-provisioning-tools/archive/thin-provisioning-tools-v%{version}.tar.bz2
Heinz Mauelshagen 10c5027
# Source1: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz
Heinz Mauelshagen 1211aa8
Patch0: device-mapper-persistent-data-0.2.2-man-pages-header.patch
Heinz Mauelshagen 10c5027
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 afcf52a
thin-provisioning-tools contains check,dump,restore,repair,rmap and metadata_size
Heinz Mauelshagen afcf52a
tools to manage device-mapper thin provisioning target metadata devices.
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%prep
Heinz Mauelshagen 10c5027
%setup -q -n thin-provisioning-tools-%{version}
Heinz Mauelshagen 691fcae
echo %{version}-%{release} > VERSION
Heinz Mauelshagen 9d194bf
%patch0 -p1
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%build
Heinz Mauelshagen 10c5027
autoconf
Heinz Mauelshagen 9d194bf
%configure --with-optimisation=
Heinz Mauelshagen 9d194bf
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 10c5027
%doc COPYING README.md
Milan Broz 9aa5977
%{_mandir}/man8/thin_check.8.gz
Heinz Mauelshagen afcf52a
%{_mandir}/man8/thin_dump.8.gz
Heinz Mauelshagen afcf52a
%{_mandir}/man8/thin_metadata_size.8.gz
Heinz Mauelshagen afcf52a
%{_mandir}/man8/thin_repair.8.gz
Fedora Release Engineering a75ca80
%{_mandir}/man8/thin_restore.8.gz
Heinz Mauelshagen afcf52a
%{_mandir}/man8/thin_rmap.8.gz
Milan Broz 00e96ba
%{_sbindir}/thin_check
Heinz Mauelshagen afcf52a
%{_sbindir}/thin_dump
Heinz Mauelshagen afcf52a
%{_sbindir}/thin_metadata_size
Heinz Mauelshagen 10c5027
%{_sbindir}/thin_repair
Milan Broz 00e96ba
%{_sbindir}/thin_restore
Heinz Mauelshagen 10c5027
%{_sbindir}/thin_rmap
Fedora Release Engineering a75ca80
Fedora Release Engineering a75ca80
%changelog
Heinz Mauelshagen 1211aa8
* Tue Jul 29 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.2-1
Heinz Mauelshagen 1211aa8
- New upstream version
Heinz Mauelshagen 1211aa8
Heinz Mauelshagen c118e69
* Thu Jul 25 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-5
Heinz Mauelshagen c118e69
- enhance manual pages and fix typos
Heinz Mauelshagen c118e69
Heinz Mauelshagen 691fcae
* Fri Jul 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-4
Heinz Mauelshagen 691fcae
- Update thin_metadata_size manual page
Heinz Mauelshagen 691fcae
- thin_dump: support dumping default metadata snapshot
Heinz Mauelshagen 691fcae
Heinz Mauelshagen afcf52a
* Thu Jul 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-3
Heinz Mauelshagen afcf52a
- New thin_metadata_size tool to estimate amount of metadata space
Heinz Mauelshagen afcf52a
  based on block size, pool size and maximum amount of thin devs and snapshots
Heinz Mauelshagen afcf52a
- support metadata snapshots in thin_dump tool
Heinz Mauelshagen afcf52a
- New man pages for thin_metadata_size, thin_repair and thin_rmap and man page fixes
Heinz Mauelshagen afcf52a
Heinz Mauelshagen 9d194bf
* Tue Jul 16 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-2
Heinz Mauelshagen 9d194bf
- Build with nostrip fix from Ville Skyttä
Heinz Mauelshagen 9d194bf
Heinz Mauelshagen 9d194bf
* Mon Jul 15 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.2.1-2
Heinz Mauelshagen 9d194bf
- Let rpmbuild strip binaries, don't override optflags, build more verbose.
Heinz Mauelshagen 9d194bf
Heinz Mauelshagen 10c5027
* Fri Jul 12 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-1
Heinz Mauelshagen 10c5027
- New upstream version.
Heinz Mauelshagen 10c5027
cf35455
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-3
cf35455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cf35455
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