Accepting request 782908 from home:fstrba:maven
new package OBS-URL: https://build.opensuse.org/request/show/782908 OBS-URL: https://build.opensuse.org/package/show/Java:packages/glassfish-jaxb-api?expand=0&rev=1
This commit is contained in:
commit
725ae8944a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
BIN
2.4.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
2.4.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
4
glassfish-jaxb-api.changes
Normal file
4
glassfish-jaxb-api.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 9 11:09:06 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Initial packaging of glassfish-jaxb-api 2.4.0
|
77
glassfish-jaxb-api.spec
Normal file
77
glassfish-jaxb-api.spec
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
#
|
||||||
|
# spec file for package glassfish-jaxb-api
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global oname jaxb-spec
|
||||||
|
Name: glassfish-jaxb-api
|
||||||
|
Version: 2.4.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Java Architecture for XML Binding
|
||||||
|
License: CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
URL: https://jaxb.java.net/
|
||||||
|
Source0: https://github.com/javaee/%{oname}/archive/%{version}.tar.gz
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: java-devel >= 9
|
||||||
|
BuildRequires: maven-local
|
||||||
|
BuildRequires: unzip
|
||||||
|
BuildRequires: mvn(javax.activation:javax.activation-api)
|
||||||
|
BuildRequires: mvn(net.java:jvnet-parent:pom:)
|
||||||
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Glassfish - JAXB (JSR 222) API.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{oname}
|
||||||
|
Group: Documentation/HTML
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
Glassfish - JAXB (JSR 222) API.
|
||||||
|
|
||||||
|
This package contains javadoc for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{oname}-%{version}
|
||||||
|
|
||||||
|
%pom_disable_module jaxb-api-test
|
||||||
|
|
||||||
|
%pom_remove_plugin org.codehaus.mojo:buildnumber-maven-plugin jaxb-api
|
||||||
|
%pom_remove_plugin org.glassfish.copyright:glassfish-copyright-maven-plugin jaxb-api
|
||||||
|
%pom_remove_plugin org.glassfish.build:gfnexus-maven-plugin jaxb-api
|
||||||
|
%pom_remove_plugin :findbugs-maven-plugin jaxb-api
|
||||||
|
%pom_remove_plugin :maven-enforcer-plugin jaxb-api
|
||||||
|
%pom_remove_plugin :cobertura-maven-plugin jaxb-api
|
||||||
|
%pom_remove_plugin :maven-dependency-plugin jaxb-api
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{mvn_file} :{*} @1
|
||||||
|
%{mvn_build} -f -j
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
%fdupes -s %{buildroot}%{_javadocdir}
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
|
||||||
|
%if 0
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user