File pwmanager.spec of Package pwmanager

#
# spec file for package pwmanager (Version 1.2.4)
#
# 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/
#

# norootforbuild


Name:           pwmanager
BuildRequires:  kdelibs3-devel
Url:            http://passwordmanager.sourceforge.net/
License:        GPL v2 or later; LGPL v2.1 or later
Group:          Productivity/Security
Summary:        Password Manager, a KWallet Alternative Application
Version:        1.2.4
Release:        195
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         %name-%version.tar.bz2
Source1:        %name-i18n-1.2.4.tar.bz2
Patch:          pwmanager-gcc43.diff

%description
PwManager can be used as a feature-rich alternative application to
KWallet to store all kind of secure information. It provides different
ways to store the data, provides a password generator, and supports
chip cards.



Authors:
--------
    Michael Buesch <mbuesch@freenet.de>

%prep
%setup -q -b 1
%patch
. /etc/opt/kde3/common_options
update_admin --no-unsermake
cd ../pwmanager-i18n-1.2.4
update_admin --no-unsermake

%build
. /etc/opt/kde3/common_options
./configure $configkde --disable-final
do_make %{?jobs:-j %jobs}
cd ../pwmanager-i18n-1.2.4
./configure $configkde
make

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
cd ../pwmanager-i18n-1.2.4
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
cd -
%suse_update_desktop_file %name Utility Security
%find_lang %name

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%dir /opt/kde3/share/icons/hicolor/16x16/apps
%dir /opt/kde3/share/icons/hicolor/16x16
%dir /opt/kde3/share/icons/hicolor/32x32/apps
%dir /opt/kde3/share/icons/hicolor/32x32
%dir /opt/kde3/share/icons/hicolor/48x48
%dir /opt/kde3/share/icons/hicolor/48x48/apps
/opt/kde3/bin/*
/opt/kde3/%_lib/kde3/kded_pwmanager_kwalletemu.*
/opt/kde3/share/apps/pwmanager
/opt/kde3/share/icons/*/*/*/pwmanager.*
/opt/kde3/share/services/kded/pwmanager_kwalletemu.desktop
/opt/kde3/share/appl*/*/*.desktop

%changelog
* Wed Feb 20 2008 dmueller@suse.de
- build without libchipcard2-devel
* Tue Oct 23 2007 stbinner@suse.de
- fix build with gcc 4.3
* Mon Jul 30 2007 sbrabec@suse.cz
- Build with libchipcard2.
* Thu Jun 15 2006 dmueller@suse.de
- build parallel
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Nov 12 2005 dmueller@suse.de
- fix filelist
* Mon Nov 07 2005 stbinner@suse.de
- 1.2.4 update
* Sat Jul 16 2005 dmueller@suse.de
- 1.2.3 update (with old translations)
* Mon Jul 11 2005 coolo@suse.de
- update to 1.2.2 (old translations)
* Tue May 17 2005 adrian@suse.de
- update to version 1.2.1
- add translations
* Mon Apr 25 2005 adrian@suse.de
- initial package of version 1.2.0
openSUSE Build Service is sponsored by