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