File ecryptfs-utils.spec of Package ecryptfs-utils

#
# spec file for package ecryptfs-utils (Version 61)
#
# Copyright (c) 2009 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:            http://ecryptfs.sourceforge.net/
License:        GPL v2 or later
Group:          Productivity/Security
AutoReqProv:    on
Summary:        Userspace Utilities for ecryptfs
Version:        61
Release:        2
Source0:        http://downloads.sourceforge.net/ecryptfs/%{name}-%{version}.tar.bz2
Patch0:         ecryptfs-utils-fixes.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gtk2-devel 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
%patch0 -p0

%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
openSUSE Build Service is sponsored by