File deltafs.spec of Package deltafs
#
# spec file for package deltafs (Version 1.0)
#
# 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: deltafs
BuildRequires: fuse-devel licenses pkg-config
Requires: fuse licenses
Summary: Delta Filesystem
Version: 1.0
Release: 1
License: GPL v2 only
Group: System/Filesystems
Source: %{name}-%{version}.tar.bz2
Url: http://git.kernel.org/?p=linux/kernel/git/mszeredi/deltafs.git
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Deltafs combines a read-only lower directory and a read-write upper
directory into a new filesystem. Currently it works very similarly to
a union filesystem, where upon modification whole files are copied up
to the upper layer. There are plans to store differences more
efficiently in the future.
Authors:
--------
Miklos Szeredi <miklos@szeredi.hu>
%prep
%setup -n %{name}-%{version}
%build
%{?suse_update_config:%{suse_update_config -f}}
aclocal
autoheader
automake --foreign --add-missing
autoconf
%configure
make
%install
make DESTDIR="$RPM_BUILD_ROOT" install
ln -sf ../../licenses/md5/$(md5sum COPYING | sed 's/ .*//') COPYING
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%doc %{_mandir}/*/*
%{_bindir}/*
%changelog