resetting manifest requested domain to floor
[platform/upstream/btrfs-progs.git] / packaging / btrfs-progs.spec
1 Name:           btrfs-progs
2 Version:        0.20.rc1
3 Release:        0
4 Summary:        Utilities for the Btrfs filesystem
5 Group:          Base/File Systems
6 License:        GPL-2.0
7 Url:            http://btrfs.wiki.kernel.org/index.php/Main_Page
8 Source:         %{name}-%{version}.tar.xz
9 Source1001:     btrfs-progs.manifest
10 BuildRequires:  libacl-devel
11 BuildRequires:  lzo-devel
12 BuildRequires:  pkgconfig(ext2fs)
13 BuildRequires:  pkgconfig(uuid)
14 BuildRequires:  pkgconfig(zlib)
15 # for /bin/true
16 Requires:       coreutils
17
18 %description
19 Utilities needed to create and maintain btrfs file systems under Linux.
20
21 %prep
22 %setup -q
23 cp %{SOURCE1001} .
24
25 %build
26 make %{?_smp_mflags}
27
28 %install
29 make install DESTDIR=%{buildroot} prefix=%{_prefix} bindir=%{_sbindir} mandir=%{_mandir}
30 ln -s %{_sbindir}/btrfsck %{buildroot}%{_sbindir}/fsck.btrfs
31
32
33 %docs_package
34
35 %files
36 %manifest %{name}.manifest
37 %license COPYING
38 %{_sbindir}/btrfs
39 %{_sbindir}/btrfs-convert
40 %{_sbindir}/btrfs-debug-tree
41 %{_sbindir}/btrfs-find-root
42 %{_sbindir}/btrfs-image
43 %{_sbindir}/btrfs-map-logical
44 %{_sbindir}/btrfs-restore
45 %{_sbindir}/btrfs-show
46 %{_sbindir}/btrfs-vol
47 %{_sbindir}/btrfs-zero-log
48 %{_sbindir}/btrfsck
49 %{_sbindir}/btrfsctl
50 %{_sbindir}/btrfstune
51 %{_sbindir}/fsck.btrfs
52 %{_sbindir}/mkfs.btrfs