SHA256
1
0
forked from pool/bindfs
bindfs/bindfs.spec

61 lines
1.7 KiB
RPMSpec

#
# spec file for package bindfs
#
# 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: bindfs
Version: 1.12
Release: 0
Summary: Mount Directories to other Locations and alter Permission Bits
License: GPL-2.0+
Group: System/Filesystems
Url: http://code.google.com/p/bindfs/
#Git-Clone: git://github.com/mpartel/bindfs
#DL-URL: http://bindfs.googlecode.com/files/bindfs-1.12.tar.gz
Source: %name-%version.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig
BuildRequires: xz
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
BuildRequires: pkgconfig(fuse) >= 2.5.3
%else
BuildRequires: fuse-devel >= 2.5.3
%endif
%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
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR="%buildroot";
%files
%defattr(-,root,root)
%doc ChangeLog COPYING
%_bindir/bindfs
%_mandir/man1/bindfs.1*
%changelog