2021-05-17 16:01:47 +00:00
|
|
|
%bcond_with bootstrap
|
2019-03-19 10:59:36 +00:00
|
|
|
|
2016-10-06 07:49:43 +00:00
|
|
|
Name: osgi-compendium
|
2019-03-06 12:21:52 +00:00
|
|
|
Version: 7.0.0
|
2022-02-05 22:20:08 +00:00
|
|
|
Release: 12%{?dist}
|
2016-10-06 07:49:43 +00:00
|
|
|
Summary: Interfaces and Classes for use in compiling OSGi bundles
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: http://www.osgi.org
|
|
|
|
BuildArch: noarch
|
2022-05-12 20:33:24 +00:00
|
|
|
ExclusiveArch: %{java_arches} noarch
|
2016-10-06 07:49:43 +00:00
|
|
|
|
2019-03-06 12:21:52 +00:00
|
|
|
Source0: https://osgi.org/download/r7/osgi.cmpn-%{version}.jar
|
2016-10-06 07:49:43 +00:00
|
|
|
|
2021-04-16 13:33:12 +00:00
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
%else
|
2022-06-14 06:03:17 +00:00
|
|
|
BuildRequires: maven-local
|
2016-10-06 07:49:43 +00:00
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
|
BuildRequires: mvn(org.osgi:osgi.annotation)
|
|
|
|
BuildRequires: mvn(org.osgi:osgi.core)
|
2021-04-16 13:33:12 +00:00
|
|
|
%endif
|
2016-10-06 07:49:43 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
OSGi Compendium, 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
|
|
|
|
|
2019-03-06 12:21:52 +00:00
|
|
|
# Delete pre-built binaries
|
2016-10-06 07:49:43 +00:00
|
|
|
rm -r org
|
|
|
|
find -name '*.class' -delete
|
|
|
|
|
|
|
|
mkdir -p src/main/{java,resources}
|
|
|
|
mv OSGI-OPT/src/org src/main/java/
|
|
|
|
mv xmlns src/main/resources
|
|
|
|
|
|
|
|
# J2ME stuff
|
|
|
|
rm -r src/main/java/org/osgi/service/io
|
|
|
|
|
|
|
|
mv META-INF/maven/org.osgi/osgi.cmpn/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>'
|
|
|
|
|
2016-10-10 15:56:05 +00:00
|
|
|
%pom_add_dep org.osgi:osgi.annotation::provided
|
|
|
|
%pom_add_dep org.osgi:osgi.core::provided
|
2020-04-22 14:37:54 +00:00
|
|
|
# Don't compile in Servlet, Jax RS and JPA support
|
|
|
|
rm -r src/main/java/org/osgi/service/http
|
2019-03-19 10:59:36 +00:00
|
|
|
rm -r src/main/java/org/osgi/service/jaxrs
|
|
|
|
rm -r src/main/java/org/osgi/service/jpa
|
|
|
|
rm -r src/main/java/org/osgi/service/transaction/control/jpa
|
2016-10-06 07:49:43 +00:00
|
|
|
|
|
|
|
%build
|
2019-03-06 12:21:52 +00:00
|
|
|
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
2016-10-06 07:49:43 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%license LICENSE
|
|
|
|
%doc about.html
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-02-05 22:20:08 +00:00
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 7.0.0-12
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
2022-01-20 22:37:48 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 17:28:33 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-17 13:50:31 +00:00
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.0.0-9
|
|
|
|
- Bootstrap build
|
2021-05-17 16:01:47 +00:00
|
|
|
- Non-bootstrap build
|
2021-05-17 13:50:31 +00:00
|
|
|
|
2021-01-26 22:43:46 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-11-25 16:52:42 +00:00
|
|
|
* Wed Nov 25 2020 Mat Booth <mat.booth@redhat.com> - 7.0.0-7
|
|
|
|
- Rebuild to regenerate OSGi metadata
|
|
|
|
|
2020-07-28 12:56:41 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-11 01:58:00 +00:00
|
|
|
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 7.0.0-5
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
2020-01-29 20:35:29 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-11-05 16:29:28 +00:00
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.0.0-4
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
2019-07-25 23:45:40 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-05-24 15:01:25 +00:00
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.0.0-3
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
2019-03-19 10:59:36 +00:00
|
|
|
* Tue Mar 19 2019 Mat Booth <mat.booth@redhat.com> - 7.0.0-2
|
|
|
|
- Allow conditionally compiling in support for Jax RS and JPA
|
|
|
|
|
2019-03-06 12:21:52 +00:00
|
|
|
* Wed Mar 06 2019 Mat Booth <mat.booth@redhat.com> - 7.0.0-1
|
|
|
|
- Update to OSGi R7
|
|
|
|
|
2019-02-01 17:41:44 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 15:18:44 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-08 18:00:16 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 01:59:26 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 01:04:52 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-10-10 15:56:05 +00:00
|
|
|
* Mon Oct 10 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.0.0-2
|
|
|
|
- Fix scopes of injected Maven dependencies
|
|
|
|
|
2016-10-06 07:49:43 +00:00
|
|
|
* Mon Oct 12 2015 Michael Simacek <msimacek@redhat.com> - 6.0.0-1
|
|
|
|
- Initial packaging
|