2022-03-01 15:19:59 +00:00
|
|
|
#
|
|
|
|
# spec file for package jmulticard
|
|
|
|
#
|
2024-09-08 12:02:10 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2022-03-01 15:19:59 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: json-java
|
2024-09-08 12:02:10 +00:00
|
|
|
Version: 20240303
|
2022-03-01 15:19:59 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: JSON in Java
|
|
|
|
License: JSON
|
|
|
|
URL: https://github.com/stleary/JSON-java
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
2024-09-08 12:02:10 +00:00
|
|
|
BuildRequires: mvn(org.moditect:moditect-maven-plugin)
|
2022-03-01 15:19:59 +00:00
|
|
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Capa abstracta de acceso a tarjetas inteligentes 100% java
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
Group: Documentation/HTML
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
This package contains the API documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%pom_remove_plugin :nexus-staging-maven-plugin
|
|
|
|
%pom_remove_plugin :maven-source-plugin
|
2023-09-15 06:27:29 +00:00
|
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
2022-03-01 15:19:59 +00:00
|
|
|
|
|
|
|
%build
|
2022-03-22 15:29:43 +00:00
|
|
|
%{mvn_build} -f -- \
|
|
|
|
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
|
|
|
-Dmaven.compiler.release=8 \
|
|
|
|
%endif
|
2023-09-13 05:29:25 +00:00
|
|
|
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
|
2022-03-22 15:29:43 +00:00
|
|
|
-Dsource=8
|
2022-03-01 15:19:59 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
%fdupes -s %{buildroot}%{_javadocdir}
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%changelog
|