]> git.pld-linux.org Git - packages/bindfs.git/blob - bindfs.spec
new
[packages/bindfs.git] / bindfs.spec
1 Summary:        Mount a directory elsewhere with changed permissions
2 Name:           bindfs
3 Version:        1.15.1
4 Release:        1
5 License:        GPL v2+
6 Group:          Applications/System
7 Source0:        https://bindfs.org/downloads/%{name}-%{version}.tar.gz
8 # Source0-md5:  e7c1057033129f2fa9a1cc00dcfc1660
9 URL:            https://bindfs.org/
10 BuildRequires:  libfuse3-devel >= 3.4.0
11 BuildRequires:  pkgconfig >= 1:0.9.0
12 Requires:       libfuse3 >= 3.4.0
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 bindfs is a FUSE filesystem for mirroring a directory to another
17 directory, similarly to mount --bind. The permissions of the mirrored
18 directory can be altered in various ways.
19
20 Some things bindfs can be used for:
21 - Making a directory read-only.
22 - Making all executables non-executable.
23 - Sharing a directory with a list of users (or groups).
24 - Modifying permission bits using rules with chmod-like syntax.
25 - Changing the permissions with which files are created.
26
27 %prep
28 %setup -q
29
30 %build
31 %configure
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} install \
37         DESTDIR=$RPM_BUILD_ROOT
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc ChangeLog README.md
45 %attr(755,root,root) %{_bindir}/bindfs
46 %{_mandir}/man1/bindfs.1*
This page took 0.068272 seconds and 3 git commands to generate.