osandov / rpms / btrfs-progs

Forked from rpms/btrfs-progs 2 years ago
Clone
Josef Bacik 056540
Name:           btrfs-progs
Josef Bacik f2783f
Version:        0.19
Josef Bacik 8ce292
Release:        7%{?dist}
Josef Bacik 056540
Summary:        Userspace programs for btrfs
Josef Bacik 056540
Josef Bacik 056540
Group:          System Environment/Base
Josef Bacik 056540
License:        GPLv2
Josef Bacik 056540
URL:            http://btrfs.wiki.kernel.org/index.php/Main_Page
Josef Bacik 056540
Source0:        http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/%{name}-%{version}.tar.bz2
Josef Bacik 2a45a0
Patch0: btrfs-progs-fix-labels.patch
Josef Bacik 2377ed
Patch1: btrfs-progs-build-everything.patch
Josef Bacik 8ce292
Patch2: btrfs-progs-valgrind.patch
Josef Bacik 056540
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Josef Bacik 056540
Josef Bacik 07bc2d
BuildRequires:  e2fsprogs-devel, libuuid-devel, zlib-devel, libacl-devel
Josef Bacik 056540
Josef Bacik 056540
%define _root_sbindir /sbin
Josef Bacik 056540
Josef Bacik 056540
%description
Josef Bacik 056540
The btrfs-progs package provides all the userpsace programs needed to create,
Josef Bacik 056540
check, modify and correct any inconsistencies in the btrfs filesystem.
Josef Bacik 056540
Josef Bacik 056540
%prep
Josef Bacik 056540
%setup -q
Josef Bacik 2a45a0
%patch0 -p1
Josef Bacik 2377ed
%patch1 -p1
Josef Bacik 8ce292
%patch2 -p1
Josef Bacik 056540
Josef Bacik 056540
%build
Josef Bacik 056540
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
Marek Mahut e6164a
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} convert
Josef Bacik 056540
Josef Bacik 056540
%install
Josef Bacik 056540
rm -rf $RPM_BUILD_ROOT
Josef Bacik a9c10b
make mandir=%{_mandir} bindir=%{_root_sbindir} install DESTDIR=$RPM_BUILD_ROOT
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,-)
Josef Bacik 056540
%doc COPYING INSTALL
Josef Bacik 056540
%{_root_sbindir}/btrfsctl
Josef Bacik 056540
%{_root_sbindir}/btrfsck
Josef Bacik 056540
%{_root_sbindir}/mkfs.btrfs
Kyle McMartin 9ffd2c
%{_root_sbindir}/btrfs-debug-tree
Kyle McMartin 9ffd2c
%{_root_sbindir}/btrfs-image
Josef Bacik 056540
%{_root_sbindir}/btrfs-show
Josef Bacik 056540
%{_root_sbindir}/btrfs-vol
Marek Mahut e6164a
%{_root_sbindir}/btrfs-convert
Kyle McMartin 9ffd2c
%{_root_sbindir}/btrfstune
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 056540
Josef Bacik 056540
%changelog
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
Josef Bacik 056540
* Mon 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