2007-01-15 23:11:12 +00:00
|
|
|
#
|
2011-06-06 11:56:39 +00:00
|
|
|
# spec file for package ecryptfs-utils
|
2007-01-15 23:11:12 +00:00
|
|
|
#
|
2012-03-28 14:51:19 +00:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:11:12 +00:00
|
|
|
#
|
2008-08-24 09:02:24 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:11:12 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: ecryptfs-utils
|
2010-03-26 16:07:00 +00:00
|
|
|
Url: https://launchpad.net/ecryptfs
|
2008-02-26 00:55:06 +00:00
|
|
|
Summary: Userspace Utilities for ecryptfs
|
2012-03-28 14:51:19 +00:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Security
|
|
|
|
Version: 96
|
|
|
|
Release: 0
|
2010-03-26 16:07:00 +00:00
|
|
|
Source0: http://launchpad.net/ecryptfs/trunk/%version/+download/ecryptfs-utils_%version.orig.tar.gz
|
2010-02-24 01:00:34 +00:00
|
|
|
Source1: baselibs.conf
|
2007-01-15 23:11:12 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-03-28 14:51:19 +00:00
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: keyutils-devel
|
|
|
|
BuildRequires: keyutils-libs
|
|
|
|
BuildRequires: libgcrypt-devel
|
2011-10-02 15:40:25 +00:00
|
|
|
BuildRequires: libtool
|
2012-03-28 14:51:19 +00:00
|
|
|
BuildRequires: mozilla-nss-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: pkcs11-helper-devel
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: trousers-devel
|
|
|
|
BuildRequires: update-desktop-files
|
2007-01-15 23:11:12 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A stacked cryptographic filesystem for Linux.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2007-03-20 23:39:36 +00:00
|
|
|
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
autoreconf -i -f
|
2007-08-03 21:03:07 +00:00
|
|
|
%configure \
|
2008-02-26 00:55:06 +00:00
|
|
|
--docdir=%_defaultdocdir/%{name} \
|
2008-04-03 23:26:24 +00:00
|
|
|
--disable-static \
|
|
|
|
--enable-tspi \
|
|
|
|
--enable-pkcs11-helper \
|
2007-08-03 21:03:07 +00:00
|
|
|
--with-pamdir=/%_lib/security
|
2011-09-20 13:29:03 +00:00
|
|
|
make %{?_smp_mflags}
|
2008-02-26 00:55:06 +00:00
|
|
|
|
|
|
|
%check
|
2007-01-15 23:11:12 +00:00
|
|
|
make check
|
|
|
|
|
|
|
|
%install
|
2007-03-05 13:59:17 +00:00
|
|
|
%makeinstall
|
2011-04-18 16:04:46 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications/
|
|
|
|
mv $RPM_BUILD_ROOT/%{_datadir}/ecryptfs-utils/*desktop $RPM_BUILD_ROOT/%{_datadir}/applications/
|
|
|
|
%suse_update_desktop_file ecryptfs-mount-private
|
|
|
|
%suse_update_desktop_file ecryptfs-setup-private
|
|
|
|
%find_lang %{name}
|
2007-01-15 23:11:12 +00:00
|
|
|
|
2012-03-28 14:51:19 +00:00
|
|
|
%verifyscript
|
|
|
|
%verify_permissions -e /sbin/mount.ecryptfs_private
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
%set_permissions /sbin/mount.ecryptfs_private
|
2007-07-27 13:07:12 +00:00
|
|
|
|
2008-04-03 23:26:24 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-07-27 13:07:12 +00:00
|
|
|
|
2011-04-18 16:04:46 +00:00
|
|
|
%files -f %{name}.lang
|
2007-01-15 23:11:12 +00:00
|
|
|
%defattr(-, root, root)
|
2008-02-26 00:55:06 +00:00
|
|
|
%doc COPYING NEWS README THANKS doc/ecryptfs-faq.html doc/ecryptfs-pam-doc.txt
|
2007-03-05 13:59:17 +00:00
|
|
|
/usr/include/ecryptfs.h
|
2007-01-15 23:11:12 +00:00
|
|
|
%{_prefix}/bin/*
|
2012-03-28 14:51:19 +00:00
|
|
|
/sbin/mount.ecryptfs
|
2012-03-28 15:38:28 +00:00
|
|
|
/sbin/umount.ecryptfs
|
|
|
|
/sbin/umount.ecryptfs_private
|
2012-03-28 14:51:19 +00:00
|
|
|
%verify(not mode) /sbin/mount.ecryptfs_private
|
2007-01-15 23:11:12 +00:00
|
|
|
%{_libdir}/libecryptfs*
|
2008-02-26 00:55:06 +00:00
|
|
|
%{_libdir}/pkgconfig/libecryptfs.pc
|
2008-08-24 09:02:24 +00:00
|
|
|
%{_mandir}/man1/*ecryptfs*
|
2007-03-05 13:59:17 +00:00
|
|
|
%{_mandir}/man7/ecryptfs*
|
2008-02-26 00:55:06 +00:00
|
|
|
%{_mandir}/man8/*ecryptfs*
|
2007-03-06 16:36:20 +00:00
|
|
|
%{_libdir}/ecryptfs*
|
2011-04-18 16:04:46 +00:00
|
|
|
%{_datadir}/ecryptfs-utils
|
2007-07-29 15:02:43 +00:00
|
|
|
/%_lib/security/pam_ecryptfs.so
|
2011-04-18 16:04:46 +00:00
|
|
|
%{python_sitelib}/ecryptfs-utils
|
|
|
|
%{python_sitearch}/ecryptfs-utils
|
|
|
|
%{_datadir}/applications/ecryptfs-*
|
2007-01-15 23:11:12 +00:00
|
|
|
|
2007-03-05 13:59:17 +00:00
|
|
|
%changelog
|