564269
%global bundle org.osgi.compendium
564269
564269
Name:           felix-osgi-compendium
564269
Version:        1.4.0
564269
Release:        26%{?dist}
564269
Summary:        Felix OSGi R4 Compendium Bundle
564269
License:        ASL 2.0
564269
URL:            http://felix.apache.org
564269
BuildArch:      noarch
564269
564269
Source0:        http://www.apache.org/dist/felix/%{bundle}-%{version}-project.tar.gz
564269
564269
Patch0:         0001-Fix-servlet-api-dependency.patch
564269
Patch1:         0002-Fix-compile-target.patch
564269
Patch2:         0003-Add-CM_LOCATION_CHANGED-property-to-ConfigurationEve.patch
564269
Patch3:         0004-Add-TARGET-property-to-ConfigurationPermission.patch
564269
# This is an ugly patch that adds getResourceURL method. This prevents jbosgi-framework
564269
# package from bundling osgi files. Once the jbosgi-framework will be updated
564269
# to a new version without the need for this patch, REMOVE it!
564269
Patch4:         0005-Add-getResourceURL-method-to-make-jbosgi-framework-h.patch
564269
564269
BuildRequires:  maven-local
564269
BuildRequires:  mvn(javax.servlet:javax.servlet-api)
564269
BuildRequires:  mvn(org.apache.felix:felix-parent:pom:)
564269
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
564269
BuildRequires:  mvn(org.apache.felix:org.osgi.core)
564269
BuildRequires:  mvn(org.apache.felix:org.osgi.foundation)
564269
564269
%description
564269
OSGi Service Platform Release 4 Compendium Interfaces and Classes.
564269
564269
%package javadoc
564269
Summary:        API documentation for %{name}
564269
564269
%description javadoc
564269
This package contains API documentation for %{name}.
564269
564269
%prep
564269
%setup -q -n %{bundle}-%{version}
564269
564269
# fix servlet api properly
564269
%patch0 -p1
564269
# fix compile source/target
564269
%patch1 -p1
564269
# add CM_LOCATION_CHANGED property
564269
%patch2 -p1
564269
# add TARGET property
564269
%patch3 -p1
564269
# add getResourceURL method
564269
%patch4 -p1
564269
564269
%mvn_file :%{bundle} "felix/%{bundle}"
564269
%mvn_alias "org.apache.felix:%{bundle}" "org.osgi:%{bundle}"
564269
564269
%build
564269
%mvn_build -- -Drat.numUnapprovedLicenses=100
564269
564269
%install
564269
%mvn_install
564269
564269
%files -f .mfiles
564269
%license LICENSE NOTICE
564269
564269
%files javadoc -f .mfiles-javadoc
564269
%license LICENSE NOTICE
564269
564269
%changelog
564269
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-26
564269
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
564269
564269
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-25
564269
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
564269
564269
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-24
564269
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
564269
564269
* Thu Jun 16 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.0-23
564269
- Regenerate build-requires
564269
- Update to current packaging guidelines
564269
564269
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-22
564269
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
564269
564269
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-21
564269
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
564269
564269
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-20
564269
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
564269
564269
* Thu Jun 5 2014 Alexander Kurtakov <akurtako@redhat.com> 1.4.0-19
564269
- Switch to mvn style BR for servlet api.
564269
564269
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.0-18
564269
- Remove BuildRequires on maven-surefire-provider-junit4
564269
564269
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.0-17
564269
- Use Requires: java-headless rebuild (#1067528)
564269
564269
* Mon Aug 05 2013 Mat Booth <fedora@matbooth.co.uk> - 1.4.0-16
564269
- Update for latest guidelines
564269
564269
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-15
564269
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
564269
564269
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-14
564269
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
564269
564269
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4.0-13
564269
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
564269
- Replace maven BuildRequires with maven-local
564269
564269
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-12
564269
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
564269
564269
* Tue Jul 03 2012 Marek Goldmann <mgoldman@redhat.com> 1.4.0-11
564269
- Add getResourceURL method to XMLParserActivator
564269
564269
* Fri Jun 15 2012 Marek Goldmann <mgoldman@redhat.com> 1.4.0-10
564269
- Add CM_LOCATION_CHANGED property to ConfigurationEvent
564269
- Add TARGET property to ConfigurationPermission
564269
564269
* Wed Mar 21 2012 Alexander Kurtakov <akurtako@redhat.com> 1.4.0-9
564269
- Move to tomcat 7.x servlet api.
564269
564269
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-8
564269
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
564269
564269
* Thu Sep 22 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.0-7
564269
- Add org.osgi groupId to depmap
564269
- Packaging fixes
564269
564269
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-6
564269
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
564269
564269
* Wed Feb  2 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.0-5
564269
- Fix servlet api in pom
564269
564269
* Mon Dec 27 2010 Mat Booth <fedora@matbooth.co.uk> 1.4.0-4
564269
- Fix POM names RHBZ #655800.
564269
- Versionless jars/docs, update maven plug-in BRs.
564269
- Other misc guideline compliances.
564269
564269
* Mon Jul 12 2010 Victor G. Vasilyev <victor.vasilyev@sun.com> 1.4.0-3
564269
- Avoid owning the %%{_javadir}/%%{project} directory
564269
564269
* Wed Jul 07 2010 Victor G. Vasilyev <victor.vasilyev@sun.com> 1.4.0-2
564269
- Use maven instead of ant
564269
564269
* Tue Jun 22 2010 Victor G. Vasilyev <victor.vasilyev@sun.com> 1.4.0-1
564269
- Release 1.4.0