From eca552aa7eda59a9df608bc327fe1ba31d6d7680 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Fri, 5 May 2023 17:34:41 +0200 Subject: [PATCH] import sources --- .gitignore | 1 + osgi-annotation.spec | 104 ++++++++++++++++++++++++++++++++++++++ osgi.annotation-7.0.0.pom | 37 ++++++++++++++ sources | 1 + 4 files changed, 143 insertions(+) create mode 100644 .gitignore create mode 100644 osgi-annotation.spec create mode 100644 osgi.annotation-7.0.0.pom create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..63eb232 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/osgi.annotation-7.0.0.jar diff --git a/osgi-annotation.spec b/osgi-annotation.spec new file mode 100644 index 0000000..27b43a2 --- /dev/null +++ b/osgi-annotation.spec @@ -0,0 +1,104 @@ +Name: osgi-annotation +Version: 7.0.0 +Release: 3%{?dist} +Summary: Annotations for use in compiling OSGi bundles + +License: ASL 2.0 +URL: http://www.osgi.org/ +# Upstream project is behind an account registration system with no anonymous +# read access, so we download the source from maven central instead +Source0: http://repo1.maven.org/maven2/org/osgi/osgi.annotation/%{version}/osgi.annotation-%{version}.jar +Source1: http://repo1.maven.org/maven2/org/osgi/osgi.annotation/%{version}/osgi.annotation-%{version}.pom + +BuildArch: noarch + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) + +%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 + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE +%doc about.html + +%files javadoc -f .mfiles-javadoc +%doc LICENSE + +%changelog +* Tue Nov 05 2019 Mikolaj Izdebski - 7.0.0-3 +- Mass rebuild for javapackages-tools 201902 + +* Fri May 24 2019 Mikolaj Izdebski - 7.0.0-2 +- Mass rebuild for javapackages-tools 201901 + +* 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 diff --git a/osgi.annotation-7.0.0.pom b/osgi.annotation-7.0.0.pom new file mode 100644 index 0000000..9b41058 --- /dev/null +++ b/osgi.annotation-7.0.0.pom @@ -0,0 +1,37 @@ + + + 4.0.0 + org.osgi + osgi.annotation + 7.0.0 + OSGi Annotation Release 7, Annotations for use in compiling bundles + org.osgi:osgi.annotation + https://www.osgi.org/ + + OSGi Alliance + https://www.osgi.org/ + + + + Apache-2.0 + http://www.apache.org/licenses/LICENSE-2.0 + repo + Apache License, Version 2.0 + + + + https://osgi.org/gitweb/build.git + scm:git:https://osgi.org/git/build.git + scm:git:https://osgi.org/git/build.git + hudson-build.core-1432 + + + + osgi + info@osgi.org + OSGi Alliance + OSGi Alliance + https://www.osgi.org/ + + + diff --git a/sources b/sources new file mode 100644 index 0000000..13dc060 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (osgi.annotation-7.0.0.jar) = b976bceed56e88854550318f21e71c2812b220d1b86dd3f4d34b4319b983b9c659cba2d29f044efaa243af5775cc4f9d2283bf60836b7632ce8f6bc396325c2c