2009-03-01 04:28:54 +01:00
|
|
|
#
|
2009-07-21 12:23:25 +02:00
|
|
|
# spec file for package btrfsprogs (Version 0.19)
|
2009-03-01 04:28:54 +01:00
|
|
|
#
|
2010-01-11 17:53:27 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-03-01 04:28:54 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: btrfsprogs
|
2009-07-21 12:23:25 +02:00
|
|
|
Url: http://oss.oracle.com/~mason/btrfs/
|
|
|
|
Version: 0.19
|
2010-01-29 17:42:56 +01:00
|
|
|
Release: 5
|
2009-07-21 12:23:25 +02:00
|
|
|
Summary: Btrfs File System Utilities
|
|
|
|
License: GNU General Public License (GPL)
|
2009-03-01 04:28:54 +01:00
|
|
|
Group: System/Filesystems
|
2009-08-03 18:27:49 +02:00
|
|
|
Supplements: filesystem(btrfs)
|
2009-03-01 04:28:54 +01:00
|
|
|
Source: http://ftp.kernel.org/pub/linux/kernel/people/mason/btrfs/btrfs-progs-%{version}.tar.bz2
|
2009-07-21 12:23:25 +02:00
|
|
|
Patch0: memleak-fix.diff
|
2009-03-01 04:28:54 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-01-29 17:42:56 +01:00
|
|
|
BuildRequires: libacl-devel libext2fs-devel libuuid-devel zlib-devel
|
2009-03-01 04:28:54 +01:00
|
|
|
|
|
|
|
%description
|
2009-07-21 12:23:25 +02:00
|
|
|
This package contains utilities for creating, checking, and debugging btrfs
|
|
|
|
file systems.
|
2009-03-01 04:28:54 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n btrfs-progs-%{version}
|
2009-07-21 12:23:25 +02:00
|
|
|
%patch0
|
2009-03-01 04:28:54 +01:00
|
|
|
|
|
|
|
%build
|
2010-01-29 17:42:56 +01:00
|
|
|
make %{?jobs:-j%jobs} CFLAGS="%{optflags}" all convert
|
2009-03-01 04:28:54 +01:00
|
|
|
|
|
|
|
%install
|
2009-07-28 00:08:56 +02:00
|
|
|
make install DESTDIR=${RPM_BUILD_ROOT} prefix=%{_prefix} bindir=/sbin mandir=%{_mandir}
|
2009-03-01 04:28:54 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2009-07-28 00:08:56 +02:00
|
|
|
/sbin/btrfs-debug-tree
|
|
|
|
/sbin/btrfs-show
|
|
|
|
/sbin/btrfs-vol
|
2010-01-29 17:42:56 +01:00
|
|
|
/sbin/btrfs-convert
|
2009-07-28 00:08:56 +02:00
|
|
|
/sbin/btrfsck
|
|
|
|
/sbin/btrfsctl
|
|
|
|
/sbin/mkfs.btrfs
|
2009-07-21 12:23:25 +02:00
|
|
|
%_mandir/man8/btrfs-image.8.gz
|
|
|
|
%_mandir/man8/btrfs-show.8.gz
|
|
|
|
%_mandir/man8/btrfsck.8.gz
|
|
|
|
%_mandir/man8/btrfsctl.8.gz
|
|
|
|
%_mandir/man8/mkfs.btrfs.8.gz
|
2009-03-01 04:28:54 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%changelog
|