1 Summary: Utilities belonging to the btrfs filesystem
6 Group: Applications/System
7 Source0: http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/%{name}-%{version}.tar.bz2
8 # Source0-md5: 5854728d080cc76f21a83bdc99b6ddaa
9 URL: http://btrfs.wiki.kernel.org/
10 BuildRequires: autoconf >= 2.50
11 BuildRequires: automake
12 BuildRequires: libuuid-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _sbindir /sbin
18 Btrfs is a new copy on write filesystem for Linux aimed at
19 implementing advanced features while focusing on fault tolerance,
20 repair and easy administration.
25 sed -i -e 's#gcc#$(CC)#g' Makefile
30 CFLAGS="%{rpmcppflags} %{rpmcflags}"
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
40 DESTDIR=$RPM_BUILD_ROOT
42 ln -sf btrfsck $RPM_BUILD_ROOT%{_sbindir}/fsck.btrfs
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %attr(755,root,root) %{_sbindir}/*