# # spec file for package btrfsprogs (Version 0.19) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 Url: http://oss.oracle.com/~mason/btrfs/ Version: 0.19 Release: 4 Summary: Btrfs File System Utilities License: GNU General Public License (GPL) Group: System/Filesystems Supplements: filesystem(btrfs) Source: http://ftp.kernel.org/pub/linux/kernel/people/mason/btrfs/btrfs-progs-%{version}.tar.bz2 Patch0: memleak-fix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libuuid-devel zlib-devel %description This package contains utilities for creating, checking, and debugging btrfs file systems. %prep %setup -q -n btrfs-progs-%{version} %patch0 %build make %{?jobs:-j%jobs} CFLAGS="%{optflags}" %install make install DESTDIR=${RPM_BUILD_ROOT} prefix=%{_prefix} bindir=/sbin mandir=%{_mandir} %files %defattr(-, root, root) /sbin/btrfs-debug-tree /sbin/btrfs-show /sbin/btrfs-vol /sbin/btrfsck /sbin/btrfsctl /sbin/mkfs.btrfs %_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 %clean rm -rf $RPM_BUILD_ROOT %changelog