commit
6c85e62adc
@ -0,0 +1 @@
|
|||||||
|
SOURCES/osgi.annotation-8.0.0.jar
|
@ -0,0 +1 @@
|
|||||||
|
5bef633a1ec605ee7af1db5ed999202559ce093d SOURCES/osgi.annotation-8.0.0.jar
|
@ -0,0 +1,37 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>org.osgi</groupId>
|
||||||
|
<artifactId>osgi.annotation</artifactId>
|
||||||
|
<version>8.0.0</version>
|
||||||
|
<description>OSGi Annotation Release 8, Annotations for use in compiling bundles</description>
|
||||||
|
<name>org.osgi:osgi.annotation</name>
|
||||||
|
<url>https://www.osgi.org/</url>
|
||||||
|
<organization>
|
||||||
|
<name>OSGi Alliance</name>
|
||||||
|
<url>https://www.osgi.org/</url>
|
||||||
|
</organization>
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>Apache-2.0</name>
|
||||||
|
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
|
||||||
|
<distribution>repo</distribution>
|
||||||
|
<comments>Apache License, Version 2.0</comments>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
<scm>
|
||||||
|
<url>https://osgi.org/gitweb/build.git</url>
|
||||||
|
<connection>scm:git:https://osgi.org/git/build.git</connection>
|
||||||
|
<developerConnection>scm:git:https://osgi.org/git/build.git</developerConnection>
|
||||||
|
<tag>r8-core-final</tag>
|
||||||
|
</scm>
|
||||||
|
<developers>
|
||||||
|
<developer>
|
||||||
|
<id>osgi</id>
|
||||||
|
<email>info@osgi.org</email>
|
||||||
|
<name>OSGi Alliance</name>
|
||||||
|
<organization>OSGi Alliance</organization>
|
||||||
|
<organizationUrl>https://www.osgi.org/</organizationUrl>
|
||||||
|
</developer>
|
||||||
|
</developers>
|
||||||
|
</project>
|
@ -0,0 +1,147 @@
|
|||||||
|
%bcond_with bootstrap
|
||||||
|
|
||||||
|
Name: osgi-annotation
|
||||||
|
Version: 8.0.0
|
||||||
|
Release: 5%{?dist}
|
||||||
|
Summary: Annotations for use in compiling OSGi bundles
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: https://www.osgi.org
|
||||||
|
BuildArch: 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
|
||||||
|
|
||||||
|
BuildRequires: maven-local
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
|
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 "
|
||||||
|
<packaging>bundle</packaging>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.felix</groupId>
|
||||||
|
<artifactId>maven-bundle-plugin</artifactId>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<instructions>
|
||||||
|
<Bundle-Name>\${project.artifactId}</Bundle-Name>
|
||||||
|
<Bundle-SymbolicName>\${project.artifactId}</Bundle-SymbolicName>
|
||||||
|
</instructions>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>"
|
||||||
|
|
||||||
|
# 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
|
||||||
|
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 8.0.0-5
|
||||||
|
- Rebuilt for MSVSphere 9.1.
|
||||||
|
|
||||||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 8.0.0-5
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.0.0-4
|
||||||
|
- Rebuild to workaround DistroBaker issue
|
||||||
|
|
||||||
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.0.0-3
|
||||||
|
- Bootstrap Maven for CentOS Stream 9
|
||||||
|
|
||||||
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.0.0-2
|
||||||
|
- Bootstrap build
|
||||||
|
- Non-bootstrap build
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 15 2021 Marian Koncek <mkoncek@redhat.com> - 8.0.0-1
|
||||||
|
- Update to upstream version 8.0.0
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 7.0.0-5
|
||||||
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.0.0-3
|
||||||
|
- Mass rebuild for javapackages-tools 201902
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.0.0-2
|
||||||
|
- Mass rebuild for javapackages-tools 201901
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Nov 20 2018 Marian Koncek <mkoncek@redhat.com> - 7.0.0-1
|
||||||
|
- Update to upstream version 7.0.0
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Oct 9 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.0.0-4
|
||||||
|
- Add missing build-requirement on maven-plugin-bundle
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 26 2015 Mat Booth <mat.booth@redhat.com> - 6.0.0-1
|
||||||
|
- Initial package
|
Loading…
Reference in new issue