File cryptconfig.spec of Package cryptconfig

# spec file for package cryptconfig
# Copyright (c) 2014 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

Name:           cryptconfig
Version:        0.3
Release:        0
Summary:        A Utility to Configure Encrypted Home Directories and LUKS Partitions
License:        GPL-2.0+
Group:          System/Base
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       cryptsetup
Requires:       glib2 >= 2.8
Requires:       openssl >= 0.9.7
Requires:       pam-config >= 0.21
Requires:       pam_mount >= 0.20
Requires:       util-linux
BuildRequires:  cryptsetup
BuildRequires:  glib2-devel >= 2.8
BuildRequires:  intltool
BuildRequires:  libtool
BuildRequires:  libxml2-devel
BuildRequires:  openssl-devel >= 0.9.7
BuildRequires:  pam-config >= 0.21
BuildRequires:  pam-devel
BuildRequires:  util-linux
Source:         %{name}-%{version}.tar.gz
Source1:        %{name}-po.tar.gz 
Source2:        baselibs.conf
Patch0:         cryptconfig-0.3-new-pam_mount-options.dif
Patch1:         cryptconfig-0.3-loop0.patch

This package contains a utility for configuring encrypted home
directories and LUKS partitions. It also supports creating LUKS disk
images, creating LUKS partitions, and enlarging disk images along with
their file systems.  This package also contains a pam module that syncs
a user's UNIX password with the password used to encrypt their home

    Chris Rivera <>

%setup -a1
%patch1 -p1
# automake-1.13 fix

#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
#    --sbindir=%{_sbindir} --mandir=%{_mandir}
autoreconf --force --install
%configure --with-slibdir=/%{_lib}

make install DESTDIR=${RPM_BUILD_ROOT}
rm -f $RPM_BUILD_ROOT/%_lib/security/pam_cryptpass.{a,la}
%{find_lang} %{name}


%files -f %{name}.lang
%doc %{_mandir}/man8/cryptconfig.8.gz

openSUSE Build Service is sponsored by