]> git.pld-linux.org Git - packages/btrfs-progs.git/blob - btrfs-progs.spec
- updated to 0.19
[packages/btrfs-progs.git] / btrfs-progs.spec
1 Summary:        Utilities belonging to the btrfs filesystem
2 Name:           btrfs-progs
3 Version:        0.19
4 Release:        1
5 License:        GPL v2
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)
14
15 %define         _sbindir        /sbin
16
17 %description
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.
21
22 %prep
23 %setup -q
24
25 sed -i -e 's#gcc#$(CC)#g' Makefile
26
27 %build
28 %{__make} \
29         CC="%{__cc}" \
30         CFLAGS="%{rpmcppflags} %{rpmcflags}"
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
35
36 %{__make} install \
37         prefix=%{_prefix} \
38         bindir=%{_sbindir} \
39         mandir=%{_mandir} \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 ln -sf btrfsck $RPM_BUILD_ROOT%{_sbindir}/fsck.btrfs
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc INSTALL
50 %attr(755,root,root) %{_sbindir}/*
51 %{_mandir}/man8/*.8*
This page took 0.039314 seconds and 3 git commands to generate.