]>
Commit | Line | Data |
---|---|---|
44efdce5 | 1 | # TODO: duplicated locales (es vs es_ES, fr vs fr_FR) |
5325f04b | 2 | %bcond_without tests |
b596cc7b | 3 | Summary: Encrypted pass-thru filesystem for Linux |
f46476bf | 4 | Summary(pl.UTF-8): Zaszyfrowany system plików dla Linuksa |
b596cc7b | 5 | Name: encfs |
1309457c | 6 | Version: 1.9.5 |
e3f30a31 | 7 | Release: 3 |
b596cc7b | 8 | License: GPL v2 |
f3720e18 | 9 | Group: Applications/System |
aa488f38 | 10 | Source0: https://github.com/vgough/encfs/archive/v%{version}/%{name}-%{version}.tar.gz |
1309457c | 11 | # Source0-md5: 0244c6a6c0399a068c02ea078ce393d1 |
71c7526f | 12 | URL: http://www.arg0.net/encfs |
9ea89f65 | 13 | BuildRequires: boost-devel >= 1.34.0 |
8dc968be | 14 | BuildRequires: gettext-tools >= 0.17 |
831874bf | 15 | BuildRequires: libfuse-devel >= 2.5 |
f5270d7d | 16 | BuildRequires: libstdc++-devel |
b596cc7b | 17 | BuildRequires: openssl-devel >= 0.9.7d |
79884d3d | 18 | BuildRequires: perl-tools-pod |
36191adb | 19 | BuildRequires: pkgconfig |
79884d3d | 20 | BuildRequires: rlog-devel >= 1.3 |
b596cc7b | 21 | Requires: rlog >= 1.3 |
c06684f4 | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
b596cc7b PG |
23 | |
24 | %description | |
25 | EncFS implements an encrypted filesystem in userspace using FUSE. FUSE | |
26 | provides a Linux kernel module which allows virtual filesystems to be | |
27 | written in userspace. EncFS encrypts all data and filenames in the | |
28 | filesystem and passes access through to the underlying filesystem. | |
29 | Similar to CFS except that it does not use NFS. | |
30 | ||
4d370407 JR |
31 | %description -l pl.UTF-8 |
32 | EncFS jest implementacją zaszyfrowanego systemu plików w przestrzeni | |
33 | użytkownika przy użyciu FUSE. FUSE dostarcza moduł jądra Linuksa | |
34 | pozwalający na obsługę wirtualnych systemów plików w przestrzeni | |
35 | użytkownika. EncFS szyfruje wszystkie dane oraz nazwy plików w | |
36 | systemie plików i przekazuje kontrolę do leżącego niżej systemu | |
37 | plików. Jest podobny do CFS-a, ale nie używa NFS-a. | |
f3720e18 | 38 | |
b596cc7b PG |
39 | %prep |
40 | %setup -q | |
41 | ||
42 | %build | |
bd433ee2 | 43 | install -d build |
aa488f38 | 44 | cd build |
e3f30a31 | 45 | export CXXFLAGS="%{rpmcxxflags} -DOPENSSL_NO_BF" |
bd433ee2 | 46 | %cmake .. \ |
aa488f38 | 47 | -DBUILD_SHARED_LIBS:BOOL=OFF |
743eee70 | 48 | |
aa488f38 | 49 | %{__make} |
b596cc7b | 50 | |
5325f04b AM |
51 | %if %{with tests} |
52 | %{__make} unittests | |
53 | %{__make} test | |
54 | %endif | |
55 | ||
b596cc7b PG |
56 | %install |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
aa488f38 | 59 | %{__make} -C build install \ |
b596cc7b PG |
60 | DESTDIR=$RPM_BUILD_ROOT |
61 | ||
79884d3d | 62 | # duplicate of de,es,fr,hu,pt |
bd433ee2 | 63 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{de_DE,es_ES,fr_FR,pt_PT} |
71c7526f | 64 | |
36191adb PG |
65 | %find_lang %{name} |
66 | ||
b596cc7b PG |
67 | %clean |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
36191adb | 70 | %files -f %{name}.lang |
b596cc7b | 71 | %defattr(644,root,root,755) |
aa488f38 | 72 | %doc AUTHORS ChangeLog README.md |
79884d3d JB |
73 | %attr(755,root,root) %{_bindir}/encfs |
74 | %attr(755,root,root) %{_bindir}/encfsctl | |
75 | %attr(755,root,root) %{_bindir}/encfssh | |
79884d3d JB |
76 | %{_mandir}/man1/encfs.1* |
77 | %{_mandir}/man1/encfsctl.1* | |
debd8fe0 | 78 | %{_mandir}/man1/encfssh.1* |