Blame device-mapper-persistent-data.spec

Fedora Release Engineering a75ca8
#
2f0030
# Copyright (C) 2011-2015 Red Hat, Inc
Fedora Release Engineering a75ca8
#
Heinz Mauelshagen 44a227
Summary: Device-mapper Persistent Data Tools
Fedora Release Engineering a75ca8
Name: device-mapper-persistent-data
fc57c1
Version: 0.5.3
cc79a1
Release: 1%{?dist}
Fedora Release Engineering a75ca8
License: GPLv3+
Fedora Release Engineering a75ca8
Group: System Environment/Base
Fedora Release Engineering a75ca8
URL: https://github.com/jthornber/thin-provisioning-tools
66641d
Source0: https://github.com/jthornber/thin-provisioning-tools/archive/thin-provisioning-tools-%{version}.tar.gz
Heinz Mauelshagen 10c502
# Source1: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz
2f0030
Patch0: device-mapper-persistent-data-document-clear-needs-check-flag.patch
2f0030
Patch1: device-mapper-persistent-data-add-era_restore-and-cache_metadata_size-man-pages.patch
2f0030
Patch2: device-mapper-persistent-avoid-strip.patch
2f0030
Heinz Mauelshagen 44a227
BuildRequires: autoconf, expat-devel, libaio-devel, libstdc++-devel, boost-devel
Fedora Release Engineering a75ca8
Requires: expat
Fedora Release Engineering a75ca8
Fedora Release Engineering a75ca8
%description
Heinz Mauelshagen 70cb8d
thin-provisioning-tools contains check,dump,restore,repair,rmap
Heinz Mauelshagen 70cb8d
and metadata_size tools to manage device-mapper thin provisioning
Heinz Mauelshagen 44a227
target metadata devices; cache check,dump,metadata_size,restore
Heinz Mauelshagen 44a227
and repair tools to manage device-mapper cache metadata devices
Heinz Mauelshagen 44a227
are included and era check, dump, restore and invalidate to manage
Heinz Mauelshagen 44a227
snapshot eras
Heinz Mauelshagen 44a227
Fedora Release Engineering a75ca8
%prep
Heinz Mauelshagen 10c502
%setup -q -n thin-provisioning-tools-%{version}
2f0030
%patch0 -p1 -b .clear_needs_check_flag
2f0030
%patch1 -p1 -b .man_pages
2f0030
%patch2 -p1 -b .avoid_strip
Heinz Mauelshagen 691fca
echo %{version}-%{release} > VERSION
Fedora Release Engineering a75ca8
Fedora Release Engineering a75ca8
%build
Heinz Mauelshagen 10c502
autoconf
Heinz Mauelshagen 9d194b
%configure --with-optimisation=
Heinz Mauelshagen 9d194b
make %{?_smp_mflags} V=
Fedora Release Engineering a75ca8
Fedora Release Engineering a75ca8
%install
Fedora Release Engineering a75ca8
make DESTDIR=%{buildroot} MANDIR=%{_mandir} install
Fedora Release Engineering a75ca8
Fedora Release Engineering a75ca8
%clean
Fedora Release Engineering a75ca8
Fedora Release Engineering a75ca8
%files
Heinz Mauelshagen 10c502
%doc COPYING README.md
Heinz Mauelshagen 70cb8d
%{_mandir}/man8/cache_check.8.gz
Heinz Mauelshagen 70cb8d
%{_mandir}/man8/cache_dump.8.gz
Heinz Mauelshagen 70cb8d
%{_mandir}/man8/cache_restore.8.gz
Heinz Mauelshagen 70cb8d
%{_mandir}/man8/cache_repair.8.gz
Heinz Mauelshagen 44a227
%{_mandir}/man8/era_check.8.gz
Heinz Mauelshagen 44a227
%{_mandir}/man8/era_dump.8.gz
Heinz Mauelshagen 44a227
%{_mandir}/man8/era_invalidate.8.gz
Milan Broz 9aa597
%{_mandir}/man8/thin_check.8.gz
2f0030
%{_mandir}/man8/thin_delta.8.gz
Heinz Mauelshagen afcf52
%{_mandir}/man8/thin_dump.8.gz
Heinz Mauelshagen afcf52
%{_mandir}/man8/thin_metadata_size.8.gz
Fedora Release Engineering a75ca8
%{_mandir}/man8/thin_restore.8.gz
Heinz Mauelshagen 44a227
%{_mandir}/man8/thin_repair.8.gz
Heinz Mauelshagen afcf52
%{_mandir}/man8/thin_rmap.8.gz
2f0030
%{_mandir}/man8/thin_trim.8.gz
Heinz Mauelshagen 44a227
%{_sbindir}/pdata_tools
Heinz Mauelshagen 70cb8d
%{_sbindir}/cache_check
Heinz Mauelshagen 70cb8d
%{_sbindir}/cache_dump
Heinz Mauelshagen 44a227
%{_sbindir}/cache_metadata_size
Heinz Mauelshagen 70cb8d
%{_sbindir}/cache_restore
Heinz Mauelshagen 70cb8d
%{_sbindir}/cache_repair
Heinz Mauelshagen 9f61a2
%{_sbindir}/era_check
Heinz Mauelshagen 9f61a2
%{_sbindir}/era_dump
Heinz Mauelshagen 44a227
%{_sbindir}/era_restore
Heinz Mauelshagen 9f61a2
%{_sbindir}/era_invalidate
Milan Broz 00e96b
%{_sbindir}/thin_check
2f0030
%{_sbindir}/thin_delta
Heinz Mauelshagen afcf52
%{_sbindir}/thin_dump
Heinz Mauelshagen afcf52
%{_sbindir}/thin_metadata_size
Milan Broz 00e96b
%{_sbindir}/thin_restore
Heinz Mauelshagen 44a227
%{_sbindir}/thin_repair
Heinz Mauelshagen 10c502
%{_sbindir}/thin_rmap
2f0030
%{_sbindir}/thin_trim
Fedora Release Engineering a75ca8
Fedora Release Engineering a75ca8
%changelog
fc57c1
* Fri Jul 03 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.3-1
fc57c1
- Tools now open the metadata device in O_EXCL mode to stop
fc57c1
  running the tools on active metadata.
