diff --git a/apache-incubator-disclaimer-resource-bundle-1.1-sources.jar b/apache-incubator-disclaimer-resource-bundle-1.1-sources.jar new file mode 100644 index 0000000..feafc96 Binary files /dev/null and b/apache-incubator-disclaimer-resource-bundle-1.1-sources.jar differ 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-sources.jar b/apache-jar-resource-bundle-1.4-sources.jar new file mode 100644 index 0000000..0b6a83d Binary files /dev/null and b/apache-jar-resource-bundle-1.4-sources.jar differ 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-sources.jar b/apache-license-header-resource-bundle-1.1-sources.jar new file mode 100644 index 0000000..ecf5b03 Binary files /dev/null and b/apache-license-header-resource-bundle-1.1-sources.jar differ 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.spec b/apache-resource-bundles.spec new file mode 100644 index 0000000..58b3431 --- /dev/null +++ b/apache-resource-bundles.spec @@ -0,0 +1,61 @@ +Name: apache-resource-bundles +Version: 2 +Release: 22 +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/apache-resource-bundles/%{version}/apache-resource-bundles-%{version}.pom +Source1: http://repo1.maven.org/maven2/org/apache/apache-jar-resource-bundle/1.4/apache-jar-resource-bundle-1.4-sources.jar +Source2: http://repo1.maven.org/maven2/org/apache/apache-jar-resource-bundle/1.4/apache-jar-resource-bundle-1.4.pom +Source3: http://repo1.maven.org/maven2/org/apache/apache-license-header-resource-bundle/1.1/apache-license-header-resource-bundle-1.1-sources.jar +Source4: http://repo1.maven.org/maven2/org/apache/apache-license-header-resource-bundle/1.1/apache-license-header-resource-bundle-1.1.pom +Source5: http://repo1.maven.org/maven2/org/apache/apache-incubator-disclaimer-resource-bundle/1.1/apache-incubator-disclaimer-resource-bundle-1.1-sources.jar +Source6: http://repo1.maven.org/maven2/org/apache/apache-incubator-disclaimer-resource-bundle/1.1/apache-incubator-disclaimer-resource-bundle-1.1.pom +BuildRequires: maven-local mvn(org.apache.maven:maven-parent:pom:) mvn(org.apache.maven.plugins:maven-remote-resources-plugin) + +%description +Maven project provides a set of resources to help you build Java resources +compliant with Apache rules. + +%prep +%autosetup -cT +cp -p %{SOURCE0} ./pom.xml + +no=1 +for i in apache-jar-resource-bundle apache-license-header-resource-bundle \ + apache-incubator-disclaimer-resource-bundle;do + install -d $i + cd $i + case $no in + 1) + jar xvf %{SOURCE1} + cp -p %{SOURCE2} ./pom.xml;; + 3) + jar xvf %{SOURCE3} + cp -p %{SOURCE4} ./pom.xml;; + 5) + jar xvf %{SOURCE5} + cp -p %{SOURCE6} ./pom.xml;; + esac + let no+=2 + install -d src//main/resources + mv META-INF src/main/resources + cd - +done + +%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 +* Fri Dec 13 2019 likexin - 2-22 +- package init