From d869caf5633c69ac51c06ed4b94ecb53e2a550a4 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 25 Oct 2024 17:30:16 +0300 Subject: [PATCH] import osgi-annotation-8.1.0-6.el10 --- .gitignore | 1 + .osgi-annotation.metadata | 1 + SOURCES/osgi.annotation-8.1.0.pom | 36 ++++++ SPECS/osgi-annotation.spec | 183 ++++++++++++++++++++++++++++++ 4 files changed, 221 insertions(+) create mode 100644 .gitignore create mode 100644 .osgi-annotation.metadata create mode 100644 SOURCES/osgi.annotation-8.1.0.pom create mode 100644 SPECS/osgi-annotation.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aa36d5c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/osgi.annotation-8.1.0.jar diff --git a/.osgi-annotation.metadata b/.osgi-annotation.metadata new file mode 100644 index 0000000..573d188 --- /dev/null +++ b/.osgi-annotation.metadata @@ -0,0 +1 @@ +59d42736bcc0af2144ba5c1a12ff7c08ea4b7e12 SOURCES/osgi.annotation-8.1.0.jar diff --git a/SOURCES/osgi.annotation-8.1.0.pom b/SOURCES/osgi.annotation-8.1.0.pom new file mode 100644 index 0000000..a219f74 --- /dev/null +++ b/SOURCES/osgi.annotation-8.1.0.pom @@ -0,0 +1,36 @@ + + + 4.0.0 + org.osgi + osgi.annotation + 8.1.0 + OSGi Annotation Release 8, Annotations for use in compiling bundles + org.osgi:osgi.annotation + https://docs.osgi.org/ + + Eclipse Foundation + + + + Apache-2.0 + https://opensource.org/licenses/Apache-2.0 + repo + This program and the accompanying materials are made available under the terms of the Apache License, Version 2.0. + + + + https://github.com/osgi/osgi + scm:git:https://github.com/osgi/osgi.git + scm:git:git@github.com:osgi/osgi.git + 8.0.0.1 + + + + osgi + osgi-wg@eclipse.org + OSGi Working Group + Eclipse Foundation + https://www.osgi.org/ + + + diff --git a/SPECS/osgi-annotation.spec b/SPECS/osgi-annotation.spec new file mode 100644 index 0000000..3165059 --- /dev/null +++ b/SPECS/osgi-annotation.spec @@ -0,0 +1,183 @@ +%bcond_with bootstrap + +Name: osgi-annotation +Version: 8.1.0 +Release: 6%{?dist} +Summary: Annotations for use in compiling OSGi bundles +License: Apache-2.0 +URL: https://www.osgi.org +BuildArch: noarch +ExclusiveArch: %{java_arches} noarch + +# Upstream project is behind an account registration system with no anonymous +# read access, so we download the source from maven central instead +Source0: https://repo1.maven.org/maven2/org/osgi/osgi.annotation/%{version}/osgi.annotation-%{version}.jar +Source1: https://repo1.maven.org/maven2/org/osgi/osgi.annotation/%{version}/osgi.annotation-%{version}.pom + +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +%endif + +%description +Annotations for use in compiling OSGi bundles. This package is not normally +needed at run-time. + +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -c -q + +mkdir -p src/main/java && mv OSGI-OPT/src/org src/main/java + +rm -r org OSGI-OPT + +cp -p %{SOURCE1} pom.xml + +# Ensure OSGi metadata is generated +%pom_xpath_inject pom:project " + bundle + + + + org.apache.felix + maven-bundle-plugin + true + + + \${project.artifactId} + \${project.artifactId} + + + + + " + +# Known by two names in maven central, so add an alias for the older name +%mvn_alias org.osgi:osgi.annotation org.osgi:org.osgi.annotation + +%build +%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 + +%install +%mvn_install + +%files -f .mfiles +%license META-INF/LICENSE META-INF/NOTICE + +%files javadoc -f .mfiles-javadoc +%license META-INF/LICENSE META-INF/NOTICE + +%changelog +* Fri Oct 25 2024 MSVSphere Packaging Team - 8.1.0-6 +- Rebuilt for MSVSphere 10 + +* Mon Aug 05 2024 Mikolaj Izdebski - 8.1.0-6 +- Switch Java compiler source/target to 1.8 +- Resolves: RHEL-52702 + +* Thu Aug 01 2024 Troy Dawson - 8.1.0-6 +- Bump release for Aug 2024 java mass rebuild + +* Mon Jun 24 2024 Troy Dawson - 8.1.0-5 +- Bump release for June 2024 mass rebuild + +* Thu Jan 25 2024 Fedora Release Engineering - 8.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 8.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Sep 01 2023 Mikolaj Izdebski - 8.1.0-2 +- Convert License tag to SPDX format + +* Thu Aug 17 2023 Mikolaj Izdebski - 8.1.0-1 +- Update to upstream version 8.1.0 + +* Thu Jul 20 2023 Fedora Release Engineering - 8.0.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 8.0.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 8.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Feb 05 2022 Jiri Vanek - 8.0.1-4 +- Rebuilt for java-17-openjdk as system jdk + +* Thu Jan 20 2022 Fedora Release Engineering - 8.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Nov 02 2021 Mikolaj Izdebski - 8.0.1-2 +- Set explicit Java compiler source/target levels to 1.7 + +* Wed Oct 13 2021 Mikolaj Izdebski - 8.0.1-1 +- Update to upstream version 8.0.1 + +* Thu Jul 22 2021 Fedora Release Engineering - 8.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon May 17 2021 Mikolaj Izdebski - 8.0.0-2 +- Bootstrap build +- Non-bootstrap build + +* Tue Jan 26 2021 Fedora Release Engineering - 7.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jan 15 2021 Marian Koncek - 8.0.0-1 +- Update to upstream version 8.0.0 + +* Tue Jul 28 2020 Fedora Release Engineering - 7.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Jul 11 2020 Jiri Vanek - 7.0.0-5 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Wed Jan 29 2020 Fedora Release Engineering - 7.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Nov 05 2019 Mikolaj Izdebski - 7.0.0-3 +- Mass rebuild for javapackages-tools 201902 + +* Thu Jul 25 2019 Fedora Release Engineering - 7.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 24 2019 Mikolaj Izdebski - 7.0.0-2 +- Mass rebuild for javapackages-tools 201901 + +* Fri Feb 01 2019 Fedora Release Engineering - 7.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Nov 20 2018 Marian Koncek - 7.0.0-1 +- Update to upstream version 7.0.0 + +* Fri Jul 13 2018 Fedora Release Engineering - 6.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 6.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 6.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 6.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun Oct 9 2016 Mikolaj Izdebski - 6.0.0-4 +- Add missing build-requirement on maven-plugin-bundle + +* Thu Feb 04 2016 Fedora Release Engineering - 6.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 6.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Jan 26 2015 Mat Booth - 6.0.0-1 +- Initial package