Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:ARM
hibiscus
hibiscus.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hibiscus.spec of Package hibiscus
# # spec file for package hibiscus # # Copyright (c) 2016 SUSE LINUX 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/ # %define tag V_2_6_20_BUILD_361 Name: hibiscus License: GPL-2.0 and LGPL-2.0 and Apache-2.0 and CPL-1.0 and Zlib and MPL-1.0 and EPL-1.0 Group: Productivity/Office/Finance Summary: Java online banking client using the HBCI standard Version: 2.6.20 Release: 0 Url: https://www.willuhn.de/products/hibiscus/ Source: https://github.com/willuhn/hibiscus/archive/%{tag}.tar.gz Source2: hibiscus-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ant BuildRequires: java-devel >= 1.6 BuildRequires: jpackage-utils BuildRequires: hicolor-icon-theme BuildRequires: desktop-file-utils BuildRequires: xerces-j2-xml-apis BuildRequires: jameica-devel >= 2.6.6 Requires: jameica >= 2.6.6 BuildRequires: swtchart = 0.10.0 Requires: swtchart = 0.10.0 BuildRequires: pcsc-towitoko-devel Requires: pcsc-towitoko-devel BuildRequires: obantoo = 2.1.12 Requires: obantoo = 2.1.12 BuildRequires: fdupes # Don't offer libraries linked in here to other packages: AutoReqProv: off %description A free Java homebanking application that uses the HBCI4Java implementation and runs as a plugin inside the Jameica framework. Support chipcards key files and PIN/TAN including chipTAN and smsTAN for authentification. Supported file formats include MT940, DTAUS, CSV, Moneyplex and PDF/HTML. %prep %setup -n %{name}-%{tag} -q # Remove Windows and Mac libraries rm -rf lib/hbci4java-card-* # older version of the CTAPI driver from Kobil # can't be build from source # questionable redistribution rights rm lib/libct.so # required for reading older key files in SIZ-RDH formats # implemented under NDA with no chances of source code release rm -rf lib/libhbci4java-sizrdh* %build # TODO: solve this better cp -r %{_prefix}/lib/jameica/src . cp -r %{_prefix}/lib/jameica/lib . export CLASSPATH="$(build-classpath xerces-j2-xml-apis)" ant -f build/build.xml init compile jar zip src %install mkdir -p %{buildroot}%{_prefix}/lib/jameica/plugins cp -r releases/2.7.0-nightly-361/%{name} %{buildroot}%{_prefix}/lib/jameica/plugins # unbundle SWT Chart rm %{buildroot}%{_prefix}/lib/jameica/plugins/%{name}/lib/swtchart/org.swtchart_0.10.0.v20160212.jar ln -sf %{_javadir}/org.swtchart.jar %{buildroot}%{_prefix}/lib/jameica/plugins/%{name}/lib/swtchart/org.swtchart_0.10.0.v20160212.jar # unbundle libtowitoko rm %{buildroot}%{_prefix}/lib/jameica/plugins/%{name}/lib/libtowitoko* %ifarch x86_64 ln -sf %{_libdir}/libtowitoko.so %{buildroot}%{_prefix}/lib/jameica/plugins/%{name}/lib/libtowitoko-2.0.7-amd64.so %else ln -sf %{_libdir}/libtowitoko.so %{buildroot}%{_prefix}/lib/jameica/plugins/%{name}/lib/libtowitoko-2.0.7.so %endif # unbundle OBanToo rm %{buildroot}%{_prefix}/lib/jameica/plugins/%{name}/lib/obantoo-bin-2.1.12.jar ln -sf %{_javadir}/obantoo-bin-2.1.12.jar %{buildroot}%{_prefix}/lib/jameica/plugins/%{name}/lib/obantoo-bin-2.1.12.jar # icons mkdir -p %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/ mv %{buildroot}%{_prefix}/lib/jameica/plugins/%{name}/icons/%{name}-icon-16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{name}.png mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/ mv %{buildroot}%{_prefix}/lib/jameica/plugins/%{name}/icons/%{name}-icon-32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/ mv %{buildroot}%{_prefix}/lib/jameica/plugins/%{name}/icons/%{name}-icon-64x64.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png rm -rf %{buildroot}%{_prefix}/lib/jameica/plugins/%{name}/icons install -D -m 0644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop install -D -m 0644 %{name}.appdata.xml %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml %fdupes %{buildroot} %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %files %defattr(-,root,root) %doc build/ChangeLog %{_prefix}/lib/jameica/plugins/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %dir %{_datadir}/appdata/ %{_datadir}/appdata/%{name}.appdata.xml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor