diff --git a/README.md b/README.md index d818110..7022a5e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # encfs +EncFS provides an encrypted filesystem in user-space. It runs in userspace, +using the FUSE library for the filesystem interface. + diff --git a/encfs.spec b/encfs.spec new file mode 100644 index 0000000..d538ebb --- /dev/null +++ b/encfs.spec @@ -0,0 +1,89 @@ +Name: encfs +Version: 1.8.1 +Release: 1mamba +Summary: A FUSE based encrypted filesystem in user-space +Group: Applications/Archiving +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/vgough/encfs +## GITSOURCE https://github.com/vgough/encfs.git v1.8.1 +Source: https://github.com/vgough/encfs.git/v%{version}/encfs-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libboost-devel +BuildRequires: libfuse-devel +BuildRequires: libgcc +BuildRequires: libopenssl-devel +BuildRequires: librlog-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +EncFS provides an encrypted filesystem in user-space. It runs in userspace, +using the FUSE library for the filesystem interface. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +autoreconf -f -i +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/encfs +%{_bindir}/encfsctl +%{_bindir}/encfssh +%{_mandir}/man1/encfs.1* +%{_mandir}/man1/encfsctl.1* + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libencfs.so.* +%doc AUTHORS COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_libdir}/libencfs.la +%{_libdir}/libencfs.so +%doc ChangeLog README-NLS README.md + + +%changelog +* Sun Feb 28 2016 Silvan Calarco 1.8.1-1mamba +- package created using the webbuild interface