Blame SPECS/felix-osgi-compendium.spec

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