File nilfs-utils.spec of Package nilfs-utils

# spec file for package nilfs-utils (Version 2.0.14)
# Copyright (c) 2009 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

# norootforbuild

Name:           nilfs-utils
BuildRequires:  libuuid-devel
License:        GPL v2 or later
Group:          System/Filesystems
AutoReqProv:    on
Summary:        Utilities for NILFS
Version:        2.0.14
Release:        1
Source:         %{name}-%{version}.tar.bz2
Patch:          nilfs-utils-install-fixes.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This package contains utility programs for NILFS v2.

%setup -q
%patch -p1

autoreconf -fi
make %{?jobs:-j %jobs}

make install DESTDIR=$RPM_BUILD_ROOT root_sbindir=/sbin root_libdir=/%{_lib}
# remove unneeded files
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
# remove devel files (not packaged for the time being)
rm -rf $RPM_BUILD_ROOT%{_includedir}
rm -f $RPM_BUILD_ROOT%{_libdir}/*.so

rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%config(noreplace) /etc/nilfs_cleanerd.conf
# %{_includedir}/nilfs.h
# %{_includedir}/nilfs_fs.h
# %{_libdir}/

openSUSE Build Service is sponsored by