ae5f46
# Prevent brp-java-repack-jars from being run.
ae5f46
%define __jar_repack %{nil}
ae5f46
ae5f46
%global bundle org.osgi.foundation
ae5f46
%global felixdir %{_javadir}/felix
ae5f46
%global POM %{_mavenpomdir}/JPP.felix-%{bundle}.pom
ae5f46
ae5f46
Name:    felix-osgi-foundation
ae5f46
Version: 1.2.0
ae5f46
Release: 16%{?dist}
ae5f46
Summary: Felix OSGi Foundation EE Bundle
ae5f46
ae5f46
License: ASL 2.0
ae5f46
URL:     http://felix.apache.org
ae5f46
Source0: http://www.apache.org/dist/felix/%{bundle}-%{version}-project.tar.gz
ae5f46
ae5f46
BuildArch: noarch
ae5f46
ae5f46
BuildRequires: java-devel >= 1:1.6.0
ae5f46
BuildRequires: jpackage-utils
ae5f46
BuildRequires: maven-local
ae5f46
BuildRequires: maven-resources-plugin
ae5f46
BuildRequires: maven-plugin-bundle
ae5f46
BuildRequires: felix-parent
ae5f46
ae5f46
%description
ae5f46
OSGi Foundation Execution Environment (EE) Classes.
ae5f46
ae5f46
%package javadoc
ae5f46
Summary:        Javadoc for %{name}
ae5f46
ae5f46
%description javadoc
ae5f46
API documentation for %{name}.
ae5f46
ae5f46
%prep
ae5f46
%setup -q -n %{bundle}-%{version}
ae5f46
ae5f46
%mvn_file : felix/%{bundle}
ae5f46
ae5f46
%build
ae5f46
%mvn_build
ae5f46
ae5f46
%install
ae5f46
%mvn_install
ae5f46
ae5f46
%files -f .mfiles
ae5f46
%doc LICENSE NOTICE
ae5f46
%dir %{felixdir}
ae5f46
ae5f46
%files javadoc -f .mfiles-javadoc
ae5f46
%doc LICENSE NOTICE
ae5f46
ae5f46
%changelog
ae5f46
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2.0-16
ae5f46
- Mass rebuild 2013-12-27
ae5f46
ae5f46
* Thu Sep 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.0-15
ae5f46
- Add missing BR: felix-parent
ae5f46
ae5f46
* Mon Aug 19 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.2.0-14
ae5f46
- Migrate away from mvn-rpmbuild (#997448)
ae5f46
ae5f46
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.0-13
ae5f46
- Rebuild to regenerate API documentation
ae5f46
- Resolves: CVE-2013-1571
ae5f46
ae5f46
* Mon Feb 25 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.0-12
ae5f46
- Add missing BR: maven-local
ae5f46
ae5f46
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-11
ae5f46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ae5f46
ae5f46
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.0-10
ae5f46
- Install LICENSE and NOTICE
ae5f46
- Fix directory permissions
ae5f46
- Remove rpm bug workaround
ae5f46
ae5f46
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-9
ae5f46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ae5f46
ae5f46
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-8
ae5f46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ae5f46
ae5f46
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.2.0-7
ae5f46
- Build with maven 3.
ae5f46
- Adapt to current guidelines.
ae5f46
ae5f46
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-6
ae5f46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ae5f46
ae5f46
* Mon Dec 27 2010 Mat Booth <fedora@matbooth.co.uk> - 1.2.0-5
ae5f46
- Update maven plug-in BRs.
ae5f46
ae5f46
* Mon Dec 13 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.2.0-4
ae5f46
- Versionless jars & javadocs
ae5f46
- Fix pom filename (#655800)
ae5f46
ae5f46
* Wed Jun 30 2010 Victor G. Vasilyev <victor.vasilyev@sun.com> 1.2.0-3
ae5f46
- The javadoc subpackage should have requires on jpackage-utils
ae5f46
- Use the mavenpomdir macro
ae5f46
- Rename the mavenPOM macro to publicPOM
ae5f46
ae5f46
* Tue Jun 29 2010 Victor G. Vasilyev <victor.vasilyev@sun.com> 1.2.0-2
ae5f46
- Use maven to build the project instead of ant
ae5f46
ae5f46
* Thu Jun 24 2010 Victor G. Vasilyev <victor.vasilyev@sun.com> 1.2.0-1
ae5f46
- Release 1.2.0