Name: btrfs-progs Version: 0.15 Release: 4%{?dist} 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: e2fsprogs-devel %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 %build make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} %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}/debug-tree %{_root_sbindir}/btrfs-show %{_root_sbindir}/btrfs-vol %changelog * Mon Jun 25 2008 Josef Bacik 0.15-4 -use fedoras normal CFLAGS * Mon Jun 23 2008 Josef Bacik 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 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 0.15-1 -Initial build