]> git.pld-linux.org Git - packages/btrfs-progs.git/blame - btrfs-progs.spec
- updated to 0.19
[packages/btrfs-progs.git] / btrfs-progs.spec
CommitLineData
e3346250
AM
1Summary: Utilities belonging to the btrfs filesystem
2Name: btrfs-progs
1295fb7d 3Version: 0.19
e3346250
AM
4Release: 1
5License: GPL v2
6Group: Applications/System
7Source0: http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/%{name}-%{version}.tar.bz2
1295fb7d 8# Source0-md5: 5854728d080cc76f21a83bdc99b6ddaa
e3346250
AM
9URL: http://btrfs.wiki.kernel.org/
10BuildRequires: autoconf >= 2.50
11BuildRequires: automake
12BuildRequires: libuuid-devel
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%define _sbindir /sbin
16
17%description
18Btrfs is a new copy on write filesystem for Linux aimed at
19implementing advanced features while focusing on fault tolerance,
20repair and easy administration.
21
22%prep
23%setup -q
24
1295fb7d 25sed -i -e 's#gcc#$(CC)#g' Makefile
e3346250
AM
26
27%build
28%{__make} \
29 CC="%{__cc}" \
30 CFLAGS="%{rpmcppflags} %{rpmcflags}"
31
32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
35
36%{__make} install \
1295fb7d 37 prefix=%{_prefix} \
e3346250 38 bindir=%{_sbindir} \
1295fb7d 39 mandir=%{_mandir} \
e3346250
AM
40 DESTDIR=$RPM_BUILD_ROOT
41
42ln -sf btrfsck $RPM_BUILD_ROOT%{_sbindir}/fsck.btrfs
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
49%doc INSTALL
50%attr(755,root,root) %{_sbindir}/*
1295fb7d 51%{_mandir}/man8/*.8*
This page took 0.879615 seconds and 4 git commands to generate.