File pam_kwallet.spec of Package pam_kwallet

#
# spec file for package pam_kwallet (Version 0.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:           pam_kwallet
BuildRequires:  kdelibs3-devel pam-devel 
License:        GPL-2.0
Group:          Development/Libraries/C and C++
Summary:        KWallet Single Sign On Integration
Version:        0.1
Release:        84
Url:            http://www.kde.org
Source0:        %name.tar.bz2
Source1:        configure
Source2:        acinclude.m4
Source3:        Makefile.in
Source4:        Makefile.in.src
Source5:        config.h.in

%description
This package uses your login password to open your KDE KWallet during
session start.



Authors:
--------
    Dirk Mueller <dmueller@suse.de>

%prep
%setup -n %name -q

%build
. /etc/opt/kde3/common_options
#update_admin
cp %{SOURCE1} .
chmod +x configure
cp %{SOURCE2} .
cp %{SOURCE3} .
cp %{SOURCE4} ./src/Makefile.in
cp %{SOURCE5} .
./configure $configkde
sed -i 's|-1.15||g' Makefile
make

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT PAM_MODDIR=/%{_lib}/security $INSTALL_TARGET
rm -f $RPM_BUILD_ROOT/%{_lib}/security/*.la
kde_post_install

%post
%run_ldconfig

%postun
%run_ldconfig

%files
%defattr(-,root,root)
%doc README
/opt/kde3/bin/kwalletclient
/%{_lib}/security/pam_kwallet.so

%changelog
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Wed Dec 05 2007 dmueller@suse.de
- fix hardcoded path to /opt/kde3/bin
* Mon Oct 15 2007 dmueller@suse.de
- reduce buildrequires
* Wed Jun 27 2007 dmueller@suse.de
- Initial package (0.1)
openSUSE Build Service is sponsored by