[packages/bindfs] new

atler atler at pld-linux.org
Sat May 29 23:14:09 CEST 2021


commit 4a01e891443a67a877c6751b328152604850eec2
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat May 29 23:08:44 2021 +0200

    new

 bindfs.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
---
diff --git a/bindfs.spec b/bindfs.spec
new file mode 100644
index 0000000..6fe7781
--- /dev/null
+++ b/bindfs.spec
@@ -0,0 +1,46 @@
+Summary:	Mount a directory elsewhere with changed permissions
+Name:		bindfs
+Version:	1.15.1
+Release:	1
+License:	GPL v2+
+Group:		Applications/System
+Source0:	https://bindfs.org/downloads/%{name}-%{version}.tar.gz
+# Source0-md5:	e7c1057033129f2fa9a1cc00dcfc1660
+URL:		https://bindfs.org/
+BuildRequires:	libfuse3-devel >= 3.4.0
+BuildRequires:	pkgconfig >= 1:0.9.0
+Requires:	libfuse3 >= 3.4.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+bindfs is a FUSE filesystem for mirroring a directory to another
+directory, similarly to mount --bind. The permissions of the mirrored
+directory can be altered in various ways.
+
+Some things bindfs can be used for:
+- Making a directory read-only.
+- Making all executables non-executable.
+- Sharing a directory with a list of users (or groups).
+- Modifying permission bits using rules with chmod-like syntax.
+- Changing the permissions with which files are created.
+
+%prep
+%setup -q
+
+%build
+%configure
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README.md
+%attr(755,root,root) %{_bindir}/bindfs
+%{_mandir}/man1/bindfs.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bindfs.git/commitdiff/4a01e891443a67a877c6751b328152604850eec2



More information about the pld-cvs-commit mailing list