File ecryptfs-utils.spec of Package ecryptfs-utils

#
# spec file for package ecryptfs-utils (Version 61)
#
# Copyright (c) 2008 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:        1
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
* Fri Oct 24 2008 meissner@suse.de
- Upgraded to version 61
   - starts of filename encryption
   - bugfixes
* Fri Sep 19 2008 meissner@suse.de
- Upgraded to version 58
   - config file changes yet again
   - some documentation fixes
   - some TPM related fixes
* Sat Aug 23 2008 meissner@suse.de
- Upgraded to version 56
   - more manpages
   - changed configfile format
* Sat Jul 12 2008 meissner@suse.de
- Upgraded to version 50
  - another manpage
  - bugfixes
  - fixed kernel netlink interface
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Thu Apr 03 2008 meissner@suse.de
- Upgraded to version 41
	- typo fixed in manpage
- enabled TPM support (tspi)
- enabled PKCS11 support
* Tue Feb 26 2008 meissner@suse.de
- Upgraded to version 40
  - more manpages
  - some new features
  - lots of bugfixes
* Fri Aug 03 2007 meissner@suse.de
- fixed pam module path for ia64 and s390x too.
* Sun Jul 29 2007 meissner@suse.de
- fixed pam module path
* Fri Jul 27 2007 meissner@suse.de
- uphgraded to version 18.
	- TPM support (not yet enabled)
	- added PAM module
* Tue Mar 20 2007 meissner@suse.de
- build on IA64
- fixed compiler warnings
* Tue Mar 06 2007 meissner@suse.de
- fixed build on lib64
* Mon Mar 05 2007 meissner@suse.de
- upgraded to version 10.
  - unlisted enhancements and bugfixes.
* Thu Dec 14 2006 meissner@suse.de
- use lib64 correctly.
- fixed "is used uninitialized" warnings.
* Tue Dec 05 2006 meissner@suse.de
- initial checkin of version 5.
     - userland utilities to control ecryptfs filesystems
openSUSE Build Service is sponsored by