]>
Commit | Line | Data |
---|---|---|
4a01e891 JP |
1 | Summary: Mount a directory elsewhere with changed permissions |
2 | Name: bindfs | |
b70be116 | 3 | Version: 1.17.3 |
4a01e891 JP |
4 | Release: 1 |
5 | License: GPL v2+ | |
6 | Group: Applications/System | |
7 | Source0: https://bindfs.org/downloads/%{name}-%{version}.tar.gz | |
b70be116 | 8 | # Source0-md5: 103faa429e931097f6a51bdb856c1a8d |
4a01e891 JP |
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 | |
9a26e8ad | 13 | Requires: libfuse3-tools >= 3.4.0 |
4a01e891 JP |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
17 | bindfs is a FUSE filesystem for mirroring a directory to another | |
18 | directory, similarly to mount --bind. The permissions of the mirrored | |
19 | directory can be altered in various ways. | |
20 | ||
21 | Some things bindfs can be used for: | |
22 | - Making a directory read-only. | |
23 | - Making all executables non-executable. | |
24 | - Sharing a directory with a list of users (or groups). | |
25 | - Modifying permission bits using rules with chmod-like syntax. | |
26 | - Changing the permissions with which files are created. | |
27 | ||
28 | %prep | |
29 | %setup -q | |
30 | ||
31 | %build | |
32 | %configure | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %{__make} install \ | |
38 | DESTDIR=$RPM_BUILD_ROOT | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc ChangeLog README.md | |
46 | %attr(755,root,root) %{_bindir}/bindfs | |
47 | %{_mandir}/man1/bindfs.1* |