fc57c1
20c2ae
* Fri Jul 03 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.2-1
20c2ae
- Fix bug in damage reporting in thin_dump and thin_check.
20c2ae
86a948
* Thu Jun 25 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.1-1
86a948
- Fix crash if tools are given a very large metadata device to restore to.
86a948
cc79a1
* Mon Jun 22 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.0-1
cc79a1
- Add space map checking for thin_check.
cc79a1
- Add --clear-needs-check option for cache_check.
cc79a1
- Update to latest upstream release.
cc79a1
1812d3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
1812d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1812d3
2f0030
* Mon Jun 08 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.4.2-1
2f0030
- New thin_delta and thin_trim commands.
2f0030
- Update to latest upstream release.
2f0030
6e89b7
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.4.1-4
6e89b7
- Rebuilt for GCC 5 C++11 ABI change
6e89b7
Petr Machata ef64c7
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 0.4.1-3
Petr Machata ef64c7
- Rebuild for boost 1.57.0
Petr Machata ef64c7
2f0030
* Wed Oct 29 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.4.1-2
Heinz Mauelshagen e4d966
- Resolves: bz#1159466
Heinz Mauelshagen e4d966
2f0030
* Wed Oct 29 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.4.1-1
Heinz Mauelshagen 44a227
- New upstream version
Heinz Mauelshagen 44a227
- Manual header additions/fixes
Heinz Mauelshagen 44a227
a4b87b
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-4
a4b87b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a4b87b
aab46d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-3
aab46d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
aab46d
Petr Machata 51a54a
* Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 0.3.2-2
Petr Machata 51a54a
- Rebuild for boost 1.55.0
Petr Machata 51a54a
Heinz Mauelshagen e9af3e
* Fri Apr 11 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.3.2-1
Heinz Mauelshagen e9af3e
- New upstream version 0.3.2 fixing needs_check flag processing
Heinz Mauelshagen e9af3e
Heinz Mauelshagen 9f61a2
* Thu Mar 27 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.3.0-1
Heinz Mauelshagen 9f61a2
- New upstream version 0.3.0 introducing era_{check,dump,invalidate}
Heinz Mauelshagen 9f61a2
Heinz Mauelshagen 70cb8d
* Fri Oct 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.8-1
Heinz Mauelshagen 70cb8d
- New upstream version 0.2.8 introducing cache_{check,dump,repair,restore}
Heinz Mauelshagen 70cb8d
Heinz Mauelshagen 93bccb
* Tue Sep 17 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.7-1
Heinz Mauelshagen 93bccb
- New upstream version 0.2.7
Heinz Mauelshagen 93bccb
Heinz Mauelshagen bad876
* Wed Jul 31 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.3-1
Heinz Mauelshagen bad876
- New upstream version
Heinz Mauelshagen bad876
Heinz Mauelshagen bad876
* Tue Jul 30 2013 Dennis Gilmore <dennis@ausil.us> - 0.2.2-2
19bf08
- rebuild against boost 1.54.0
19bf08
Heinz Mauelshagen 944747
* Tue Jul 30 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.2-1
Heinz Mauelshagen 1211aa
- New upstream version
Heinz Mauelshagen 079fbb
- manual header fixes 
Heinz Mauelshagen 079fbb
Petr Machata 5c88a9
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 0.2.1-6
Petr Machata 5c88a9
- Rebuild for boost 1.54.0
Heinz Mauelshagen 1211aa
Heinz Mauelshagen c118e6
* Thu Jul 25 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-5
Heinz Mauelshagen c118e6
- enhance manual pages and fix typos
Heinz Mauelshagen c118e6
2f0030
* Thu Jul 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-4
Heinz Mauelshagen 691fca
- Update thin_metadata_size manual page
Heinz Mauelshagen 691fca
- thin_dump: support dumping default metadata snapshot
Heinz Mauelshagen 691fca
Heinz Mauelshagen afcf52
* Thu Jul 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-3
Heinz Mauelshagen afcf52
- New thin_metadata_size tool to estimate amount of metadata space
Heinz Mauelshagen afcf52
  based on block size, pool size and maximum amount of thin devs and snapshots
