Cleanup spec file
This commit is contained in:
parent
b3e8565de5
commit
2c6403c17b
@ -2,46 +2,39 @@
|
|||||||
%global lh_version 1.1
|
%global lh_version 1.1
|
||||||
%global id_version 1.1
|
%global id_version 1.1
|
||||||
|
|
||||||
Name: apache-resource-bundles
|
Name: apache-resource-bundles
|
||||||
Version: 2
|
Version: 2
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
Summary: Apache Resource Bundles
|
Summary: Apache Resource Bundles
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: http://repo1.maven.org/maven2/org/apache/apache-resource-bundles/
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
Group: Development/Libraries
|
Source0: http://repo1.maven.org/maven2/org/apache/%{name}/%{version}/%{name}-%{version}.pom
|
||||||
License: ASL 2.0
|
Source1: http://repo1.maven.org/maven2/org/apache/apache-jar-resource-bundle/%{jar_version}/apache-jar-resource-bundle-%{jar_version}-sources.jar
|
||||||
URL: http://repo1.maven.org/maven2/org/apache/apache-resource-bundles/
|
Source2: http://repo1.maven.org/maven2/org/apache/apache-jar-resource-bundle/%{jar_version}/apache-jar-resource-bundle-%{jar_version}.pom
|
||||||
Source0: http://repo1.maven.org/maven2/org/apache/%{name}/%{version}/%{name}-%{version}.pom
|
Source3: http://repo1.maven.org/maven2/org/apache/apache-license-header-resource-bundle/%{lh_version}/apache-license-header-resource-bundle-%{lh_version}-sources.jar
|
||||||
Source1: http://repo1.maven.org/maven2/org/apache/apache-jar-resource-bundle/%{jar_version}/apache-jar-resource-bundle-%{jar_version}-sources.jar
|
Source4: http://repo1.maven.org/maven2/org/apache/apache-license-header-resource-bundle/%{lh_version}/apache-license-header-resource-bundle-%{lh_version}.pom
|
||||||
Source2: http://repo1.maven.org/maven2/org/apache/apache-jar-resource-bundle/%{jar_version}/apache-jar-resource-bundle-%{jar_version}.pom
|
Source5: http://repo1.maven.org/maven2/org/apache/apache-incubator-disclaimer-resource-bundle/%{id_version}/apache-incubator-disclaimer-resource-bundle-%{id_version}-sources.jar
|
||||||
Source3: http://repo1.maven.org/maven2/org/apache/apache-license-header-resource-bundle/%{lh_version}/apache-license-header-resource-bundle-%{lh_version}-sources.jar
|
Source6: http://repo1.maven.org/maven2/org/apache/apache-incubator-disclaimer-resource-bundle/%{id_version}/apache-incubator-disclaimer-resource-bundle-%{id_version}.pom
|
||||||
Source4: http://repo1.maven.org/maven2/org/apache/apache-license-header-resource-bundle/%{lh_version}/apache-license-header-resource-bundle-%{lh_version}.pom
|
|
||||||
Source5: http://repo1.maven.org/maven2/org/apache/apache-incubator-disclaimer-resource-bundle/%{id_version}/apache-incubator-disclaimer-resource-bundle-%{id_version}-sources.jar
|
|
||||||
Source6: http://repo1.maven.org/maven2/org/apache/apache-incubator-disclaimer-resource-bundle/%{id_version}/apache-incubator-disclaimer-resource-bundle-%{id_version}.pom
|
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: maven-compiler-plugin
|
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
||||||
BuildRequires: maven-install-plugin
|
BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin)
|
||||||
BuildRequires: maven-jar-plugin
|
|
||||||
BuildRequires: maven-remote-resources-plugin
|
|
||||||
BuildRequires: maven-resources-plugin
|
|
||||||
BuildRequires: maven-surefire-plugin
|
|
||||||
BuildRequires: maven-site-plugin
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
An archive which contains templates for generating the necessary license files
|
An archive which contains templates for generating the necessary license files
|
||||||
and notices for all Apache releases.
|
and notices for all Apache releases.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -c -T
|
%setup -cT
|
||||||
cp %SOURCE0 ./pom.xml
|
cp -p %{SOURCE0} ./pom.xml
|
||||||
|
|
||||||
# jar
|
# jar
|
||||||
mkdir -p apache-jar-resource-bundle
|
mkdir -p apache-jar-resource-bundle
|
||||||
pushd apache-jar-resource-bundle
|
pushd apache-jar-resource-bundle
|
||||||
jar xvf %SOURCE1
|
jar xvf %{SOURCE1}
|
||||||
cp %SOURCE2 ./pom.xml
|
cp -p %{SOURCE2} ./pom.xml
|
||||||
mkdir -p src/main/resources
|
mkdir -p src/main/resources
|
||||||
mv META-INF src/main/resources
|
mv META-INF src/main/resources
|
||||||
popd
|
popd
|
||||||
@ -49,8 +42,8 @@ popd
|
|||||||
# license-header
|
# license-header
|
||||||
mkdir -p apache-license-header-resource-bundle
|
mkdir -p apache-license-header-resource-bundle
|
||||||
pushd apache-license-header-resource-bundle
|
pushd apache-license-header-resource-bundle
|
||||||
jar xvf %SOURCE3
|
jar xvf %{SOURCE3}
|
||||||
cp %SOURCE4 ./pom.xml
|
cp -p %{SOURCE4} ./pom.xml
|
||||||
mkdir -p src/main/resources
|
mkdir -p src/main/resources
|
||||||
mv META-INF src/main/resources
|
mv META-INF src/main/resources
|
||||||
popd
|
popd
|
||||||
@ -58,26 +51,28 @@ popd
|
|||||||
# incubator-disclaimer
|
# incubator-disclaimer
|
||||||
mkdir -p apache-incubator-disclaimer-resource-bundle
|
mkdir -p apache-incubator-disclaimer-resource-bundle
|
||||||
pushd apache-incubator-disclaimer-resource-bundle
|
pushd apache-incubator-disclaimer-resource-bundle
|
||||||
jar xvf %SOURCE5
|
jar xvf %{SOURCE5}
|
||||||
cp %SOURCE6 ./pom.xml
|
cp -p %{SOURCE6} ./pom.xml
|
||||||
mkdir -p src/main/resources
|
mkdir -p src/main/resources
|
||||||
mv META-INF src/main/resources
|
mv META-INF src/main/resources
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
%mvn_file :apache-jar-resource-bundle apache-resource-bundles/jar
|
%mvn_file :apache-jar-resource-bundle apache-resource-bundles/jar
|
||||||
%mvn_file :apache-license-header-resource-bundle apache-resource-bundles/license-header
|
%mvn_file :apache-license-header-resource-bundle apache-resource-bundles/license-header
|
||||||
%mvn_file :apache-incubator-disclaimer-resource-bundle apache-resource-bundles/incubator-disclaimer
|
%mvn_file :apache-incubator-disclaimer-resource-bundle apache-resource-bundles/incubator-disclaimer
|
||||||
|
|
||||||
|
%build
|
||||||
%mvn_build
|
%mvn_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%dir %{_javadir}/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2-15
|
||||||
|
- Cleanup spec file
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-14
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-14
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user