borisb / rpms / btrfs-progs

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