osandov / rpms / btrfs-progs

Forked from rpms/btrfs-progs 2 years ago
Clone
3f2d22
Name:		btrfs-progs
3f2d22
Version:	4.9.1
3f2d22
Release:	1%{?dist}
3f2d22
Summary:	Userspace programs for btrfs
3f2d22
3f2d22
Group:		System Environment/Base
3f2d22
License:	GPLv2
3f2d22
URL:		http://btrfs.wiki.kernel.org/index.php/Main_Page
3f2d22
Source0:	https://www.kernel.org/pub/linux/kernel/people/kdave/%{name}/%{name}-v%{version}.tar.xz
3f2d22
3f2d22
# Patches no longer applied, but kept for posterity
3f2d22
# Still must reverse-engineer fixes in there and get upstream
3f2d22
Patch0:		btrfs-progs-valgrind.patch
3f2d22
Patch1:		btrfs-init-dev-list.patch
3f2d22
3f2d22
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3f2d22
3f2d22
BuildRequires:	autoconf, automake
3f2d22
BuildRequires:	e2fsprogs-devel, libuuid-devel, zlib-devel
3f2d22
BuildRequires:	libacl-devel, libblkid-devel, lzo-devel
3f2d22
BuildRequires:	asciidoc, xmlto
3f2d22
3f2d22
%define _root_sbindir /sbin
3f2d22
3f2d22
%description
3f2d22
The btrfs-progs package provides all the userspace programs needed to create,
3f2d22
check, modify and correct any inconsistencies in the btrfs filesystem.
3f2d22
3f2d22
%package devel
3f2d22
Summary:	btrfs filesystem-specific libraries and headers
3f2d22
Group:		Development/Libraries
3f2d22
Requires:	btrfs-progs = %{version}-%{release}
3f2d22
3f2d22
%description devel
3f2d22
btrfs-progs-devel contains the libraries and header files needed to
3f2d22
develop btrfs filesystem-specific programs.
3f2d22
3f2d22
You should install btrfs-progs-devel if you want to develop
3f2d22
btrfs filesystem-specific programs.
3f2d22
3f2d22
%prep
3f2d22
%setup -q -n %{name}-v%{version}
3f2d22
3f2d22
%build
3f2d22
./autogen.sh
3f2d22
%configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
3f2d22
make %{?_smp_mflags}
3f2d22
3f2d22
%install
3f2d22
rm -rf $RPM_BUILD_ROOT
3f2d22
make mandir=%{_mandir} bindir=%{_sbindir} libdir=%{_libdir} incdir=%{_includedir}/btrfs install DESTDIR=$RPM_BUILD_ROOT
3f2d22
# Nuke the static lib
3f2d22
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
3f2d22
3f2d22
%clean
3f2d22
rm -rf $RPM_BUILD_ROOT
3f2d22
3f2d22
%files
3f2d22
%defattr(-,root,root,-)
3f2d22
%doc COPYING
3f2d22
%{_libdir}/libbtrfs.so.0*
3f2d22
%{_sbindir}/btrfsck
3f2d22
%{_sbindir}/fsck.btrfs
3f2d22
%{_sbindir}/mkfs.btrfs
3f2d22
%{_sbindir}/btrfs-debug-tree
3f2d22
%{_sbindir}/btrfs-image
3f2d22
%{_sbindir}/btrfs-convert
3f2d22
%{_sbindir}/btrfs-select-super
3f2d22
%{_sbindir}/btrfstune
3f2d22
%{_sbindir}/btrfs
3f2d22
%{_sbindir}/btrfs-map-logical
3f2d22
%{_sbindir}/btrfs-zero-log
3f2d22
%{_sbindir}/btrfs-find-root
3f2d22
%{_mandir}/man5/*.gz
3f2d22
%{_mandir}/man8/*.gz
3f2d22
%{_udevrulesdir}/64-btrfs-dm.rules
3f2d22
3f2d22
%files devel
3f2d22
%{_includedir}/*
3f2d22
%{_libdir}/libbtrfs.so
3f2d22
3f2d22
%changelog
3f2d22
* Wed Mar 16 2016 Eric Sandeen <sandeen@redhat.com> 4.9.1-1
3f2d22
- New upstream release (#1430004)
3f2d22
3f2d22
* Wed Mar 16 2016 Eric Sandeen <sandeen@redhat.com> 4.4.1-1
3f2d22
- New upstream release (#1298678)
3f2d22
3f2d22
* Thu Mar 26 2015 Eric Sandeen <sandeen@redhat.com> 3.19.1-1
3f2d22
- New upstream release (#1205797)
3f2d22
3f2d22
* Mon Oct 10 2014 Eric Sandeen <sandeen@redhat.com> 3.16.2-1
3f2d22
- New upstream release (#1149796)
3f2d22
- Add API versioning (#1147544)
3f2d22
3f2d22
* Tue Sep 02 2014 Eric Sandeen <sandeen@redhat.com> 3.16-1
3f2d22
- New upstream release (#1134981)
3f2d22
3f2d22
* Tue Jul 08 2014 Eric Sandeen <sandeen@redhat.com> 3.14.2-2
3f2d22
- Fix btrfsck/btrfs-check manpage circular links
3f2d22
3f2d22
* Thu Jun 19 2014 Eric Sandeen <sandeen@redhat.com> 3.14.2-1
3f2d22
- New upstream release (#1110929)
3f2d22
3f2d22
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.12-4
3f2d22
- Mass rebuild 2014-01-24
3f2d22
3f2d22
* Mon Jan 20 2014 Eric Sandeen <sandeen@redhat.com> 3.12-3
3f2d22
- Fix Source0 URL, switch to .xz
3f2d22
3f2d22
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.12-2
3f2d22
- Mass rebuild 2013-12-27
3f2d22
3f2d22
* Fri Dec 06 2013 Eric Sandeen <sandeen@redhat.com> 3.12-1
3f2d22
- Rebase to new upstream release (#1034904)
3f2d22
3f2d22
* Tue Sep 17 2013 Eric Sandeen <sandeen@redhat.com> 0.20.rc1.20130917git194aa4a-1
3f2d22
- New upstream snapshot
3f2d22
- Deprecated btrfsctl, btrfs-show, and btrfs-vol; still available in btrfs cmd
3f2d22
3f2d22
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.rc1.20130501git7854c8b-4
3f2d22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3f2d22
3f2d22
* Mon May 13 2013 Richard W.M. Jones <rjones@redhat.com> 0.20.rc1.20130501git7854c8b-3
3f2d22
- Add accepted upstream patch to fix SONAME libbtrfs.so -> libbtrfs.so.0
3f2d22
3f2d22
* Thu May 02 2013 Eric Sandeen <sandeen@redhat.com> 0.20.rc1.20130501git7854c8b-2
3f2d22
- Fix subpackage brokenness
3f2d22
3f2d22
* Wed May 01 2013 Eric Sandeen <sandeen@redhat.com> 0.20.rc1.20130501git7854c8b-1
3f2d22
- New upstream snapshot
3f2d22
- btrfs-progs-devel subpackage
3f2d22
3f2d22
* Fri Mar 08 2013 Eric Sandeen <sandeen@redhat.com> 0.20.rc1.20130308git704a08c-1
3f2d22
- New upstream snapshot
3f2d22
- btrfs-restore is now a command in the btrfs utility
3f2d22
3f2d22
* Wed Feb 13 2013 Richard W.M. Jones <rjones@redhat.com> 0.20.rc1.20121017git91d9eec-3
3f2d22
- Include upstream patch to clear caches as a partial fix for RHBZ#863978.
3f2d22
3f2d22
* Thu Nov  1 2012 Josef Bacik <josef@toxicpanda.com> 0.20.rc1.20121017git91d9eec-2
3f2d22
- fix a bug when mkfs'ing a file (rhbz# 871778)
3f2d22
3f2d22
* Wed Oct 17 2012 Josef Bacik <josef@toxicpanda.com> 0.20.rc1.20121017git91d9eec-1
3f2d22
- update to latest btrfs-progs
3f2d22
3f2d22
* Wed Oct 10 2012 Richard W.M. Jones <rjones@redhat.com> 0.19.20120817git043a639-2
3f2d22
- Add upstream patch to correct uninitialized fsid variable
3f2d22
  (possible fix for RHBZ#863978).
3f2d22
3f2d22
* Fri Aug 17 2012 Josef Bacik <josef@toxicpanda.com> 0.19.20120817git043a639-1
3f2d22
- update to latest btrfs-progs
3f2d22
3f2d22
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-20
3f2d22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3f2d22
3f2d22
* Wed Apr 25 2012 Josef Bacik <josef@toxicpanda.com> 0.19-19
3f2d22
- make btrfs filesystem show <uuid> actually work (rhbz# 816293)
3f2d22
3f2d22
* Wed Apr 11 2012 Josef Bacik <josef@toxicpanda.com> 0.19-18
3f2d22
- updated to latest btrfs-progs
3f2d22
3f2d22
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-17
3f2d22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3f2d22
3f2d22
* Fri Aug 05 2011 Josef Bacik <josef@toxicpanda.com> 0.19-16
3f2d22
- fix build-everything patch to actually build everything
3f2d22
3f2d22
* Fri Aug 05 2011 Josef Bacik <josef@toxicpanda.com> 0.19-15
3f2d22
- actually build btrfs-zero-log
3f2d22
3f2d22
* Thu Aug 04 2011 Josef Bacik <josef@toxicpanda.com> 0.19-14
3f2d22
- bring btrfs-progs uptodate with upstream
3f2d22
3f2d22
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-13
3f2d22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3f2d22
3f2d22
* Fri Aug 20 2010 Adam Tkac <atkac redhat com> 0.19-12
3f2d22
- rebuild to ensure F14 has bigger NVR than F13
3f2d22
3f2d22
* Wed Mar 24 2010 Josef Bacik <josef@toxicpanda.com> 0.19-11
3f2d22
- bring btrfs-progs uptodate with upstream, add btrfs command and other
3f2d22
  features.
3f2d22
3f2d22
* Thu Mar 11 2010 Josef Bacik <josef@toxicpanda.com> 0.19-10
3f2d22
- fix dso linking issue and bring btrfs-progs uptodate with upstream
3f2d22
3f2d22
* Tue Feb 2 2010 Josef Bacik <josef@toxicpanda.com> 0.19-9
3f2d22
- fix btrfsck so it builds on newer glibcs
3f2d22
3f2d22
* Tue Feb 2 2010 Josef Bacik <josef@toxicpanda.com> 0.19-8
3f2d22
- fix btrfsctl to return 0 on success and 1 on failure
3f2d22
3f2d22
* Tue Aug 25 2009 Josef Bacik <josef@toxicpanda.com> 0.19-7
3f2d22
- add btrfs-progs-valgrind.patch to fix memory leaks and segfaults
3f2d22
3f2d22
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-6
3f2d22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3f2d22
3f2d22
* Wed Jul 15 2009 Josef Bacik <josef@toxicpanda.com> 0.19-5
3f2d22
- add e2fsprogs-devel back to BuildRequires since its needed for the converter
3f2d22
3f2d22
* Wed Jul 15 2009 Josef Bacik <josef@toxicpanda.com> 0.19-4
3f2d22
- change BuildRequires for e2fsprogs-devel to libuuid-devel
3f2d22
3f2d22
* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-3
3f2d22
- added man pages to the files list and made sure they were installed properly
3f2d22
3f2d22
* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-2
3f2d22
- add a patch for the Makefile to make it build everything again
3f2d22
3f2d22
* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-1
3f2d22
- update to v0.19 of btrfs-progs for new format
3f2d22
3f2d22
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4
3f2d22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3f2d22
3f2d22
* Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-3
3f2d22
- updated label patch
3f2d22
3f2d22
* Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-2
3f2d22
- add a patch to handle having /'s in labels
3f2d22
3f2d22
* Sat Jan 17 2009 Josef Bacik <josef@toxicpanda.com> 0.18-1
3f2d22
- updated to 0.18 because of the ioctl change in 2.6.29-rc2
3f2d22
3f2d22
* Fri Jan 16 2009 Marek Mahut <mmahut@fedoraproject.org> 0.17-4
3f2d22
- RHBZ#480219 btrfs-convert is missing
3f2d22
3f2d22
* Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17-2
3f2d22
- fixed wrong sources upload
3f2d22
3f2d22
* Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17
3f2d22
- Upstream release 0.17
3f2d22
3f2d22
* Sat Jan 10 2009 Kyle McMartin <kyle@redhat.com> 0.16.git1-1
3f2d22
- Upstream git sync from -g72359e8 (needed for kernel...)
3f2d22
3f2d22
* Sat Jan 10 2009 Marek Mahut <mmahut@fedoraproject.org> 0.16-1
3f2d22
- Upstream release 0.16
3f2d22
3f2d22
* Wed Jun 25 2008 Josef Bacik <josef@toxicpanda.com> 0.15-4
3f2d22
-use fedoras normal CFLAGS
3f2d22
3f2d22
* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-3
3f2d22
-Actually defined _root_sbindir
3f2d22
-Fixed the make install line so it would install to the proper dir
3f2d22
3f2d22
* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-2
3f2d22
-Removed a . at the end of the description
3f2d22
-Fixed the copyright to be GPLv2 since GPL doesn't work anymore
3f2d22
3f2d22
* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-1
3f2d22
-Initial build