From 6b78cdc9f11ae2d388fbc9ba8770d053c1147f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Wed, 14 Oct 2020 21:48:18 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/apache-resource-bundles#d816045641ab309aeb06902f34d183b2df3f7fd8 --- .gitignore | 3 + ...cubator-disclaimer-resource-bundle-1.1.pom | 16 ++ apache-jar-resource-bundle-1.4.pom | 22 +++ apache-license-header-resource-bundle-1.1.pom | 16 ++ apache-resource-bundles-2.pom | 52 ++++++ apache-resource-bundles-cleanup-poms.patch | 20 +++ apache-resource-bundles.spec | 153 ++++++++++++++++++ sources | 3 + 8 files changed, 285 insertions(+) create mode 100644 apache-incubator-disclaimer-resource-bundle-1.1.pom create mode 100644 apache-jar-resource-bundle-1.4.pom create mode 100644 apache-license-header-resource-bundle-1.1.pom create mode 100644 apache-resource-bundles-2.pom create mode 100644 apache-resource-bundles-cleanup-poms.patch create mode 100644 apache-resource-bundles.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..559e646 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,3 @@ +apache-incubator-disclaimer-resource-bundle-1.1-sources.jar +apache-jar-resource-bundle-1.4-sources.jar +apache-license-header-resource-bundle-1.1-sources.jar diff --git a/apache-incubator-disclaimer-resource-bundle-1.1.pom b/apache-incubator-disclaimer-resource-bundle-1.1.pom new file mode 100644 index 0000000..2495577 --- /dev/null +++ b/apache-incubator-disclaimer-resource-bundle-1.1.pom @@ -0,0 +1,16 @@ + + + 4.0.0 + + org.apache + apache-resource-bundles + 2 + + apache-incubator-disclaimer-resource-bundle + Apache Incubator Disclaimer Resource Bundle + 1.1 + 2006 + + An archive which contains the standard Apache Incubator disclaimer. + + diff --git a/apache-jar-resource-bundle-1.4.pom b/apache-jar-resource-bundle-1.4.pom new file mode 100644 index 0000000..0e32dae --- /dev/null +++ b/apache-jar-resource-bundle-1.4.pom @@ -0,0 +1,22 @@ + + + 4.0.0 + + org.apache + apache-resource-bundles + 2 + + apache-jar-resource-bundle + Apache JAR Resource Bundle + 1.4 + 2006 + + An archive which contains templates for generating the necessary license files and notices for all Apache releases. + + + + scm:svn:https://svn.apache.org/repos/asf/maven/resources/tags/apache-jar-resource-bundle-1.4 + scm:svn:https://svn.apache.org/repos/asf/maven/resources/tags/apache-jar-resource-bundle-1.4 + https://svn.apache.org/repos/asf/maven/resources/tags/apache-jar-resource-bundle-1.4 + + diff --git a/apache-license-header-resource-bundle-1.1.pom b/apache-license-header-resource-bundle-1.1.pom new file mode 100644 index 0000000..e595bac --- /dev/null +++ b/apache-license-header-resource-bundle-1.1.pom @@ -0,0 +1,16 @@ + + + 4.0.0 + + org.apache + apache-resource-bundles + 2 + + apache-license-header-resource-bundle + Apache License Header Resource Bundle + 1.1 + 2006 + + An archive which contains the notice file template. + + diff --git a/apache-resource-bundles-2.pom b/apache-resource-bundles-2.pom new file mode 100644 index 0000000..470cfc3 --- /dev/null +++ b/apache-resource-bundles-2.pom @@ -0,0 +1,52 @@ + + + 4.0.0 + + org.apache.maven + maven-parent + 5 + ../pom/maven/pom.xml + + pom + org.apache + apache-resource-bundles + Apache Resource Bundles + 2 + 2006 + + apache-jar-resource-bundle + apache-license-header-resource-bundle + apache-incubator-disclaimer-resource-bundle + + + scm:svn:https://svn.apache.org/repos/asf/maven/resources/tags/apache-resource-bundles-2 + scm:svn:https://svn.apache.org/repos/asf/maven/resources/tags/apache-resource-bundles-2 + https://svn.apache.org/repos/asf/maven/resources/tags/apache-resource-bundles-2 + + + + + + maven-release-plugin + 2.0-beta-4 + + https://svn.apache.org/repos/asf/maven/resources/tags + + + + + + + + maven-remote-resources-plugin + + + + bundle + + + + + + + diff --git a/apache-resource-bundles-cleanup-poms.patch b/apache-resource-bundles-cleanup-poms.patch new file mode 100644 index 0000000..2bffc13 --- /dev/null +++ b/apache-resource-bundles-cleanup-poms.patch @@ -0,0 +1,20 @@ +--- apache-resource-bundles-2/pom.xml.orig 2010-01-19 10:29:54.688919029 +0000 ++++ apache-resource-bundles-2/pom.xml 2010-01-19 10:30:08.671919266 +0000 +@@ -24,17 +24,6 @@ + https://svn.apache.org/repos/asf/maven/resources/tags/apache-resource-bundles-2 + + +- +- +- +- maven-release-plugin +- 2.0-beta-4 +- +- https://svn.apache.org/repos/asf/maven/resources/tags +- +- +- +- + + + diff --git a/apache-resource-bundles.spec b/apache-resource-bundles.spec new file mode 100644 index 0000000..ddf3e37 --- /dev/null +++ b/apache-resource-bundles.spec @@ -0,0 +1,153 @@ +%global jar_version 1.4 +%global lh_version 1.1 +%global id_version 1.1 + +Name: apache-resource-bundles +Version: 2 +Release: 26%{?dist} +Summary: Apache Resource Bundles +License: ASL 2.0 +URL: http://repo1.maven.org/maven2/org/apache/apache-resource-bundles/ +BuildArch: noarch + +Source0: http://repo1.maven.org/maven2/org/apache/%{name}/%{version}/%{name}-%{version}.pom +Source1: http://repo1.maven.org/maven2/org/apache/apache-jar-resource-bundle/%{jar_version}/apache-jar-resource-bundle-%{jar_version}-sources.jar +Source2: http://repo1.maven.org/maven2/org/apache/apache-jar-resource-bundle/%{jar_version}/apache-jar-resource-bundle-%{jar_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 +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: mvn(org.apache.maven:maven-parent:pom:) +BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin) + +%description +An archive which contains templates for generating the necessary license files +and notices for all Apache releases. + +%prep +%setup -cT +cp -p %{SOURCE0} ./pom.xml + +# jar +mkdir -p apache-jar-resource-bundle +pushd apache-jar-resource-bundle +jar xvf %{SOURCE1} +cp -p %{SOURCE2} ./pom.xml +mkdir -p src/main/resources +mv META-INF src/main/resources +popd + +# license-header +mkdir -p apache-license-header-resource-bundle +pushd apache-license-header-resource-bundle +jar xvf %{SOURCE3} +cp -p %{SOURCE4} ./pom.xml +mkdir -p src/main/resources +mv META-INF src/main/resources +popd + +# incubator-disclaimer +mkdir -p apache-incubator-disclaimer-resource-bundle +pushd apache-incubator-disclaimer-resource-bundle +jar xvf %{SOURCE5} +cp -p %{SOURCE6} ./pom.xml +mkdir -p src/main/resources +mv META-INF src/main/resources +popd + +%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-incubator-disclaimer-resource-bundle apache-resource-bundles/incubator-disclaimer + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles + +%changelog +* Mon Jul 27 2020 Fedora Release Engineering - 2-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Jiri Vanek - 2-25 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Tue Jan 28 2020 Fedora Release Engineering - 2-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 2-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 2-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 2-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 2-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 2-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 03 2016 Fedora Release Engineering - 2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 2-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Apr 14 2015 Mikolaj Izdebski - 2-15 +- Cleanup spec file + +* Sat Jun 07 2014 Fedora Release Engineering - 2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Mar 04 2014 Stanislav Ochotnicky - 2-13 +- Use Requires: java-headless rebuild (#1067528) + +* Wed Feb 19 2014 Mikolaj Izdebski - 2-12 +- Fix unowned directory + +* Sat Aug 03 2013 Fedora Release Engineering - 2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 2-10 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Wed Jan 16 2013 Michal Srb - 2-9 +- Build with xmvn + +* Wed Jul 18 2012 Fedora Release Engineering - 2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jan 12 2012 Fedora Release Engineering - 2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Feb 07 2011 Fedora Release Engineering - 2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Nov 25 2010 Stanislav Ochotnicky - 2-5 +- Fix pom file names and add_to_maven_depmap calls (Resolves rhbz#655790) + +* Wed Sep 8 2010 Alexander Kurtakov 2-4 +- Add maven-site-plugin BR. +- Use newer names of maven plugins. + +* Mon Feb 1 2010 Mary Ellen Foster 2-3 +- Fix license + +* Tue Jan 19 2010 Mary Ellen Foster 2-2 +- Add plugin dependencies from POMs +- Fix description +- Remove maven-release plugin (not on Fedora yet) + +* Mon Jan 18 2010 Mary Ellen Foster 2-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..49e42a6 --- /dev/null +++ b/sources @@ -0,0 +1,3 @@ +a45167b6e6ef6acc22d02592cd34b1aa apache-incubator-disclaimer-resource-bundle-1.1-sources.jar +489c1bbdc4b710bff7380342bccfacb1 apache-jar-resource-bundle-1.4-sources.jar +fd056a1ca286681e62ef91039f380433 apache-license-header-resource-bundle-1.1-sources.jar