From dbc59e49853fedfbdd0c448c6aea5c62347713ae Mon Sep 17 00:00:00 2001 From: James Antill Date: Mon, 8 Aug 2022 12:36:52 -0400 Subject: [PATCH] Import rpm: 2c47dab5c16fdd9d4c5dac483ed4ccde6f7f33b5 --- .gitignore | 1 + gating.yaml | 8 +++++ osgi-core.spec | 87 +++++++++++++++++++++++++++++++++++++++++++++ osgi.core-6.0.0.pom | 34 ++++++++++++++++++ sources | 1 + 5 files changed, 131 insertions(+) create mode 100644 .gitignore create mode 100644 gating.yaml create mode 100644 osgi-core.spec create mode 100644 osgi.core-6.0.0.pom create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ac0b49c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/osgi.core-6.0.0-sources.jar diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..d6b7694 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,8 @@ +--- !Policy +product_versions: + - rhel-9 +decision_contexts: + - osci_compose_gate +rules: + # https://docs.engineering.redhat.com/display/RHELPLAN/Maven+Bootstrap+manual+gating+test + - !PassingTestCaseRule {test_case_name: manual.sst_cs_apps.maven.bootstrap} diff --git a/osgi-core.spec b/osgi-core.spec new file mode 100644 index 0000000..a265111 --- /dev/null +++ b/osgi-core.spec @@ -0,0 +1,87 @@ +Name: osgi-core +Version: 6.0.0 +Release: 6%{?dist} +License: ASL 2.0 +Summary: OSGi Core API +URL: https://www.osgi.org +Source0: https://repo1.maven.org/maven2/org/osgi/osgi.core/%{version}/osgi.core-%{version}-sources.jar +Source1: https://repo1.maven.org/maven2/org/osgi/osgi.core/%{version}/osgi.core-%{version}.pom +BuildArch: noarch + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.osgi:org.osgi.annotation) + + +%description +OSGi Core Release 6, Interfaces and Classes for use in compiling bundles. + +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +This package provides %{summary}. + + +%prep +%setup -q -c + +cp -p %SOURCE1 pom.xml +mkdir -p src/main/java +mv org src/main/java/ + +%pom_xpath_inject pom:project ' +bundle + + UTF-8 + + + + + org.apache.felix + maven-bundle-plugin + true + + + ${project.artifactId} + ${project.artifactId} + + + + +' + +%pom_add_dep org.osgi:osgi.annotation::provided + +%build +%mvn_build + +%install +%mvn_install + + +%files -f .mfiles +%license LICENSE +%doc about.html + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog +* Thu Feb 08 2018 Fedora Release Engineering - 6.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 6.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 6.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Oct 10 2016 Mikolaj Izdebski - 6.0.0-3 +- Fix scopes of injected Maven dependencies + +* Wed Oct 05 2016 Michael Simacek - 6.0.0-2 +- Remove alias + +* Tue Oct 04 2016 Michael Simacek - 6.0.0-1 +- Initial packaging diff --git a/osgi.core-6.0.0.pom b/osgi.core-6.0.0.pom new file mode 100644 index 0000000..00e405b --- /dev/null +++ b/osgi.core-6.0.0.pom @@ -0,0 +1,34 @@ + + + 4.0.0 + org.osgi + osgi.core + 6.0.0 + OSGi Core Release 6, Interfaces and Classes for use in compiling bundles. + org.osgi:osgi.core + http://www.osgi.org/ + + OSGi Alliance + http://www.osgi.org/ + + + + Apache License, Version 2.0 + http://opensource.org/licenses/apache2.0.php + repo + + + + https://www.osgi.org/members/git/build.git + scm:git:https://www.osgi.org/members/git/build.git + scm:git:https://www.osgi.org/members/git/build.git + + + + osgi + info@osgi.org + OSGi Alliance + OSGi Alliance + + + diff --git a/sources b/sources new file mode 100644 index 0000000..d4c2e92 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA1 (osgi.core-6.0.0-sources.jar) = 921a11d64e9a5e6fb04f99a006a3b4b9773f44b8