# # spec file for package bindfs # # 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: bindfs Version: 1.10.4 Release: 0 Summary: Mount Directories to other Locations and alter Permission Bits License: GPL-2.0+ Group: System/Filesystems #Git-Clone: git://github.com/mpartel/bindfs #DL-URL: http://bindfs.googlecode.com/files/bindfs-1.10.4.tar.gz Source: %name-%version.tar.bz2 # 1,2,3,6 sent upstream #2012-07-02 Patch1: bindfs-01-cflags.diff Patch2: bindfs-02-automake.diff Patch3: bindfs-03-permchain1.diff Patch6: bindfs-06-fix-short-alloc.diff Url: http://code.google.com/p/bindfs/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig %if 0%{?suse_version} >= 1140 || 0%{?fedora_version} BuildRequires: pkgconfig(fuse) >= 2.5.3 %else BuildRequires: fuse-devel >= 2.5.3 %endif # Just for filesystems: project for a short while, hence no Provides et al. Obsoletes: fuse-bindfs %description bindfs is a FUSE filesystem for mounting a directory to another location, similarly to mount --bind. The permissions inside the mountpoint can be altered using various rules. %prep %setup -q %patch -P 1 -P 2 -P 3 -P 6 -p1 %build autoreconf -fi; export CFLAGS="%optflags -O0 -ggdb3 -pg --test-coverage" export LDFLAGS="-pg --test-coverage" %configure make %{?_smp_mflags} %install %makeinstall %files %defattr(-,root,root) %doc ChangeLog COPYING README TODO %{_bindir}/bindfs %doc %{_mandir}/man1/bindfs.1%{ext_man} %changelog