File hibiscus.spec of Package hibiscus
#
# spec file for package hibiscus (Version 1.12)
#
# Copyright (c) Mirko Doelle <mid@ct.heise.de>
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# norootforbuild
Name: hibiscus
License: GNU General Public License 2 (GPLv2)
Group: Productivity/Office/Spreadsheets
Summary: Home banking plug-in supporting PIN/TAN and HBCI, using Jameica
Version: 1.12
Release: 1
URL: http://www.willuhn.de/products/hibiscus/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: unzip
%if 0%{?suse_version} || 0%{?sles_version}
BuildRequires: update-desktop-files
%endif
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires: desktop-file-utils
%endif
Requires: jameica = 1.10
Source0: %{name}.tar.gz
Source1: %{name}.png
Source2: %{name}.desktop
%description
Hibiscus ist eine Homebanking-Anwendung für das deutsche HBCI Protokoll,
basierend auf der HBCI Implementierung HBCI4Java. Die Anwendung läuft als
Plugin innerhalb des Frameworks Jameica.
Authors:
--------
Olaf Willuhn <info@willuhn.de>
%prep
%setup -n %{name}
%build
%install
%__mkdir -p %{buildroot}/opt/jameica/plugins
%__mkdir -p %{buildroot}%{_datadir}/pixmaps
%__install -d %{buildroot}/opt/jameica/plugins/
cp -a %{_builddir}/hibiscus %{buildroot}/opt/jameica/plugins/
%__install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/
%if 0%{?suse_version} || 0%{?sles_version}
%suse_update_desktop_file -c %{name} %{name} "Hibiscus Finanzverwaltung" "/opt/jameica/jameica.sh" %{name}.png Office Finance
%endif
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
%endif
%files
%defattr(-,root,root)
/opt/jameica/plugins/%{name}
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%clean
rm -rf %{buildroot}
%changelog
* Mon Nov 15 2010 - mid@ct.heise.de
- new version 1.12, see http://www.willuhn.de/products/hibiscus/ for details