2011-12-21 15:51:14 +00:00
|
|
|
#
|
2013-07-12 12:18:20 +00:00
|
|
|
# Copyright (C) 2011-2013 Red Hat, Inc
|
2011-12-21 15:51:14 +00:00
|
|
|
#
|
|
|
|
Summary: Device-mapper thin provisioning tools
|
|
|
|
Name: device-mapper-persistent-data
|
2013-07-12 12:18:20 +00:00
|
|
|
Version: 0.2.1
|
2013-07-18 13:37:32 +00:00
|
|
|
Release: 3%{?dist}
|
2011-12-21 15:51:14 +00:00
|
|
|
License: GPLv3+
|
|
|
|
Group: System Environment/Base
|
|
|
|
URL: https://github.com/jthornber/thin-provisioning-tools
|
2013-07-12 12:18:20 +00:00
|
|
|
Source0: https://github.com/jthornber/thin-provisioning-tools/archive/thin-provisioning-tools-v%{version}.tar.bz2
|
|
|
|
# Source1: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz
|
2013-07-16 11:23:17 +00:00
|
|
|
Patch0: %{name}-0.2.1-nostrip.patch
|
2013-07-18 13:37:32 +00:00
|
|
|
Patch1: %{name}-0.2.1-thin_dump-support-metadata-snap-block.patch
|
|
|
|
Patch2: %{name}-0.2.1-new-thin_metadata_size.c.patch
|
|
|
|
Patch3: %{name}-0.2.1-man-pages-new-thin_metadata_size-and-fixes.patch
|
2013-07-12 12:18:20 +00:00
|
|
|
BuildRequires: autoconf, expat-devel, libstdc++-devel, boost-devel
|
2011-12-21 15:51:14 +00:00
|
|
|
Requires: expat
|
|
|
|
|
|
|
|
%description
|
2013-07-18 13:37:32 +00:00
|
|
|
thin-provisioning-tools contains check,dump,restore,repair,rmap and metadata_size
|
|
|
|
tools to manage device-mapper thin provisioning target metadata devices.
|
2011-12-21 15:51:14 +00:00
|
|
|
|
|
|
|
%prep
|
2013-07-12 12:18:20 +00:00
|
|
|
%setup -q -n thin-provisioning-tools-%{version}
|
2013-07-16 11:23:17 +00:00
|
|
|
%patch0 -p1
|
2013-07-18 13:37:32 +00:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
2011-12-21 15:51:14 +00:00
|
|
|
|
|
|
|
%build
|
2013-07-12 12:18:20 +00:00
|
|
|
autoconf
|
2013-07-16 11:23:17 +00:00
|
|
|
%configure --with-optimisation=
|
|
|
|
make %{?_smp_mflags} V=
|
2011-12-21 15:51:14 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=%{buildroot} MANDIR=%{_mandir} install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
%files
|
2013-07-12 12:18:20 +00:00
|
|
|
%doc COPYING README.md
|
2012-03-02 15:13:04 +00:00
|
|
|
%{_mandir}/man8/thin_check.8.gz
|
2013-07-18 13:37:32 +00:00
|
|
|
%{_mandir}/man8/thin_dump.8.gz
|
|
|
|
%{_mandir}/man8/thin_metadata_size.8.gz
|
|
|
|
%{_mandir}/man8/thin_repair.8.gz
|
2011-12-21 15:51:14 +00:00
|
|
|
%{_mandir}/man8/thin_restore.8.gz
|
2013-07-18 13:37:32 +00:00
|
|
|
%{_mandir}/man8/thin_rmap.8.gz
|
2012-04-19 14:54:01 +00:00
|
|
|
%{_sbindir}/thin_check
|
2013-07-18 13:37:32 +00:00
|
|
|
%{_sbindir}/thin_dump
|
|
|
|
%{_sbindir}/thin_metadata_size
|
2013-07-12 12:18:20 +00:00
|
|
|
%{_sbindir}/thin_repair
|
2012-04-19 14:54:01 +00:00
|
|
|
%{_sbindir}/thin_restore
|
2013-07-12 12:18:20 +00:00
|
|
|
%{_sbindir}/thin_rmap
|
2011-12-21 15:51:14 +00:00
|
|
|
|
|
|
|
%changelog
|
2013-07-18 13:37:32 +00:00
|
|
|
* Thu Jul 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-3
|
|
|
|
- New thin_metadata_size tool to estimate amount of metadata space
|
|
|
|
based on block size, pool size and maximum amount of thin devs and snapshots
|
|
|
|
- support metadata snapshots in thin_dump tool
|
|
|
|
- New man pages for thin_metadata_size, thin_repair and thin_rmap and man page fixes
|
|
|
|
|
2013-07-16 11:23:17 +00:00
|
|
|
* Tue Jul 16 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-2
|
|
|
|
- Build with nostrip fix from Ville Skyttä
|
|
|
|
|
|
|
|
* Mon Jul 15 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.2.1-2
|
|
|
|
- Let rpmbuild strip binaries, don't override optflags, build more verbose.
|
|
|
|
|
2013-07-12 12:18:20 +00:00
|
|
|
* Fri Jul 12 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2013-02-13 19:38:00 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-18 20:36:14 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-04-19 14:54:01 +00:00
|
|
|
* Thu Apr 19 2012 Milan Broz <mbroz@redhat.com> - 0.1.4-1
|
|
|
|
- Fix thin_check man page (add -q option).
|
|
|
|
- Install utilities in /usr/sbin.
|
|
|
|
|
2012-03-13 15:10:01 +00:00
|
|
|
* Tue Mar 13 2012 Milan Broz <mbroz@redhat.com> - 0.1.2-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2012-03-05 13:24:59 +00:00
|
|
|
* Mon Mar 05 2012 Milan Broz <mbroz@redhat.com> - 0.1.1-1
|
|
|
|
- Fix quiet option.
|
|
|
|
|
2012-03-02 15:13:04 +00:00
|
|
|
* Fri Mar 02 2012 Milan Broz <mbroz@redhat.com> - 0.1.0-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2012-02-28 18:12:59 +00:00
|
|
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3
|
|
|
|
- Rebuilt for c++ ABI breakage
|
|
|
|
|
2012-01-13 00:31:32 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-12-21 15:51:14 +00:00
|
|
|
* Wed Dec 21 2011 Milan Broz <mbroz@redhat.com> - 0.0.1-1
|
|
|
|
- Initial version
|