Heinz Mauelshagen afcf52
- support metadata snapshots in thin_dump tool
Heinz Mauelshagen afcf52
- New man pages for thin_metadata_size, thin_repair and thin_rmap and man page fixes
Heinz Mauelshagen afcf52
Heinz Mauelshagen 9d194b
* Tue Jul 16 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-2
Heinz Mauelshagen 9d194b
- Build with nostrip fix from Ville Skyttä
Heinz Mauelshagen 9d194b
Heinz Mauelshagen 9d194b
* Mon Jul 15 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.2.1-2
Heinz Mauelshagen 9d194b
- Let rpmbuild strip binaries, don't override optflags, build more verbose.
Heinz Mauelshagen 9d194b
Heinz Mauelshagen 10c502
* Fri Jul 12 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-1
Heinz Mauelshagen 10c502
- New upstream version.
Heinz Mauelshagen 10c502
cf3545
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-3
cf3545
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cf3545
787bba
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2
787bba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
787bba
Milan Broz 00e96b
* Thu Apr 19 2012 Milan Broz <mbroz@redhat.com> - 0.1.4-1
Milan Broz 00e96b
- Fix thin_check man page (add -q option).
Milan Broz 00e96b
- Install utilities in /usr/sbin.
Milan Broz 00e96b
Milan Broz 19ed7a
* Tue Mar 13 2012 Milan Broz <mbroz@redhat.com> - 0.1.2-1
Milan Broz 19ed7a
- New upstream version.
Milan Broz 19ed7a
Milan Broz 136eab
* Mon Mar 05 2012 Milan Broz <mbroz@redhat.com> - 0.1.1-1
Milan Broz 136eab
- Fix quiet option.
Milan Broz 136eab
Milan Broz 9aa597
* Fri Mar 02 2012 Milan Broz <mbroz@redhat.com> - 0.1.0-1
Milan Broz 9aa597
- New upstream version.
Milan Broz 9aa597
aaceaf
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3
aaceaf
- Rebuilt for c++ ABI breakage
aaceaf
dddc19
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-2
dddc19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
dddc19
Fedora Release Engineering a75ca8
* Wed Dec 21 2011 Milan Broz <mbroz@redhat.com> - 0.0.1-1
Fedora Release Engineering a75ca8
- Initial version