2016-10-05 16:36:45 +00:00
|
|
|
Name: osgi-core
|
2019-03-06 11:00:18 +00:00
|
|
|
Version: 7.0.0
|
2019-04-17 13:19:55 +00:00
|
|
|
Release: 2%{?dist}
|
2016-10-05 16:36:45 +00:00
|
|
|
Summary: OSGi Core API
|
2019-03-06 11:00:18 +00:00
|
|
|
License: ASL 2.0
|
2016-10-05 16:36:45 +00:00
|
|
|
URL: https://www.osgi.org
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2019-03-06 11:00:18 +00:00
|
|
|
Source0: https://osgi.org/download/r7/osgi.core-%{version}.jar
|
|
|
|
|
2016-10-05 16:36:45 +00:00
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
2019-03-06 11:00:18 +00:00
|
|
|
BuildRequires: mvn(org.osgi:osgi.annotation)
|
2016-10-05 16:36:45 +00:00
|
|
|
|
|
|
|
%description
|
2019-03-06 11:00:18 +00:00
|
|
|
OSGi Core, Interfaces and Classes for use in compiling bundles.
|
2016-10-05 16:36:45 +00:00
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
This package provides %{summary}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c
|
|
|
|
|
2019-03-06 11:00:18 +00:00
|
|
|
# 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 .
|
2016-10-05 16:36:45 +00:00
|
|
|
|
|
|
|
%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:54:56 +00:00
|
|
|
%pom_add_dep org.osgi:osgi.annotation::provided
|
2016-10-05 16:36:45 +00:00
|
|
|
|
2019-04-17 13:19:55 +00:00
|
|
|
%mvn_alias : org.osgi:org.osgi.core
|
|
|
|
|
2016-10-05 16:36:45 +00:00
|
|
|
%build
|
|
|
|
%mvn_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%license LICENSE
|
|
|
|
%doc about.html
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2019-04-17 13:19:55 +00:00
|
|
|
* Wed Apr 17 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.0.0-2
|
|
|
|
- Add alias for org.osgi:org.osgi.core
|
|
|
|
|
2019-03-06 11:00:18 +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:53 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 15:18:50 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-08 18:00:26 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 01:59:31 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 01:04:59 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-10-10 15:54:56 +00:00
|
|
|
* Mon Oct 10 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.0.0-3
|
|
|
|
- Fix scopes of injected Maven dependencies
|
|
|
|
|
2016-10-05 16:36:45 +00:00
|
|
|
* 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
|