]> git.pld-linux.org Git - packages/btrfs-progs.git/blob - btrfs-progs.spec
- up to 0.18
[packages/btrfs-progs.git] / btrfs-progs.spec
1 Summary:        Utilities belonging to the btrfs filesystem
2 Name:           btrfs-progs
3 Version:        0.18
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:  f1d49b54e3059f127fc82eab4fafcb8e
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         bindir=%{_sbindir} \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 ln -sf btrfsck $RPM_BUILD_ROOT%{_sbindir}/fsck.btrfs
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc INSTALL
48 %attr(755,root,root) %{_sbindir}/*
This page took 0.04314 seconds and 4 git commands to generate.