LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File unionfs-fuse.spec of Package unionfs-fuse (Project DISCONTINUED:openSUSE:11.2)

#
# spec file for package unionfs-fuse (Version 0.23.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:           unionfs-fuse
BuildRequires:  cmake fuse-devel gcc-c++
Requires:       fuse
Summary:        Userspace Unionfs File System
Version:        0.23.0
Release:        1
License:        BSD 3-Clause
Group:          System/Filesystems
Source:         %{name}-0.23.tar.bz2
Url:            http://podgorny.cz/moin/UnionFsFuse
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
unionfs-fuse overlays several directory into one single mount point

It  first  tries to access the file on the top branch and if the file
does not exist there, it continues on lower level branches. If the user
tries to modify a file on a lower level read-only branch the file is
copied to to a higher level read-write branch if the copy-on-write
(cow) mode was enabled.



%prep
%setup -n %{name}-0.23

%build
export CFLAGS=$RPM_OPT_FLAGS
export CXXFLAGS=$CFLAGS 
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make

%install
make DESTDIR="$RPM_BUILD_ROOT" install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc LICENSE CREDITS NEWS
%{_mandir}/man?/*
%{_bindir}/unionfs

%changelog
* Tue Mar 24 2009 coolo@suse.de
- updated to official 0.23 snapshot
* Mon Mar 02 2009 coolo@suse.de
- initial package