ecryptfs-utils/ecryptfs-utils.spec

89 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package ecryptfs-utils (Version 83)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: ecryptfs-utils
Url: https://launchpad.net/ecryptfs
License: GPLv2+
Group: Productivity/Security
AutoReqProv: on
Summary: Userspace Utilities for ecryptfs
Version: 83
Release: 1
Source0: http://launchpad.net/ecryptfs/trunk/%version/+download/ecryptfs-utils_%version.orig.tar.gz
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gtk2-devel intltool keyutils-devel keyutils-libs libgcrypt-devel openssl-devel pam-devel pkcs11-helper-devel trousers-devel
%description
A stacked cryptographic filesystem for Linux.
Authors:
--------
Mike Halcrow designed and implemented eCryptfs, which is a fork from
Cryptfs. Erez Zadok, along with the fileystem research lab at Stony
Brook University, designed and implemented Cryptfs. Michael
C. Thompson has contributed a substantial amount of code to the
project.
%prep
%setup -q
%build
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
autoreconf -i -f
%configure \
--docdir=%_defaultdocdir/%{name} \
--disable-static \
--enable-tspi \
--enable-pkcs11-helper \
--with-pamdir=/%_lib/security
%check
make
make check
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc COPYING NEWS README THANKS doc/ecryptfs-faq.html doc/ecryptfs-pam-doc.txt
/usr/include/ecryptfs.h
%{_prefix}/bin/*
/sbin/*
%{_libdir}/libecryptfs*
%{_libdir}/pkgconfig/libecryptfs.pc
%{_mandir}/man1/*ecryptfs*
%{_mandir}/man7/ecryptfs*
%{_mandir}/man8/*ecryptfs*
%{_libdir}/ecryptfs*
/%_lib/security/pam_ecryptfs.so
%changelog