File f2fs-tools.spec of Package f2fs-tools

#
# spec file for package f2fs-tools
#
# Copyright (c) 2012 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:           f2fs-tools
Version:        1.1.0+
#git describe:	v1.1.0-11-gc7e0a01
Release:        0
Summary:        Utilities for the Flash-friendly Filesystem (F2FS)
License:        GPL-2.0
Group:          System/Filesystems
Url:            http://f2fs-tools.sf.net/_(disused)

#Git-Clone:	git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools
#DL-URL:	no tarballs provided
Source:         %name-%version.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  pkgconfig
BuildRequires:  xz
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
BuildRequires:	pkgconfig(uuid)
%else
BuildRequires:	libuuid-devel
%endif

%description
Utilities needed to create and maintain F2 filesystems.

%prep
%setup -qn %name

%build
%configure
make %{?_smp_mflags}

%install
make install DESTDIR="%buildroot";

%files
%defattr(-,root,root)
%_sbindir/mkfs.f2fs
%_mandir/man8/*
%doc COPYING

%changelog
openSUSE Build Service is sponsored by