e045e01
%global jar_version 1.4
e045e01
%global lh_version 1.1
e045e01
%global id_version 1.1
e045e01
e045e01
Name:		apache-resource-bundles
e045e01
Version:	2
167dfdf
Release:	11%{?dist}
e045e01
Summary:	Apache Resource Bundles
e045e01
e045e01
Group:		Development/Libraries
e045e01
License:	ASL 2.0
e045e01
URL:		http://repo1.maven.org/maven2/org/apache/apache-resource-bundles/
e045e01
Source0:	http://repo1.maven.org/maven2/org/apache/%{name}/%{version}/%{name}-%{version}.pom
e045e01
Source1:	http://repo1.maven.org/maven2/org/apache/apache-jar-resource-bundle/%{jar_version}/apache-jar-resource-bundle-%{jar_version}-sources.jar
e045e01
Source2:	http://repo1.maven.org/maven2/org/apache/apache-jar-resource-bundle/%{jar_version}/apache-jar-resource-bundle-%{jar_version}.pom
e045e01
Source3:	http://repo1.maven.org/maven2/org/apache/apache-license-header-resource-bundle/%{lh_version}/apache-license-header-resource-bundle-%{lh_version}-sources.jar
e045e01
Source4:	http://repo1.maven.org/maven2/org/apache/apache-license-header-resource-bundle/%{lh_version}/apache-license-header-resource-bundle-%{lh_version}.pom
e045e01
Source5:	http://repo1.maven.org/maven2/org/apache/apache-incubator-disclaimer-resource-bundle/%{id_version}/apache-incubator-disclaimer-resource-bundle-%{id_version}-sources.jar
e045e01
Source6:	http://repo1.maven.org/maven2/org/apache/apache-incubator-disclaimer-resource-bundle/%{id_version}/apache-incubator-disclaimer-resource-bundle-%{id_version}.pom
e045e01
Stanislav Ochotnicky b481cfe
BuildRequires:	maven-local
7139341
BuildRequires:	maven-compiler-plugin
7139341
BuildRequires:	maven-install-plugin
7139341
BuildRequires:	maven-jar-plugin
7139341
BuildRequires:	maven-remote-resources-plugin
7139341
BuildRequires:	maven-resources-plugin
7139341
BuildRequires:	maven-surefire-plugin
7139341
BuildRequires:  maven-site-plugin
e045e01
e045e01
BuildArch:	noarch
e045e01
e045e01
%description
e045e01
An archive which contains templates for generating the necessary license files
e045e01
and notices for all Apache releases.
e045e01
e045e01
%prep
e045e01
%setup -c -T
e045e01
cp %SOURCE0 ./pom.xml
e045e01
e045e01
# jar
e045e01
mkdir -p apache-jar-resource-bundle
e045e01
pushd apache-jar-resource-bundle
e045e01
jar xvf %SOURCE1
e045e01
cp %SOURCE2 ./pom.xml
e045e01
mkdir -p src/main/resources
e045e01
mv META-INF src/main/resources
e045e01
popd
e045e01
e045e01
# license-header
e045e01
mkdir -p apache-license-header-resource-bundle
e045e01
pushd apache-license-header-resource-bundle
e045e01
jar xvf %SOURCE3
e045e01
cp %SOURCE4 ./pom.xml
e045e01
mkdir -p src/main/resources
e045e01
mv META-INF src/main/resources
e045e01
popd
e045e01
e045e01
# incubator-disclaimer
e045e01
mkdir -p apache-incubator-disclaimer-resource-bundle
e045e01
pushd apache-incubator-disclaimer-resource-bundle
e045e01
jar xvf %SOURCE5
e045e01
cp %SOURCE6 ./pom.xml
e045e01
mkdir -p src/main/resources
e045e01
mv META-INF src/main/resources
e045e01
popd
e045e01
e045e01
e045e01
%build
2ca28ca
%mvn_file :apache-jar-resource-bundle apache-resource-bundles/jar
2ca28ca
%mvn_file :apache-license-header-resource-bundle apache-resource-bundles/license-header
2ca28ca
%mvn_file :apache-incubator-disclaimer-resource-bundle apache-resource-bundles/incubator-disclaimer
2ca28ca
%mvn_build
e045e01
e045e01
%install
2ca28ca
%mvn_install
e045e01
2ca28ca
%files -f .mfiles
e045e01
e045e01
%changelog
167dfdf
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-11
167dfdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
167dfdf
Stanislav Ochotnicky f281ec1
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2-10
Stanislav Ochotnicky f281ec1
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky f281ec1
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky f281ec1
2ca28ca
* Wed Jan 16 2013 Michal Srb <msrb@redhat.com> - 2-9
2ca28ca
- Build with xmvn
2ca28ca
150d8e8
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-8
150d8e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
150d8e8
5a8446c
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-7
5a8446c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5a8446c
1abee19
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-6
1abee19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1abee19
Stanislav Ochotnicky 3611466
* Thu Nov 25 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2-5
Stanislav Ochotnicky 3611466
- Fix pom file names and add_to_maven_depmap calls (Resolves rhbz#655790)
Stanislav Ochotnicky 3611466
7139341
* Wed Sep 8 2010 Alexander Kurtakov <akurtako@redhat.com> 2-4
7139341
- Add maven-site-plugin BR.
7139341
- Use newer names of maven plugins.
7139341
e045e01
* Mon Feb  1 2010 Mary Ellen Foster <mefoster at gmail.com> 2-3
e045e01
- Fix license 
e045e01
e045e01
* Tue Jan 19 2010 Mary Ellen Foster <mefoster at gmail.com> 2-2
e045e01
- Add plugin dependencies from POMs
e045e01
- Fix description
e045e01
- Remove maven-release plugin (not on Fedora yet)
e045e01
e045e01
* Mon Jan 18 2010 Mary Ellen Foster <mefoster at gmail.com> 2-1
e045e01
- Initial package