From 975060060dbc9c0622f23e01e1aac0d388780787 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 15 Mar 2023 17:38:12 +0300 Subject: [PATCH] import jboss-jaxrs-2.0-api-1.0.0-16.el9 --- .gitignore | 1 + .jboss-jaxrs-2.0-api.metadata | 1 + SPECS/jboss-jaxrs-2.0-api.spec | 108 +++++++++++++++++++++++++++++++++ 3 files changed, 110 insertions(+) create mode 100644 .gitignore create mode 100644 .jboss-jaxrs-2.0-api.metadata create mode 100644 SPECS/jboss-jaxrs-2.0-api.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a1e8745 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jboss-jaxrs-api_2.0_spec-1.0.0.Final.tar.gz diff --git a/.jboss-jaxrs-2.0-api.metadata b/.jboss-jaxrs-2.0-api.metadata new file mode 100644 index 0000000..8d567c8 --- /dev/null +++ b/.jboss-jaxrs-2.0-api.metadata @@ -0,0 +1 @@ +99fc2f654d625bb5039624f89eb51fd3ba8a01cd SOURCES/jboss-jaxrs-api_2.0_spec-1.0.0.Final.tar.gz diff --git a/SPECS/jboss-jaxrs-2.0-api.spec b/SPECS/jboss-jaxrs-2.0-api.spec new file mode 100644 index 0000000..ef6d125 --- /dev/null +++ b/SPECS/jboss-jaxrs-2.0-api.spec @@ -0,0 +1,108 @@ +%global namedreltag .Final +%global namedversion %{version}%{?namedreltag} +%global oname jboss-jaxrs-api_2.0_spec + +Name: jboss-jaxrs-2.0-api +Version: 1.0.0 +Release: 16%{?dist} +Summary: JAX-RS 2.0: The Java API for RESTful Web Services +# ASL 2.0 src/main/java/javax/ws/rs/core/GenericEntity.java +License: (CDDL or GPLv2 with exceptions) and ASL 2.0 +URL: https://github.com/jboss/jboss-jaxrs-api_spec +Source0: https://github.com/jboss/jboss-jaxrs-api_spec/archive/%{oname}-%{namedversion}.tar.gz + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.jboss:jboss-parent:pom:) +BuildRequires: mvn(javax.xml.bind:jaxb-api) + +BuildArch: noarch + +%description +JSR 339: JAX-RS 2.0: The Java API for RESTful Web Services. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -q -n jboss-jaxrs-api_spec-%{oname}-%{namedversion} + +# Unneeded plugin +%pom_remove_plugin :maven-source-plugin + +# Fix JDK11 build, add missing javax.xml.bind +%pom_add_dep javax.xml.bind:jaxb-api + +%mvn_file :%{oname} %{name} + +# remove after upgrading narayana +%mvn_alias ":jboss-jaxrs-api_2.0_spec" "org.jboss.resteasy:jaxrs-api" + +%build + +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog +* Wed Mar 15 2023 MSVSphere Packaging Team - 1.0.0-16 +- Rebuilt for MSVSphere 9.1. + +* Mon Aug 09 2021 Mohan Boddu - 1.0.0-16 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 1.0.0-15 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Jan 26 2021 Fedora Release Engineering - 1.0.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.0.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 23 2020 Markku Korkeala - 1.0.0-12 +- Fix JDK11 build by adding dependency for javax.xml.bind. + +* Fri Jul 10 2020 Jiri Vanek - 1.0.0-11 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Wed Jan 29 2020 Fedora Release Engineering - 1.0.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jun 24 2016 gil cattaneo 1.0.0-3 +- temporarily add org.jboss.resteasy:jaxrs-api alias + +* Tue Jun 07 2016 gil cattaneo 1.0.0-2 +- review fixes + +* Mon Jun 06 2016 gil cattaneo 1.0.0-1 +- initial rpm