19d814
%global jar_version 1.4
19d814
%global lh_version 1.1
19d814
%global id_version 1.1
19d814
19d814
Name:           apache-resource-bundles
19d814
Version:        2
19d814
Release:        22%{?dist}
19d814
Summary:        Apache Resource Bundles
19d814
License:        ASL 2.0
19d814
URL:            http://repo1.maven.org/maven2/org/apache/apache-resource-bundles/
19d814
BuildArch:      noarch
19d814
19d814
Source0:        http://repo1.maven.org/maven2/org/apache/%{name}/%{version}/%{name}-%{version}.pom
19d814
Source1:        http://repo1.maven.org/maven2/org/apache/apache-jar-resource-bundle/%{jar_version}/apache-jar-resource-bundle-%{jar_version}-sources.jar
19d814
Source2:        http://repo1.maven.org/maven2/org/apache/apache-jar-resource-bundle/%{jar_version}/apache-jar-resource-bundle-%{jar_version}.pom
19d814
Source3:        http://repo1.maven.org/maven2/org/apache/apache-license-header-resource-bundle/%{lh_version}/apache-license-header-resource-bundle-%{lh_version}-sources.jar
19d814
Source4:        http://repo1.maven.org/maven2/org/apache/apache-license-header-resource-bundle/%{lh_version}/apache-license-header-resource-bundle-%{lh_version}.pom
19d814
Source5:        http://repo1.maven.org/maven2/org/apache/apache-incubator-disclaimer-resource-bundle/%{id_version}/apache-incubator-disclaimer-resource-bundle-%{id_version}-sources.jar
19d814
Source6:        http://repo1.maven.org/maven2/org/apache/apache-incubator-disclaimer-resource-bundle/%{id_version}/apache-incubator-disclaimer-resource-bundle-%{id_version}.pom
19d814
19d814
BuildRequires:  maven-local
19d814
BuildRequires:  mvn(org.apache.maven:maven-parent:pom:)
19d814
BuildRequires:  mvn(org.apache.maven.plugins:maven-remote-resources-plugin)
19d814
19d814
%description
19d814
An archive which contains templates for generating the necessary license files
19d814
and notices for all Apache releases.
19d814
19d814
%prep
19d814
%setup -cT
19d814
cp -p %{SOURCE0} ./pom.xml
19d814
19d814
# jar
19d814
mkdir -p apache-jar-resource-bundle
19d814
pushd apache-jar-resource-bundle
19d814
jar xvf %{SOURCE1}
19d814
cp -p %{SOURCE2} ./pom.xml
19d814
mkdir -p src/main/resources
19d814
mv META-INF src/main/resources
19d814
popd
19d814
19d814
# license-header
19d814
mkdir -p apache-license-header-resource-bundle
19d814
pushd apache-license-header-resource-bundle
19d814
jar xvf %{SOURCE3}
19d814
cp -p %{SOURCE4} ./pom.xml
19d814
mkdir -p src/main/resources
19d814
mv META-INF src/main/resources
19d814
popd
19d814
19d814
# incubator-disclaimer
19d814
mkdir -p apache-incubator-disclaimer-resource-bundle
19d814
pushd apache-incubator-disclaimer-resource-bundle
19d814
jar xvf %{SOURCE5}
19d814
cp -p %{SOURCE6} ./pom.xml
19d814
mkdir -p src/main/resources
19d814
mv META-INF src/main/resources
19d814
popd
19d814
19d814
%mvn_file :apache-jar-resource-bundle apache-resource-bundles/jar
19d814
%mvn_file :apache-license-header-resource-bundle apache-resource-bundles/license-header
19d814
%mvn_file :apache-incubator-disclaimer-resource-bundle apache-resource-bundles/incubator-disclaimer
19d814
19d814
%build
19d814
%mvn_build
19d814
19d814
%install
19d814
%mvn_install
19d814
19d814
%files -f .mfiles
19d814
19d814
%changelog
19d814
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2-22
19d814
- Mass rebuild for javapackages-tools 201902
19d814
19d814
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2-21
19d814
- Mass rebuild for javapackages-tools 201901
19d814
19d814
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2-20
19d814
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
19d814
19d814
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2-19
19d814
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
19d814
19d814
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2-18
19d814
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
19d814
19d814
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2-17
19d814
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
19d814
19d814
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-16
19d814
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
19d814
19d814
* Tue Apr 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2-15
19d814
- Cleanup spec file
19d814
19d814
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-14
19d814
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
19d814
19d814
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2-13
19d814
- Use Requires: java-headless rebuild (#1067528)
19d814
19d814
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2-12
19d814
- Fix unowned directory
19d814
19d814
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-11
19d814
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
19d814
19d814
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2-10
19d814
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
19d814
- Replace maven BuildRequires with maven-local
19d814
19d814
* Wed Jan 16 2013 Michal Srb <msrb@redhat.com> - 2-9
19d814
- Build with xmvn
19d814
19d814
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-8
19d814
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
19d814
19d814
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-7
19d814
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
19d814
19d814
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-6
19d814
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
19d814
19d814
* Thu Nov 25 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2-5
19d814
- Fix pom file names and add_to_maven_depmap calls (Resolves rhbz#655790)
19d814
19d814
* Wed Sep 8 2010 Alexander Kurtakov <akurtako@redhat.com> 2-4
19d814
- Add maven-site-plugin BR.
19d814
- Use newer names of maven plugins.
19d814
19d814
* Mon Feb  1 2010 Mary Ellen Foster <mefoster at gmail.com> 2-3
19d814
- Fix license 
19d814
19d814
* Tue Jan 19 2010 Mary Ellen Foster <mefoster at gmail.com> 2-2
19d814
- Add plugin dependencies from POMs
19d814
- Fix description
19d814
- Remove maven-release plugin (not on Fedora yet)
19d814
19d814
* Mon Jan 18 2010 Mary Ellen Foster <mefoster at gmail.com> 2-1
19d814
- Initial package