Blame SPECS/felix-osgi-compendium.spec

13bc3b
# Prevent brp-java-repack-jars from being run.
13bc3b
%define __jar_repack %{nil}
13bc3b
13bc3b
%global bundle org.osgi.compendium
13bc3b
%global felixdir %{_javadir}/felix
13bc3b
%global POM %{_mavenpomdir}/JPP.felix-%{bundle}.pom
13bc3b
13bc3b
Name:    felix-osgi-compendium
13bc3b
Version: 1.4.0
13bc3b
Release: 18%{?dist}
13bc3b
Summary: Felix OSGi R4 Compendium Bundle
13bc3b
13bc3b
Group:   Development/Libraries
13bc3b
License: ASL 2.0
13bc3b
URL:     http://felix.apache.org
13bc3b
Source0: http://www.apache.org/dist/felix/%{bundle}-%{version}-project.tar.gz
13bc3b
13bc3b
Patch0:         0001-Fix-servlet-api-dependency.patch
13bc3b
Patch1:         0002-Fix-compile-target.patch
13bc3b
Patch2:         0003-Add-CM_LOCATION_CHANGED-property-to-ConfigurationEve.patch
13bc3b
Patch3:         0004-Add-TARGET-property-to-ConfigurationPermission.patch
13bc3b
# This is an ugly patch that adds getResourceURL method. This prevents jbosgi-framework
13bc3b
# package from bundling osgi files. Once the jbosgi-framework will be updated
13bc3b
# to a new version without the need for this patch, REMOVE it!
13bc3b
Patch4:         0005-Add-getResourceURL-method-to-make-jbosgi-framework-h.patch
13bc3b
13bc3b
BuildArch:      noarch
13bc3b
13bc3b
BuildRequires: java-devel >= 1:1.6.0
13bc3b
BuildRequires: jpackage-utils
13bc3b
BuildRequires: maven-local
13bc3b
BuildRequires: maven-surefire-provider-junit4
13bc3b
BuildRequires: felix-parent
13bc3b
BuildRequires: felix-osgi-core
13bc3b
BuildRequires: felix-osgi-foundation
13bc3b
BuildRequires: tomcat-servlet-3.0-api
13bc3b
13bc3b
%description
13bc3b
OSGi Service Platform Release 4 Compendium Interfaces and Classes.
13bc3b
13bc3b
%package javadoc
13bc3b
Group:          Documentation
13bc3b
Summary:        Javadoc for %{name}
13bc3b
13bc3b
%description javadoc
13bc3b
API documentation for %{name}.
13bc3b
13bc3b
%prep
13bc3b
%setup -q -n %{bundle}-%{version}
13bc3b
13bc3b
# fix servlet api properly
13bc3b
%patch0 -p1
13bc3b
# fix compile source/target
13bc3b
%patch1 -p1
13bc3b
# add CM_LOCATION_CHANGED property
13bc3b
%patch2 -p1
13bc3b
# add TARGET property
13bc3b
%patch3 -p1
13bc3b
# add getResourceURL method
13bc3b
%patch4 -p1
13bc3b
13bc3b
%mvn_file :%{bundle} "felix/%{bundle}"
13bc3b
%mvn_alias "org.apache.felix:%{bundle}" "org.osgi:%{bundle}"
13bc3b
13bc3b
%build
13bc3b
%mvn_build
13bc3b
13bc3b
%install
13bc3b
%mvn_install
13bc3b
13bc3b
%files -f .mfiles
13bc3b
%doc LICENSE NOTICE
13bc3b
13bc3b
%files javadoc -f .mfiles-javadoc
13bc3b
%doc LICENSE NOTICE
13bc3b
13bc3b
13bc3b
%changelog
13bc3b
* Wed Sep 18 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.0-18
13bc3b
- Add missing BR: felix-parent
13bc3b
13bc3b
* Thu Aug 22 2013 Michal Srb <msrb@redhat.com> - 1.4.0-17
13bc3b
- Migrate away from mvn-rpmbuild (Resolves: rhbz#997463)
13bc3b
13bc3b
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.0-16
13bc3b
- Remove workaround for rpm bug #646523
13bc3b
13bc3b
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.0-15
13bc3b
- Rebuild to regenerate API documentation
13bc3b
- Resolves: CVE-2013-1571
13bc3b
13bc3b
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-14
13bc3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
13bc3b
13bc3b
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4.0-13
13bc3b
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
13bc3b
- Replace maven BuildRequires with maven-local
13bc3b
13bc3b
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-12
13bc3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
13bc3b
13bc3b
* Tue Jul 03 2012 Marek Goldmann <mgoldman@redhat.com> 1.4.0-11
13bc3b
- Add getResourceURL method to XMLParserActivator
13bc3b
13bc3b
* Fri Jun 15 2012 Marek Goldmann <mgoldman@redhat.com> 1.4.0-10
13bc3b
- Add CM_LOCATION_CHANGED property to ConfigurationEvent
13bc3b
- Add TARGET property to ConfigurationPermission
13bc3b
13bc3b
* Wed Mar 21 2012 Alexander Kurtakov <akurtako@redhat.com> 1.4.0-9
13bc3b
- Move to tomcat 7.x servlet api.
13bc3b
13bc3b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-8
13bc3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
13bc3b
13bc3b
* Thu Sep 22 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.0-7
13bc3b
- Add org.osgi groupId to depmap
13bc3b
- Packaging fixes
13bc3b
13bc3b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-6
13bc3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
13bc3b
13bc3b
* Wed Feb  2 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.0-5
13bc3b
- Fix servlet api in pom
13bc3b
13bc3b
* Mon Dec 27 2010 Mat Booth <fedora@matbooth.co.uk> 1.4.0-4
13bc3b
- Fix POM names RHBZ #655800.
13bc3b
- Versionless jars/docs, update maven plug-in BRs.
13bc3b
- Other misc guideline compliances.
13bc3b
13bc3b
* Mon Jul 12 2010 Victor G. Vasilyev <victor.vasilyev@sun.com> 1.4.0-3
13bc3b
- Avoid owning the %%{_javadir}/%%{project} directory
13bc3b
13bc3b
* Wed Jul 07 2010 Victor G. Vasilyev <victor.vasilyev@sun.com> 1.4.0-2
13bc3b
- Use maven instead of ant
13bc3b
13bc3b
* Tue Jun 22 2010 Victor G. Vasilyev <victor.vasilyev@sun.com> 1.4.0-1
13bc3b
- Release 1.4.0