RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/osgi-core#2595b3602db67f7f21b43dd0a27265fd7c9b5a1d
This commit is contained in:
parent
03805806f7
commit
7bf248f05b
2
.gitignore
vendored
2
.gitignore
vendored
@ -0,0 +1,2 @@
|
||||
/osgi.core-6.0.0-sources.jar
|
||||
/osgi.core-7.0.0.jar
|
||||
111
osgi-core.spec
Normal file
111
osgi-core.spec
Normal file
@ -0,0 +1,111 @@
|
||||
Name: osgi-core
|
||||
Version: 7.0.0
|
||||
Release: 5%{?dist}
|
||||
Summary: OSGi Core API
|
||||
License: ASL 2.0
|
||||
URL: https://www.osgi.org
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: https://osgi.org/download/r7/osgi.core-%{version}.jar
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.osgi:osgi.annotation)
|
||||
|
||||
%description
|
||||
OSGi Core, 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
|
||||
|
||||
# Delete pre-built binaries
|
||||
rm -r org
|
||||
find -name '*.class' -delete
|
||||
|
||||
mkdir -p src/main/{java,resources}
|
||||
mv OSGI-OPT/src/org src/main/java/
|
||||
|
||||
mv META-INF/maven/org.osgi/osgi.core/pom.xml .
|
||||
|
||||
%pom_xpath_inject pom:project '
|
||||
<packaging>bundle</packaging>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<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>'
|
||||
|
||||
%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
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 7.0.0-4
|
||||
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed Mar 06 2019 Mat Booth <mat.booth@redhat.com> - 7.0.0-1
|
||||
- Update to OSGi R7
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Oct 10 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.0.0-3
|
||||
- Fix scopes of injected Maven dependencies
|
||||
|
||||
* Wed Oct 05 2016 Michael Simacek <msimacek@redhat.com> - 6.0.0-2
|
||||
- Remove alias
|
||||
|
||||
* Tue Oct 04 2016 Michael Simacek <msimacek@redhat.com> - 6.0.0-1
|
||||
- Initial packaging
|
||||
34
osgi.core-6.0.0.pom
Normal file
34
osgi.core-6.0.0.pom
Normal file
@ -0,0 +1,34 @@
|
||||
<?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.core</artifactId>
|
||||
<version>6.0.0</version>
|
||||
<description>OSGi Core Release 6, Interfaces and Classes for use in compiling bundles.</description>
|
||||
<name>org.osgi:osgi.core</name>
|
||||
<url>http://www.osgi.org/</url>
|
||||
<organization>
|
||||
<name>OSGi Alliance</name>
|
||||
<url>http://www.osgi.org/</url>
|
||||
</organization>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Apache License, Version 2.0</name>
|
||||
<url>http://opensource.org/licenses/apache2.0.php</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<url>https://www.osgi.org/members/git/build.git</url>
|
||||
<connection>scm:git:https://www.osgi.org/members/git/build.git</connection>
|
||||
<developerConnection>scm:git:https://www.osgi.org/members/git/build.git</developerConnection>
|
||||
</scm>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>osgi</id>
|
||||
<email>info@osgi.org</email>
|
||||
<name>OSGi Alliance</name>
|
||||
<organization>OSGi Alliance</organization>
|
||||
</developer>
|
||||
</developers>
|
||||
</project>
|
||||
Loading…
Reference in New Issue
Block a user