File f2fs-tools.spec of Package f2fs-tools
#
# spec file for package f2fs-tools
#
# Copyright (c) 2013 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
%define lname libf2fs0
Version: 1.1.0+git24
Release: 0
#git describe: v1.1.0-24-gfef98eb
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: autoconf
BuildRequires: automake
BuildRequires: libtool
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
if [ ! -e configure ]; then
autoreconf -fi
fi
%configure --disable-shared
make %{?_smp_mflags}
%install
make install DESTDIR="%buildroot";
# The library is quite useless ATM without public headers.
rm -f "%buildroot/%_libdir"/*.a "%buildroot/%_libdir"/*.la
%files
%defattr(-,root,root)
/sbin/mkfs.f2fs
%_mandir/man8/*
%doc COPYING
%changelog