Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
jameica
jameica.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jameica.spec of Package jameica
# # spec file for package jameica # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define _major 2 %define _minor 10 %define _micro 4 %define _build 487 %define _buildreleases 487 %define _version %{_major}.%{_minor}.%{_micro} %define _tag V_%{_major}_%{_minor}_%{_micro}_BUILD_%{_build} Name: jameica Version: %{_version} Release: 0 Summary: Runtime environment for Java applications like Hibiscus License: Apache-2.0 AND GPL-2.0-only AND LGPL-2.0-only AND CPL-1.0 AND Zlib AND MPL-1.0 AND EPL-1.0 Group: Productivity/Office/Finance URL: http://www.willuhn.de/products/jameica/ Source: https://github.com/willuhn/jameica/archive/%{_tag}.tar.gz BuildArch: noarch BuildRequires: ant BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: java-devel >= 11 BuildRequires: jpackage-utils BuildRequires: xml-apis Requires: java >= 11 %ifarch %{ix86} ppc s390 %global bits 32 %endif %ifarch x86_64 ia64 s390x aarch64 armv7l arm64 %global bits 64 %endif %if 0%{?__isa_bits} %global bits %{__isa_bits} %endif %description Serves as a base framework for recurring tasks on Hibiscus. Keeps a unified look & feel. Strictly separate program and user data. Supports synchronous and asynchronous data exchange via between plugins (via messaging) and allows client server communication via RMI, XML-RPC and SOAP. Comes with headless mode (no GUI for servers) and logging. %package devel Summary: SDK for the Jameica framework Group: Development/Languages/Java Requires: jameica BuildArch: noarch %description devel Source code required to build and develop Jameica plugins. %package javadoc Summary: Javadoc for %{name} Group: Documentation/HTML BuildArch: noarch %description javadoc Developer documentation for Jameica. %prep %setup -q -n %{name}-%{_tag} # rpmlint find . -type f -name '*.txt' -exec chmod -x {} \; find . -type f -name '*.html' -exec chmod -x {} \; find . -type f -name '*.properties' -exec chmod -x {} \; rm build/jameica-win32.exe rm build/jameica-win64.exe rm build/launch4j-win32.xml rm build/launch4j-win64.xml rm build/jameica-macos64.sh rm build/jameica-macos-aarch64.sh rm build/jameica-openbsd.sh rm -rf lib/swt/macos64 rm -rf lib/swt/macos-aarch64 rm -rf lib/swt/win32 rm -rf lib/swt/win64 # remove arm because of missing ld-linux-aarch64.so.1 package in suse rm -rf lib/swt/linux-arm64 %build export CLASSPATH="$(build-classpath xml-apis)" ant -f build/build.xml init compile jar zip src javadoc %install mkdir -p %{buildroot}%{_prefix}/lib/jameica/plugins cp -r releases/%{version}-%{_buildreleases}/%{name} %{buildroot}%{_prefix}/lib chmod +x %{buildroot}%{_prefix}/lib/%{name}/rcjameica chmod +x %{buildroot}%{_prefix}/lib/%{name}/jameicaserver.sh chmod +x %{buildroot}%{_prefix}/lib/%{name}/jameica.sh rm %{buildroot}%{_prefix}/lib/%{name}/jameica-win32.jar rm %{buildroot}%{_prefix}/lib/%{name}/jameica-win64.jar rm %{buildroot}%{_prefix}/lib/%{name}/jameica-macos64.jar rm %{buildroot}%{_prefix}/lib/%{name}/jameica-macos-aarch64.jar rm %{buildroot}%{_prefix}/lib/%{name}/jameica-openbsd.jar %if %{bits} > 32 rm %{buildroot}%{_prefix}/lib/%{name}/jameica-linux.jar %ifarch aarch64 armv7l arm64 rm %{buildroot}%{_prefix}/lib/%{name}/jameica-linux64.jar %else rm %{buildroot}%{_prefix}/lib/%{name}/jameica-linuxarm64.jar %endif %else rm %{buildroot}%{_prefix}/lib/%{name}/jameica-linux64.jar %endif # Mac OS X stuff rm %{buildroot}%{_prefix}/lib/%{name}/*.plist rm %{buildroot}%{_prefix}/lib/%{name}/*.icns mkdir -p %{buildroot}%{_bindir} ln -sf %{_prefix}/lib/%{name}/jameica.sh %{buildroot}%{_bindir}/jameica ln -sf %{_prefix}/lib/%{name}/jameicaserver.sh %{buildroot}%{_bindir}/jameicaserver cp -r src %{buildroot}%{_prefix}/lib/jameica mkdir -p %{buildroot}%{_javadocdir}/%{name}-%{version} cp -r releases/%{version}-%{_buildreleases}/javadoc/* %{buildroot}%{_javadocdir}/%{name}-%{version} %fdupes %{buildroot}%{_prefix}/lib/%{name} %files %doc build/ChangeLog README.md %license LICENSE COPYING %{_bindir}/* %{_prefix}/lib/jameica %{_prefix}/lib/jameica/lib %dir %{_prefix}/lib/jameica/plugins %exclude %{_prefix}/lib/jameica/src %files devel %{_prefix}/lib/jameica/src %files javadoc %{_javadocdir}/%{name}-%{version} %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