Blame SPECS/apache-resource-bundles.spec

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