Blame SPECS/maven-plugin-bundle.spec

4f316b
%global pkg_name maven-plugin-bundle
4f316b
%{?scl:%scl_package %{pkg_name}}
4f316b
%{?maven_find_provides_and_requires}
4f316b
4f316b
%global site_name maven-bundle-plugin
4f316b
4f316b
Name:           %{?scl_prefix}%{pkg_name}
4f316b
Version:        2.3.7
4f316b
Release:        12.13%{?dist}
4f316b
Summary:        Maven Bundle Plugin
4f316b
4f316b
License:        ASL 2.0
4f316b
URL:            http://felix.apache.org
4f316b
Source0:        http://archive.apache.org/dist/felix/%{site_name}-%{version}-source-release.tar.gz
4f316b
4f316b
Patch0:         %{site_name}-dependency.patch
4f316b
Patch1:         %{site_name}-unreported-exception.patch
4f316b
4f316b
BuildRequires: %{?scl_prefix}aqute-bndlib >= 1.50.0
4f316b
BuildRequires: %{?scl_prefix}plexus-utils >= 1.4.5
4f316b
BuildRequires: %{?scl_prefix}felix-osgi-obr
4f316b
BuildRequires: %{?scl_prefix}kxml
4f316b
BuildRequires: %{?scl_prefix}maven-local
4f316b
BuildRequires: %{?scl_prefix}maven-dependency-tree >= 1.1-3
4f316b
BuildRequires: %{?scl_prefix}maven-compiler-plugin
4f316b
BuildRequires: %{?scl_prefix}maven-install-plugin
4f316b
BuildRequires: %{?scl_prefix}maven-jar-plugin
4f316b
BuildRequires: %{?scl_prefix}maven-javadoc-plugin
4f316b
BuildRequires: %{?scl_prefix}maven-plugin-plugin
4f316b
BuildRequires: %{?scl_prefix}maven-resources-plugin
4f316b
BuildRequires: %{?scl_prefix}maven-surefire-plugin >= 2.3
4f316b
BuildRequires: %{?scl_prefix}maven-doxia-sitetools
4f316b
BuildRequires: %{?scl_prefix}maven-osgi
4f316b
BuildRequires: %{?scl_prefix}maven-archiver
4f316b
BuildRequires: %{?scl_prefix}maven-plugin-testing-harness
4f316b
BuildRequires: %{?scl_prefix}plexus-archiver
4f316b
BuildRequires: %{?scl_prefix}plexus-containers-container-default
4f316b
BuildRequires: %{?scl_prefix}felix-parent
4f316b
BuildRequires: %{?scl_prefix}felix-bundlerepository
4f316b
4f316b
BuildArch: noarch
4f316b
4f316b
4f316b
%description
4f316b
Provides a maven plugin that supports creating an OSGi bundle
4f316b
from the contents of the compilation classpath along with its
4f316b
resources and dependencies. Plus a zillion other features.
4f316b
4f316b
%package javadoc
4f316b
Summary:        Javadoc for %{pkg_name}
4f316b
4f316b
%description javadoc
4f316b
API documentation for %{pkg_name}.
4f316b
4f316b
%prep
4f316b
%setup -q -n %{site_name}-%{version}
4f316b
%{?scl:scl enable %{scl} - <<"EOF"}
4f316b
set -e -x
4f316b
4f316b
%patch0 -p1
4f316b
%patch1 -p1
4f316b
4f316b
# remove bundled stuff
4f316b
#rm -rf src/main/java/org/apache/maven
4f316b
4f316b
%mvn_file : %{pkg_name}
4f316b
%{?scl:EOF}
4f316b
4f316b
%build
4f316b
%{?scl:scl enable %{scl} - <<"EOF"}
4f316b
set -e -x
4f316b
%mvn_build
4f316b
%{?scl:EOF}
4f316b
4f316b
%install
4f316b
%{?scl:scl enable %{scl} - <<"EOF"}
4f316b
set -e -x
4f316b
%mvn_install
4f316b
%{?scl:EOF}
4f316b
4f316b
%files -f .mfiles
4f316b
%doc LICENSE NOTICE DEPENDENCIES
4f316b
4f316b
%files javadoc -f .mfiles-javadoc
4f316b
%doc LICENSE NOTICE
4f316b
4f316b
%changelog
4f316b
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 2.3.7-12.13
4f316b
- Fix BR on maven-local & co.
4f316b
4f316b
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 2.3.7-12.12
4f316b
- maven33 rebuild #2
4f316b
4f316b
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 2.3.7-12.11
4f316b
- maven33 rebuild
4f316b
4f316b
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 2.3.7-12.10
4f316b
- Mass rebuild 2015-01-13
4f316b
4f316b
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 2.3.7-12.9
4f316b
- Mass rebuild 2015-01-06
4f316b
4f316b
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-12.8
4f316b
- Mass rebuild 2014-05-26
4f316b
4f316b
* Thu Feb 20 2014 Michael Simacek <msimacek@redhat.com> - 2.3.7-12.7
4f316b
- Adjust maven-wagon R/BR
4f316b
4f316b
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-12.6
4f316b
- Mass rebuild 2014-02-19
4f316b
4f316b
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-12.5
4f316b
- Mass rebuild 2014-02-18
4f316b
4f316b
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-12.4
4f316b
- Rebuild to fix incorrect auto-requires
4f316b
4f316b
* Fri Feb 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-12.3
4f316b
- SCL-ize requires and build-requires
4f316b
4f316b
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-12.2
4f316b
- Rebuild to regenerate auto-requires
4f316b
4f316b
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-12.1
4f316b
- First maven30 software collection build
4f316b
4f316b
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.3.7-12
4f316b
- Mass rebuild 2013-12-27
4f316b
4f316b
* Fri Aug 23 2013 Michal Srb <msrb@redhat.com> - 2.3.7-11
4f316b
- Migrate away from mvn-rpmbuild (Resolves: #997487)
4f316b
4f316b
* Wed Jul 17 2013 Tomas Radej <tradej@redhat.com> - 2.3.7-10
4f316b
- Updated source address (error 404)
4f316b
4f316b
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-9
4f316b
- Rebuild to regenerate API documentation
4f316b
- Resolves: CVE-2013-1571
4f316b
4f316b
* Wed Apr 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-8
4f316b
- Add missing BR: maven-plugin-testing-harness
4f316b
4f316b
* Mon Mar 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-7
4f316b
- Re-enable tests
4f316b
4f316b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.7-6
4f316b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4f316b
4f316b
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.3.7-5
4f316b
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
4f316b
- Replace maven BuildRequires with maven-local
4f316b
4f316b
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.7-4
4f316b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4f316b
4f316b
* Mon May 21 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.3.7-3
4f316b
- Add kxml2 to pom as a dependency
4f316b
4f316b
* Mon Apr 30 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-2
4f316b
- Add missing BuildRequires
4f316b
4f316b
* Wed Feb 29 2012 Jaromir Capik <jcapik@redhat.com> 2.3.7-1
4f316b
- Update to 2.3.7
4f316b
4f316b
* Thu Jan 19 2012 Jaromir Capik <jcapik@redhat.com> 2.3.6-3
4f316b
- Bundled maven sources readded (they seem to change the behaviour)
4f316b
4f316b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.6-2
4f316b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4f316b
4f316b
* Wed Dec 21 2011 Jaromir Capik <jcapik@redhat.com> 2.3.6-1
4f316b
- Update to 2.3.6
4f316b
4f316b
* Mon Dec 19 2011 Jaromir Capik <jcapik@redhat.com> 2.3.5-3
4f316b
- Minimal aqute-bndlib VR set to 1.43.0-2 (older ones are broken)
4f316b
4f316b
* Mon Nov 14 2011 Jaromir Capik <jcapik@redhat.com> 2.3.5-2
4f316b
- OBR plugin readded (it's been merged to the bundle plugin)
4f316b
4f316b
* Mon Oct 24 2011 Jaromir Capik <jcapik@redhat.com> 2.3.5-1
4f316b
- Update to 2.3.5
4f316b
4f316b
* Tue Oct 17 2011 Jaromir Capik <jcapik@redhat.com> 2.0.0-11
4f316b
- aqute-bndlib renamed to aqute-bnd
4f316b
4f316b
* Fri Jun 17 2011 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-10
4f316b
- Do not depend on maven2.
4f316b
4f316b
* Thu Feb 10 2011 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-9
4f316b
- BR maven-surefire-provider-junit4.
4f316b
4f316b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-8
4f316b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4f316b
4f316b
* Wed Dec 15 2010 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-7
4f316b
- BR/R felix-parent.
4f316b
4f316b
* Thu Sep 9 2010 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-5
4f316b
- Fix BuildRequires.
4f316b
4f316b
* Fri Sep 18 2009 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-4
4f316b
- Add missing Requires.
4f316b
4f316b
* Wed Sep 9 2009 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-3
4f316b
- BR doxia-sitetools.
4f316b
4f316b
* Mon Sep 7 2009 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-2
4f316b
- Fix BR/Rs.
4f316b
4f316b
* Thu Sep 3 2009 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-1
4f316b
- Initial import.