borisb / rpms / btrfs-progs

Forked from rpms/btrfs-progs 2 years ago
Clone
Eric Sandeen bb8ab9
Name:		btrfs-progs
Eric Sandeen e0274b
Version:	0.20.rc1.20130501git7854c8b
1c669e
Release:	4%{?dist}
Eric Sandeen bb8ab9
Summary:	Userspace programs for btrfs
Josef Bacik 056540
Eric Sandeen bb8ab9
Group:		System Environment/Base
Eric Sandeen bb8ab9
License:	GPLv2
Eric Sandeen bb8ab9
URL:		http://btrfs.wiki.kernel.org/index.php/Main_Page
Josef Bacik b5e03c
Source0:	%{name}-%{version}.tar.bz2
Eric Sandeen d74e65
Eric Sandeen d74e65
# Valgrind patch no longer applied, but kept for posterity
Eric Sandeen d74e65
# Still must reverse-engineer fixes in there and get upstream
Eric Sandeen bb8ab9
Patch0:		btrfs-progs-valgrind.patch
Eric Sandeen bb8ab9
Patch1:		btrfs-init-dev-list.patch
Eric Sandeen bdb375
Patch2:		btrfs-progs-Makefile.patch
Josef Bacik b5e03c
31ddd8
# Patch accepted upstream 2013-05-13:
31ddd8
# http://permalink.gmane.org/gmane.comp.file-systems.btrfs/25681
31ddd8
Patch3:         0001-libbtrfs-Set-SONAME-to-libbtrfs.so.0-instead-of-libb.patch
31ddd8
Eric Sandeen bb8ab9
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Josef Bacik 056540
Eric Sandeen bb8ab9
BuildRequires:	e2fsprogs-devel, libuuid-devel, zlib-devel
Eric Sandeen bb8ab9
BuildRequires:	libacl-devel, libblkid-devel, lzo-devel
Josef Bacik 056540
Josef Bacik 056540
%define _root_sbindir /sbin
Josef Bacik 056540
Josef Bacik 056540
%description
Eric Sandeen e0274b
The btrfs-progs package provides all the userspace programs needed to create,
Josef Bacik 056540
check, modify and correct any inconsistencies in the btrfs filesystem.
Josef Bacik 056540
Eric Sandeen bb8ab9
%package devel
Eric Sandeen bdb375
Summary:	btrfs filesystem-specific libraries and headers
Eric Sandeen bb8ab9
Group:		Development/Libraries
Eric Sandeen bdb375
Requires:	btrfs-progs = %{version}-%{release}
Eric Sandeen bb8ab9
Eric Sandeen bb8ab9
%description devel
Eric Sandeen bb8ab9
btrfs-progs-devel contains the libraries and header files needed to
Eric Sandeen bb8ab9
develop btrfs filesystem-specific programs.
Eric Sandeen bb8ab9
Eric Sandeen bb8ab9
You should install btrfs-progs-devel if you want to develop
Eric Sandeen bb8ab9
btrfs filesystem-specific programs.
Eric Sandeen bb8ab9
Josef Bacik 056540
%prep
Josef Bacik 056540
%setup -q
Josef Bacik a37e25
%patch1 -p1
Eric Sandeen bdb375
%patch2 -p1
31ddd8
%patch3 -p1
Josef Bacik 056540
Josef Bacik 056540
%build
Eric Sandeen d74e65
make CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{?_smp_mflags}
Josef Bacik 056540
Josef Bacik 056540
%install
Josef Bacik 056540
rm -rf $RPM_BUILD_ROOT
Eric Sandeen bb8ab9
make mandir=%{_mandir} bindir=%{_sbindir} libdir=%{_libdir} incdir=%{_includedir}/btrfs install DESTDIR=$RPM_BUILD_ROOT
Eric Sandeen bdb375
# Nuke the static lib
Eric Sandeen bdb375
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
Josef Bacik 056540
Josef Bacik 056540
%clean
Josef Bacik 056540
rm -rf $RPM_BUILD_ROOT
Josef Bacik 056540
Josef Bacik 056540
%files
Josef Bacik 056540
%defattr(-,root,root,-)
Eric Sandeen bdb375
%doc COPYING
Eric Sandeen bdb375
%{_libdir}/libbtrfs.so.0*
Josef Bacik 8bffa8
%{_sbindir}/btrfsctl
Josef Bacik 8bffa8
%{_sbindir}/btrfsck
Josef Bacik 8bffa8
%{_sbindir}/mkfs.btrfs
Josef Bacik 8bffa8
%{_sbindir}/btrfs-debug-tree
Josef Bacik 8bffa8
%{_sbindir}/btrfs-image
Josef Bacik 8bffa8
%{_sbindir}/btrfs-show
Josef Bacik 8bffa8
%{_sbindir}/btrfs-vol
Josef Bacik 8bffa8
%{_sbindir}/btrfs-convert
Josef Bacik 8bffa8
%{_sbindir}/btrfstune
Josef Bacik 8bffa8
%{_sbindir}/btrfs
Josef Bacik 8bffa8
%{_sbindir}/btrfs-map-logical
Josef Bacik 8bffa8
%{_sbindir}/btrfs-zero-log
Josef Bacik 8bffa8
%{_sbindir}/btrfs-find-root
Eric Sandeen d74e65
%{_sbindir}/btrfs-show-super
Josef Bacik a9c10b
%{_mandir}/man8/btrfs-image.8.gz
Josef Bacik a9c10b
%{_mandir}/man8/btrfs-show.8.gz
Josef Bacik a9c10b
%{_mandir}/man8/btrfsck.8.gz
Josef Bacik a9c10b
%{_mandir}/man8/btrfsctl.8.gz
Josef Bacik a9c10b
%{_mandir}/man8/mkfs.btrfs.8.gz
Josef Bacik 0b8f9c
%{_mandir}/man8/btrfs.8.gz
Josef Bacik 056540
Eric Sandeen bb8ab9
%files devel
Eric Sandeen bb8ab9
%{_includedir}/*
Eric Sandeen bdb375
%{_libdir}/libbtrfs.so
Eric Sandeen bb8ab9
Josef Bacik 056540
%changelog
1c669e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.rc1.20130501git7854c8b-4
1c669e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1c669e
31ddd8
* Mon May 13 2013 Richard W.M. Jones <rjones@redhat.com> 0.20.rc1.20130501git7854c8b-3
31ddd8
- Add accepted upstream patch to fix SONAME libbtrfs.so -> libbtrfs.so.0
31ddd8
Eric Sandeen bdb375
* Thu May 02 2013 Eric Sandeen <sandeen@redhat.com> 0.20.rc1.20130501git7854c8b-2
Eric Sandeen bdb375
- Fix subpackage brokenness
Eric Sandeen bdb375
Eric Sandeen bdb375
* Wed May 01 2013 Eric Sandeen <sandeen@redhat.com> 0.20.rc1.20130501git7854c8b-1
Eric Sandeen e0274b
- New upstream snapshot
Eric Sandeen bb8ab9
- btrfs-progs-devel subpackage
Eric Sandeen e0274b
Eric Sandeen d74e65
* Fri Mar 08 2013 Eric Sandeen <sandeen@redhat.com> 0.20.rc1.20130308git704a08c-1
Eric Sandeen d74e65
- New upstream snapshot
Eric Sandeen d74e65
- btrfs-restore is now a command in the btrfs utility
Eric Sandeen d74e65
a9cea1
* Wed Feb 13 2013 Richard W.M. Jones <rjones@redhat.com> 0.20.rc1.20121017git91d9eec-3
a9cea1
- Include upstream patch to clear caches as a partial fix for RHBZ#863978.
a9cea1
Josef Bacik 96158b
* Thu Nov  1 2012 Josef Bacik <josef@toxicpanda.com> 0.20.rc1.20121017git91d9eec-2
Josef Bacik 96158b
- fix a bug when mkfs'ing a file (rhbz# 871778)
Josef Bacik 96158b
Josef Bacik 0124ba
* Wed Oct 17 2012 Josef Bacik <josef@toxicpanda.com> 0.20.rc1.20121017git91d9eec-1
Josef Bacik 0124ba
- update to latest btrfs-progs
Josef Bacik 0124ba
089650
* Wed Oct 10 2012 Richard W.M. Jones <rjones@redhat.com> 0.19.20120817git043a639-2
089650
- Add upstream patch to correct uninitialized fsid variable
089650
  (possible fix for RHBZ#863978).
089650
Josef Bacik b5e03c
* Fri Aug 17 2012 Josef Bacik <josef@toxicpanda.com> 0.19.20120817git043a639-1
Josef Bacik b5e03c
- update to latest btrfs-progs
Josef Bacik b5e03c
541268
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-20
541268
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
541268
Josef Bacik 758d90
* Wed Apr 25 2012 Josef Bacik <josef@toxicpanda.com> 0.19-19
Josef Bacik 758d90
- make btrfs filesystem show <uuid> actually work (rhbz# 816293)
Josef Bacik 758d90
Josef Bacik 8bffa8
* Wed Apr 11 2012 Josef Bacik <josef@toxicpanda.com> 0.19-18
Josef Bacik 8bffa8
- updated to latest btrfs-progs
Josef Bacik 8bffa8
be7a8c
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-17
be7a8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
be7a8c
Josef Bacik 4f7951
* Fri Aug 05 2011 Josef Bacik <josef@toxicpanda.com> 0.19-16
Josef Bacik 4f7951
- fix build-everything patch to actually build everything
Josef Bacik 4f7951
Josef Bacik 622b1e
* Fri Aug 05 2011 Josef Bacik <josef@toxicpanda.com> 0.19-15
Josef Bacik 622b1e
- actually build btrfs-zero-log
Josef Bacik 622b1e
Josef Bacik a37e25
* Thu Aug 04 2011 Josef Bacik <josef@toxicpanda.com> 0.19-14
Josef Bacik a37e25
- bring btrfs-progs uptodate with upstream
Josef Bacik a37e25
a8ae69
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-13
a8ae69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a8ae69
Adam Tkac 6d41d0
* Fri Aug 20 2010 Adam Tkac <atkac redhat com> 0.19-12
Adam Tkac 6d41d0
- rebuild to ensure F14 has bigger NVR than F13
Adam Tkac 6d41d0
Josef Bacik 0b8f9c
* Wed Mar 24 2010 Josef Bacik <josef@toxicpanda.com> 0.19-11
Josef Bacik 0b8f9c
- bring btrfs-progs uptodate with upstream, add btrfs command and other
Josef Bacik 0b8f9c
  features.
Josef Bacik 0b8f9c
Josef Bacik 8a3df8
* Thu Mar 11 2010 Josef Bacik <josef@toxicpanda.com> 0.19-10
Josef Bacik 8a3df8
- fix dso linking issue and bring btrfs-progs uptodate with upstream
Josef Bacik 8a3df8
Josef Bacik 4ec8d5
* Tue Feb 2 2010 Josef Bacik <josef@toxicpanda.com> 0.19-9
Josef Bacik 4ec8d5
- fix btrfsck so it builds on newer glibcs
Josef Bacik 4ec8d5
Josef Bacik cae92f
* Tue Feb 2 2010 Josef Bacik <josef@toxicpanda.com> 0.19-8
Josef Bacik cae92f
- fix btrfsctl to return 0 on success and 1 on failure
Josef Bacik cae92f
Josef Bacik 8ce292
* Tue Aug 25 2009 Josef Bacik <josef@toxicpanda.com> 0.19-7
Josef Bacik 8ce292
- add btrfs-progs-valgrind.patch to fix memory leaks and segfaults
Josef Bacik 8ce292
Jesse Keating ba2f35
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-6
Jesse Keating ba2f35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Jesse Keating ba2f35
Josef Bacik 07bc2d
* Wed Jul 15 2009 Josef Bacik <josef@toxicpanda.com> 0.19-5
Josef Bacik 07bc2d
- add e2fsprogs-devel back to BuildRequires since its needed for the converter
Josef Bacik 07bc2d
Josef Bacik 273fb6
* Wed Jul 15 2009 Josef Bacik <josef@toxicpanda.com> 0.19-4
Josef Bacik 273fb6
- change BuildRequires for e2fsprogs-devel to libuuid-devel
Josef Bacik 273fb6
Josef Bacik a9c10b
* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-3
Josef Bacik a9c10b
- added man pages to the files list and made sure they were installed properly
Josef Bacik a9c10b
Josef Bacik 2377ed
* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-2
Josef Bacik 2377ed
- add a patch for the Makefile to make it build everything again
Josef Bacik 2377ed
Josef Bacik f2783f
* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-1
Josef Bacik f2783f
- update to v0.19 of btrfs-progs for new format
Josef Bacik f2783f
Jesse Keating 3c1b9f
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4
Jesse Keating 3c1b9f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating 3c1b9f
Josef Bacik 0b025a
* Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-3
Josef Bacik 0b025a
- updated label patch
Josef Bacik 0b025a
Josef Bacik 2a45a0
* Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-2
Josef Bacik 2a45a0
- add a patch to handle having /'s in labels
Josef Bacik 2a45a0
Josef Bacik 985ca4
* Sat Jan 17 2009 Josef Bacik <josef@toxicpanda.com> 0.18-1
Josef Bacik 985ca4
- updated to 0.18 because of the ioctl change in 2.6.29-rc2
Josef Bacik 985ca4
Marek Mahut 5ae257
* Fri Jan 16 2009 Marek Mahut <mmahut@fedoraproject.org> 0.17-4
Marek Mahut e6164a
- RHBZ#480219 btrfs-convert is missing
Marek Mahut e6164a
Josef Bacik f96897
* Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17-2
Josef Bacik f96897
- fixed wrong sources upload
Josef Bacik f96897
Josef Bacik ed9174
* Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17
Josef Bacik ed9174
- Upstream release 0.17
Josef Bacik ed9174
Kyle McMartin 9ffd2c
* Sat Jan 10 2009 Kyle McMartin <kyle@redhat.com> 0.16.git1-1
Kyle McMartin 9ffd2c
- Upstream git sync from -g72359e8 (needed for kernel...)
Kyle McMartin 9ffd2c
Marek Mahut 0b9b57
* Sat Jan 10 2009 Marek Mahut <mmahut@fedoraproject.org> 0.16-1
Marek Mahut 6d811e
- Upstream release 0.16
Marek Mahut 6d811e
Eric Sandeen d74e65
* Wed Jun 25 2008 Josef Bacik <josef@toxicpanda.com> 0.15-4
Josef Bacik 056540
-use fedoras normal CFLAGS
Josef Bacik 056540
Josef Bacik 056540
* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-3
Josef Bacik 056540
-Actually defined _root_sbindir
Josef Bacik 056540
-Fixed the make install line so it would install to the proper dir
Josef Bacik 056540
Josef Bacik 056540
* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-2
Josef Bacik 056540
-Removed a . at the end of the description
Josef Bacik 056540
-Fixed the copyright to be GPLv2 since GPL doesn't work anymore
Josef Bacik 056540
Josef Bacik 056540
* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-1
Josef Bacik 056540
-Initial build