]> git.pld-linux.org Git - packages/encfs.git/blob - encfs.spec
c04d2c8fe3b3c6e7a4e806e75c721903ec2a5d45
[packages/encfs.git] / encfs.spec
1 # TODO: duplicated locales (es vs es_ES, fr vs fr_FR)
2 Summary:        Encrypted pass-thru filesystem for Linux
3 Summary(pl.UTF-8):      Zaszyfrowany system plików dla Linuksa
4 Name:           encfs
5 Version:        1.7.4
6 Release:        13
7 License:        GPL v2
8 Group:          Applications/System
9 #Source0Download: http://www.arg0.net/encfs
10 Source0:        http://encfs.googlecode.com/files/%{name}-%{version}.tgz
11 # Source0-md5:  ac90cc10b2e9fc7e72765de88321d617
12 URL:            http://www.arg0.net/encfs
13 #BuildRequires: autoconf >= 2.50
14 #BuildRequires: automake
15 BuildRequires:  boost-devel >= 1.34.0
16 BuildRequires:  gettext-tools >= 0.17
17 BuildRequires:  libfuse-devel >= 2.5
18 BuildRequires:  libstdc++-devel
19 #BuildRequires: libtool
20 BuildRequires:  openssl-devel >= 0.9.7d
21 BuildRequires:  perl-tools-pod
22 BuildRequires:  pkgconfig
23 BuildRequires:  rlog-devel >= 1.3
24 Requires:       rlog >= 1.3
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 EncFS implements an encrypted filesystem in userspace using FUSE. FUSE
29 provides a Linux kernel module which allows virtual filesystems to be
30 written in userspace. EncFS encrypts all data and filenames in the
31 filesystem and passes access through to the underlying filesystem.
32 Similar to CFS except that it does not use NFS.
33
34 %description -l pl.UTF-8
35 EncFS jest implementacją zaszyfrowanego systemu plików w przestrzeni
36 użytkownika przy użyciu FUSE. FUSE dostarcza moduł jądra Linuksa
37 pozwalający na obsługę wirtualnych systemów plików w przestrzeni
38 użytkownika. EncFS szyfruje wszystkie dane oraz nazwy plików w
39 systemie plików i przekazuje kontrolę do leżącego niżej systemu
40 plików. Jest podobny do CFS-a, ale nie używa NFS-a.
41
42 %prep
43 %setup -q
44
45 %build
46 %configure \
47         --with-boost-filesystem=boost_filesystem \
48         --with-boost-serialization=boost_serialization \
49         --with-boost-system=boost_system
50
51 %{__make} -j1 \
52         LDFLAGS="-lboost_system"
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 # No public headers => no need for devel files
61 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.{la,so}
62
63 # duplicate of de,es,fr,hu,pt
64 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{de_DE,es_ES,fr_FR,hu_HU,pt_PT}
65
66 %find_lang %{name}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog README
77 %attr(755,root,root) %{_bindir}/encfs
78 %attr(755,root,root) %{_bindir}/encfsctl
79 %attr(755,root,root) %{_bindir}/encfssh
80 %attr(755,root,root) %{_libdir}/libencfs.so.*.*.*
81 %attr(755,root,root) %ghost %{_libdir}/libencfs.so.6
82 %{_mandir}/man1/encfs.1*
83 %{_mandir}/man1/encfsctl.1*
This page took 0.037065 seconds and 2 git commands to generate.