File moneyplex.spec of Package moneyplex

#
# spec file for package moneyplex (Version 2009)
#
# Copyright (c) 2009 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:           moneyplex
BuildRequires:  unzip update-desktop-files
License:        NON-OSI-COMPLIANT(royalties)
Group:          Productivity/Office/Finance
AutoReqProv:    off
Version:        2009
Release:        1
Summary:        Home Banking Software That Supports HBCI (German Only)
Url:            http://www.matrica.de
Source0:        suse2009.zip
Source1:        moneyplex.desktop
Source2:        mpx48.png
Source3:        setup.sh.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  %ix86 x86_64

%description
This is a light version of the home banking software from Matrica. It
supports smart card readers (currently Kobil Standard, Kobil Pro, and
Cyberjack), online banking through HBCI, PIN/TAN transactions, and
security media that some banks support.

Moneyplex is only available in German.



Authors:
--------
    matrica Informationstechnologien GmbH
    Ringstrasse 90
    73432 Aalen

%prep

%build

%install
mkdir -p $RPM_BUILD_ROOT/opt/moneyplex
cd $RPM_BUILD_ROOT/opt/moneyplex
unzip %{SOURCE0}
chmod go-w *
cp %{SOURCE2} .
chmod a+x quicksetup.sh setup.sh
patch -p0 < %{SOURCE3}
mv setup.sh start.sh
mkdir -p $RPM_BUILD_ROOT/usr/share/applications/
cp %{SOURCE1} $RPM_BUILD_ROOT/usr/share/applications/moneyplex.desktop
%suse_update_desktop_file moneyplex Office Finance

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,755)
/opt/moneyplex
/usr/share/applications/moneyplex.desktop

%changelog
openSUSE Build Service is sponsored by