btrfs-progs/btrfs-progs.spec

98 lines
3.0 KiB
RPMSpec
Raw Normal View History

2008-06-30 19:37:31 +00:00
Name: btrfs-progs
Version: 0.19
Release: 2%{?dist}
2008-06-30 19:37:31 +00:00
Summary: Userspace programs for btrfs
Group: System Environment/Base
License: GPLv2
URL: http://btrfs.wiki.kernel.org/index.php/Main_Page
Source0: http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/%{name}-%{version}.tar.bz2
Patch0: btrfs-progs-fix-labels.patch
Patch1: btrfs-progs-build-everything.patch
2008-06-30 19:37:31 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2009-01-16 12:21:08 +00:00
BuildRequires: e2fsprogs-devel, zlib-devel, libacl-devel
2008-06-30 19:37:31 +00:00
%define _root_sbindir /sbin
%description
The btrfs-progs package provides all the userpsace programs needed to create,
check, modify and correct any inconsistencies in the btrfs filesystem.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
2008-06-30 19:37:31 +00:00
%build
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
2009-01-16 12:10:12 +00:00
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} convert
2008-06-30 19:37:31 +00:00
%install
rm -rf $RPM_BUILD_ROOT
make bindir=%{_root_sbindir} install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING INSTALL
%{_root_sbindir}/btrfsctl
%{_root_sbindir}/btrfsck
%{_root_sbindir}/mkfs.btrfs
%{_root_sbindir}/btrfs-debug-tree
%{_root_sbindir}/btrfs-image
2008-06-30 19:37:31 +00:00
%{_root_sbindir}/btrfs-show
%{_root_sbindir}/btrfs-vol
2009-01-16 12:10:12 +00:00
%{_root_sbindir}/btrfs-convert
%{_root_sbindir}/btrfstune
2008-06-30 19:37:31 +00:00
%changelog
* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-2
- add a patch for the Makefile to make it build everything again
* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-1
- update to v0.19 of btrfs-progs for new format
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-3
- updated label patch
* Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-2
- add a patch to handle having /'s in labels
* Sat Jan 17 2009 Josef Bacik <josef@toxicpanda.com> 0.18-1
- updated to 0.18 because of the ioctl change in 2.6.29-rc2
2009-01-16 12:21:08 +00:00
* Fri Jan 16 2009 Marek Mahut <mmahut@fedoraproject.org> 0.17-4
2009-01-16 12:10:12 +00:00
- RHBZ#480219 btrfs-convert is missing
* Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17-2
- fixed wrong sources upload
* Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17
- Upstream release 0.17
* Sat Jan 10 2009 Kyle McMartin <kyle@redhat.com> 0.16.git1-1
- Upstream git sync from -g72359e8 (needed for kernel...)
2009-01-10 12:28:49 +00:00
* Sat Jan 10 2009 Marek Mahut <mmahut@fedoraproject.org> 0.16-1
2009-01-10 12:26:55 +00:00
- Upstream release 0.16
2008-06-30 19:37:31 +00:00
* Mon Jun 25 2008 Josef Bacik <josef@toxicpanda.com> 0.15-4
-use fedoras normal CFLAGS
* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-3
-Actually defined _root_sbindir
-Fixed the make install line so it would install to the proper dir
* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-2
-Removed a . at the end of the description
-Fixed the copyright to be GPLv2 since GPL doesn't work anymore
* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-1
-Initial build