]> git.pld-linux.org Git - packages/bindfs.git/commitdiff
new
authorJan Palus <atler@pld-linux.org>
Sat, 29 May 2021 21:08:44 +0000 (23:08 +0200)
committerJan Palus <atler@pld-linux.org>
Sat, 29 May 2021 21:09:02 +0000 (23:09 +0200)
bindfs.spec [new file with mode: 0644]

diff --git a/bindfs.spec b/bindfs.spec
new file mode 100644 (file)
index 0000000..6fe7781
--- /dev/null
@@ -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*
This page took 0.299213 seconds and 4 git commands to generate.