encfs/encfs.spec

115 lines
3.2 KiB
RPMSpec
Raw Normal View History

Name: encfs
Version: 1.9.5
Release: 4mamba
Summary: A FUSE based encrypted filesystem in user-space
Group: Applications/Archiving
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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: libfuse-devel
BuildRequires: libgcc
BuildRequires: libopenssl-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtinyxml2-devel
## AUTOBUILDREQ-END
BuildRequires: libtinyxml2-devel >= 9.0.0-1mamba
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%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
%cmake -d build \
-DINSTALL_LIBENCFS=ON \
-DBUILD_SHARED_LIBS=ON \
-DUSE_INTERNAL_TINYXML=OFF
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%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/encfssh.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
* Mon Jun 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.5-4mamba
- rebuilt by autoport with build requirements: libtinyxml2-devel>=9.0.0-1mamba
* Sun Apr 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.5-3mamba
- rebuilt with libtinyxml2 7.1.0
* Mon Jul 30 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.5-2mamba
- rebuilt with sysmtem libtinyxml2
* Sat May 12 2018 Automatic Build System <autodist@mambasoft.it> 1.9.5-1mamba
- automatic version update by autodist
* Wed Feb 07 2018 Automatic Build System <autodist@mambasoft.it> 1.9.4-1mamba
- automatic version update by autodist
* Sat Aug 05 2017 Automatic Build System <autodist@mambasoft.it> 1.9.2-1mamba
- automatic version update by autodist
* Sun Apr 09 2017 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
- automatic version update by autodist
* Sun Feb 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-1mamba
- package created using the webbuild interface