Blame SPECS/felix-parent.spec

ab9e75
%global pkg_name felix-parent
ab9e75
%{?scl:%scl_package %{pkg_name}}
ab9e75
%{?maven_find_provides_and_requires}
ab9e75
ab9e75
Name:           %{?scl_prefix}%{pkg_name}
ab9e75
Version:        1.2.1
ab9e75
Release:        15.13%{?dist}
ab9e75
Summary:        Parent POM file for Apache Felix Specs
ab9e75
ab9e75
License:        ASL 2.0
ab9e75
URL:            http://felix.apache.org/
ab9e75
#svn export http://svn.apache.org/repos/asf/felix/releases/felix-parent-1.2.1/
ab9e75
#tar -jcf felix-parent-1.2.1.tar.bz2 felix-parent-1.2.1/
ab9e75
Source0:        %{pkg_name}-%{version}.tar.bz2
ab9e75
#Remove mockito-all dependency which is not in koji
ab9e75
Patch0:        %{pkg_name}-%{version}-pom.patch
ab9e75
ab9e75
BuildArch: noarch
ab9e75
ab9e75
BuildRequires: %{?scl_prefix_java_common}javapackages-tools
ab9e75
BuildRequires: %{?scl_prefix_java_common}junit
ab9e75
BuildRequires: %{?scl_prefix}maven-local
ab9e75
BuildRequires: %{?scl_prefix_java_common}easymock2
ab9e75
BuildRequires: %{?scl_prefix}maven-plugin-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-compiler-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-install-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-jar-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-javadoc-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-resources-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-assembly-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-source-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-deploy-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-gpg-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-project-info-reports-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-release-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-surefire-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-surefire-report-plugin
ab9e75
BuildRequires: %{?scl_prefix}maven-plugin-build-helper
ab9e75
BuildRequires: %{?scl_prefix}maven-plugin-jxr
ab9e75
ab9e75
Requires: %{?scl_prefix_java_common}junit
ab9e75
Requires: %{?scl_prefix_java_common}easymock2
ab9e75
Requires: %{?scl_prefix}maven
ab9e75
Requires: %{?scl_prefix}maven-plugin-plugin
ab9e75
Requires: %{?scl_prefix}maven-compiler-plugin
ab9e75
Requires: %{?scl_prefix}maven-install-plugin
ab9e75
Requires: %{?scl_prefix}maven-jar-plugin
ab9e75
Requires: %{?scl_prefix}maven-javadoc-plugin
ab9e75
Requires: %{?scl_prefix}maven-resources-plugin
ab9e75
Requires: %{?scl_prefix}maven-assembly-plugin
ab9e75
Requires: %{?scl_prefix}maven-source-plugin
ab9e75
Requires: %{?scl_prefix}maven-deploy-plugin
ab9e75
Requires: %{?scl_prefix}maven-gpg-plugin
ab9e75
Requires: %{?scl_prefix}maven-project-info-reports-plugin
ab9e75
Requires: %{?scl_prefix}maven-release-plugin
ab9e75
Requires: %{?scl_prefix}maven-surefire-plugin
ab9e75
Requires: %{?scl_prefix}maven-surefire-report-plugin
ab9e75
Requires: %{?scl_prefix}maven-plugin-build-helper
ab9e75
Requires: %{?scl_prefix}maven-plugin-jxr
ab9e75
ab9e75
ab9e75
%description
ab9e75
Parent POM file for Apache Felix Specs.
ab9e75
ab9e75
%prep
ab9e75
%setup -q -n %{pkg_name}-%{version}
ab9e75
%{?scl:scl enable %{scl} - <<"EOF"}
ab9e75
set -e -x
ab9e75
%patch0 -p0 -b .sav
ab9e75
%pom_remove_plugin org.apache.maven.plugins:maven-site-plugin
ab9e75
ab9e75
# legacy depmap (some upstream packages haven't caught up with the
ab9e75
# "felix" -> "felix-parent" rename yet)
ab9e75
%mvn_alias : :felix
ab9e75
%{?scl:EOF}
ab9e75
ab9e75
%build
ab9e75
%{?scl:scl enable %{scl} - <<"EOF"}
ab9e75
set -e -x
ab9e75
%mvn_build
ab9e75
%{?scl:EOF}
ab9e75
ab9e75
%install
ab9e75
%{?scl:scl enable %{scl} - <<"EOF"}
ab9e75
set -e -x
ab9e75
%mvn_install
ab9e75
%{?scl:EOF}
ab9e75
ab9e75
%files -f .mfiles
ab9e75
%dir %{_mavenpomdir}/%{pkg_name}
ab9e75
%doc LICENSE NOTICE
ab9e75
ab9e75
ab9e75
%changelog
ab9e75
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 1.2.1-15.13
ab9e75
- Fix BR on maven-local & co.
ab9e75
ab9e75
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 1.2.1-15.12
ab9e75
- maven33 rebuild #2
ab9e75
ab9e75
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 1.2.1-15.11
ab9e75
- maven33 rebuild
ab9e75
ab9e75
* Thu Jan 15 2015 Michal Srb <msrb@redhat.com> - 1.2.1-15.10
ab9e75
- Fix directory ownership
ab9e75
ab9e75
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 1.2.1-15.9
ab9e75
- Mass rebuild 2015-01-13
ab9e75
ab9e75
* Mon Jan 12 2015 Michael Simacek <msimacek@redhat.com> - 1.2.1-15.8
ab9e75
- BR/R on packages from rh-java-common
ab9e75
ab9e75
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 1.2.1-15.7
ab9e75
- Mass rebuild 2015-01-06
ab9e75
ab9e75
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.1-15.6
ab9e75
- Mass rebuild 2014-05-26
ab9e75
ab9e75
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.1-15.5
ab9e75
- Mass rebuild 2014-02-19
ab9e75
ab9e75
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.1-15.4
ab9e75
- Mass rebuild 2014-02-18
ab9e75
ab9e75
* Fri Feb 14 2014 Michael Simacek <msimacek@redhat.com> - 1.2.1-15.3
ab9e75
- SCL-ize BR
ab9e75
ab9e75
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.1-15.2
ab9e75
- Rebuild to regenerate auto-requires
ab9e75
ab9e75
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.1-15.1
ab9e75
- First maven30 software collection build
ab9e75
ab9e75
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2.1-15
ab9e75
- Mass rebuild 2013-12-27
ab9e75
ab9e75
* Tue Jul 16 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.1-14
ab9e75
- Fix Maven alias
ab9e75
ab9e75
* Mon Jul 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.1-13
ab9e75
- Remove unneeded depmap file
ab9e75
ab9e75
* Mon Jul 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.1-12
ab9e75
- Update to current packaging guidelines
ab9e75
ab9e75
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-11
ab9e75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ab9e75
ab9e75
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.2.1-10
ab9e75
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
ab9e75
- Replace maven BuildRequires with maven-local
ab9e75
ab9e75
* Tue Dec 18 2012 Michal Srb <msrb@redhat.com> - 1.2.1-9
ab9e75
- Removed dependency on maven-site-plugin
ab9e75
ab9e75
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-8
ab9e75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ab9e75
ab9e75
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-7
ab9e75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ab9e75
ab9e75
* Wed Mar 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.2.1-6
ab9e75
- Fix faulty compiler plugin settings setting source but not target.
ab9e75
ab9e75
* Sun Mar 13 2011 Mat Booth <fedora@matbooth.co.uk> 1.2.1-5
ab9e75
- Add dep on maven-plugin-jxr.
ab9e75
ab9e75
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
ab9e75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ab9e75
ab9e75
* Mon Dec 27 2010 Mat Booth <fedora@matbooth.co.uk> - 1.2.1-3
ab9e75
- Add legacy depmap from maven2-common-poms for felix packages that still
ab9e75
  specify "felix" instead of "felix-parent"
ab9e75
ab9e75
* Tue Jul 20 2010 Hui Wang <huwang@redhat.com> - 1.2.1-2
ab9e75
- Update summary and description
ab9e75
- Add comment in mvn-jpp
ab9e75
ab9e75
* Fri Jul 16 2010 Hui Wang <huwang@redhat.com> - 1.2.1-1
ab9e75
- Initial version of the package