|
|
0f7281a |
%global project felix
|
|
Tomas Radej |
53a8d80 |
%global bundle org.apache.felix.gogo.runtime
|
|
Tomas Radej |
53a8d80 |
|
|
Krzysztof Daniel |
99db486 |
%{!?scl:%global pkg_name %{name}}
|
|
Krzysztof Daniel |
99db486 |
%{?scl:%scl_package %{project}-gogo-runtime}
|
|
Krzysztof Daniel |
99db486 |
|
|
Krzysztof Daniel |
99db486 |
Name: %{?scl_prefix}%{project}-gogo-runtime
|
|
Tomas Radej |
53a8d80 |
Version: 0.10.0
|
|
|
ae15b71 |
Release: 9%{?dist}
|
|
Tomas Radej |
53a8d80 |
Summary: Community OSGi R4 Service Platform Implementation - Basic Commands
|
|
Tomas Radej |
53a8d80 |
Group: Development/Tools
|
|
Tomas Radej |
53a8d80 |
License: ASL 2.0
|
|
Tomas Radej |
53a8d80 |
URL: http://felix.apache.org/site/apache-felix-gogo.html
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
Source0: http://www.mirrorservice.org/sites/ftp.apache.org//felix/org.apache.felix.gogo.runtime-0.10.0-project.tar.gz
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
# Typecast an Event constructor call with java.util.Properties to
|
|
Tomas Radej |
53a8d80 |
# java.util.Dictionary because the call to the constructor with Properties
|
|
Tomas Radej |
53a8d80 |
# was ambiguous.
|
|
Krzysztof Daniel |
99db486 |
Patch1: %{pkg_name}-dictionary.patch
|
|
Tomas Radej |
53a8d80 |
# Changed path to DEPENDENCIES, LICENSE and NOTICE from META-INF to root dir
|
|
Krzysztof Daniel |
99db486 |
Patch2: %{pkg_name}-bundle-resources.patch
|
|
Tomas Radej |
53a8d80 |
# Removed failing thread IO test
|
|
Krzysztof Daniel |
99db486 |
Patch3: %{pkg_name}-deleted-io-test.patch
|
|
Tomas Radej |
53a8d80 |
# Removed relativePath to parent pom
|
|
Krzysztof Daniel |
99db486 |
Patch4: %{pkg_name}-parent.patch
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
BuildArch: noarch
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
BuildRequires: java
|
|
Tomas Radej |
53a8d80 |
BuildRequires: jpackage-utils
|
|
Stanislav Ochotnicky |
18aead7 |
BuildRequires: maven-local
|
|
Tomas Radej |
53a8d80 |
BuildRequires: felix-osgi-core
|
|
Tomas Radej |
53a8d80 |
BuildRequires: felix-osgi-compendium
|
|
Tomas Radej |
53a8d80 |
BuildRequires: maven-surefire-provider-junit4
|
|
Krzysztof Daniel |
99db486 |
BuildRequires: %{?scl_prefix}felix-gogo-parent
|
|
Krzysztof Daniel |
99db486 |
%{?scl:BuildRequires: %{?scl_prefix}build}
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
Requires: java
|
|
Tomas Radej |
53a8d80 |
Requires: jpackage-utils
|
|
Krzysztof Daniel |
99db486 |
%{?scl:Requires: %scl_runtime}
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
%description
|
|
Tomas Radej |
53a8d80 |
Apache Felix is a community effort to implement the OSGi R4 Service Platform
|
|
Tomas Radej |
53a8d80 |
and other interesting OSGi-related technologies under the Apache license. The
|
|
Tomas Radej |
53a8d80 |
OSGi specifications originally targeted embedded devices and home services
|
|
Tomas Radej |
53a8d80 |
gateways, but they are ideally suited for any project interested in the
|
|
Tomas Radej |
53a8d80 |
principles of modularity, component-orientation, and/or service-orientation.
|
|
Tomas Radej |
53a8d80 |
OSGi technology combines aspects of these aforementioned principles to define a
|
|
Tomas Radej |
53a8d80 |
dynamic service deployment framework that is amenable to remote management.
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
%package javadoc
|
|
Tomas Radej |
53a8d80 |
Group: Documentation
|
|
Tomas Radej |
53a8d80 |
Summary: Javadoc for %{name}
|
|
Tomas Radej |
53a8d80 |
Requires: jpackage-utils
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
%description javadoc
|
|
Tomas Radej |
53a8d80 |
This package contains the API documentation for %{name}.
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
%prep
|
|
Tomas Radej |
53a8d80 |
%setup -q -n %{bundle}-%{version}
|
|
Tomas Radej |
53a8d80 |
%patch1 -p1
|
|
Tomas Radej |
53a8d80 |
%patch2 -p1
|
|
Tomas Radej |
53a8d80 |
%patch3 -p1
|
|
Tomas Radej |
53a8d80 |
%patch4 -p1
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
%build
|
|
Krzysztof Daniel |
99db486 |
%{?scl:%scl_maven_opts}
|
|
Tomas Radej |
53a8d80 |
mvn-rpmbuild install javadoc:aggregate
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
%install
|
|
Tomas Radej |
53a8d80 |
# jars
|
|
Tomas Radej |
53a8d80 |
install -d -m 0755 %{buildroot}%{_javadir}/%{project}
|
|
Tomas Radej |
53a8d80 |
install -pm 644 target/%{bundle}-%{version}.jar %{buildroot}%{_javadir}/%{project}/%{bundle}.jar
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
# pom
|
|
Tomas Radej |
53a8d80 |
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
Tomas Radej |
53a8d80 |
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{project}-%{bundle}.pom
|
|
Tomas Radej |
53a8d80 |
%add_maven_depmap JPP.%{project}-%{bundle}.pom %{project}/%{bundle}.jar
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
# javadoc
|
|
Krzysztof Daniel |
99db486 |
install -d -m 0755 %{buildroot}%{_javadocdir}/%{pkg_name}
|
|
Krzysztof Daniel |
99db486 |
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{pkg_name}
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
%files
|
|
Tomas Radej |
53a8d80 |
%doc DEPENDENCIES LICENSE NOTICE
|
|
Tomas Radej |
53a8d80 |
%{_javadir}/*
|
|
Tomas Radej |
53a8d80 |
%{_mavenpomdir}/JPP.%{project}-%{bundle}.pom
|
|
Tomas Radej |
53a8d80 |
%{_mavendepmapfragdir}/%{name}
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
%files javadoc
|
|
Tomas Radej |
53a8d80 |
%doc LICENSE
|
|
Krzysztof Daniel |
99db486 |
%{_javadocdir}/%{pkg_name}
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
%changelog
|
|
|
ae15b71 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-9
|
|
|
ae15b71 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
ae15b71 |
|
|
Krzysztof Daniel |
99db486 |
* Fri Mar 15 2013 Krzysztof Daniel <kdaniel@redhat.com> 0.10.0-8
|
|
Krzysztof Daniel |
99db486 |
- Initial SCLization.
|
|
Krzysztof Daniel |
99db486 |
|
|
|
c0412f0 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-7
|
|
|
c0412f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
c0412f0 |
|
|
Stanislav Ochotnicky |
18aead7 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0.10.0-6
|
|
Stanislav Ochotnicky |
18aead7 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
Stanislav Ochotnicky |
18aead7 |
- Replace maven BuildRequires with maven-local
|
|
Stanislav Ochotnicky |
18aead7 |
|
|
|
eb51a53 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-5
|
|
|
eb51a53 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
eb51a53 |
|
|
|
0f7281a |
* Wed Jan 18 2012 Tomas Radej <tradej@redhat.com> - 0.10.0-4
|
|
|
0f7281a |
- Changed jar path
|
|
|
0f7281a |
|
|
|
ce3cb65 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-3
|
|
|
ce3cb65 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ce3cb65 |
|
|
Tomas Radej |
53a8d80 |
* Fri Dec 16 2011 Tomas Radej <tradej@redhat.com> - 0.10.0-2
|
|
Tomas Radej |
53a8d80 |
- Repackaged, minor changes
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
* Mon Nov 07 2011 Tomas Radej <tradej@redhat.com> - 0.10.0-1
|
|
Tomas Radej |
53a8d80 |
- Initial packaging
|