diff --git a/glassfish-legal.spec b/glassfish-legal.spec new file mode 100644 index 0000000..ecf0eed --- /dev/null +++ b/glassfish-legal.spec @@ -0,0 +1,33 @@ +Name: glassfish-legal +Version: 1.1 +Release: 1 +Summary: Legal License for glassfish code +License: CDDL or GPLv2 with exceptions +URL: http://glassfish.java.net/ +Source0: https://repo1.maven.org/maven2/org/glassfish/legal/1.1/legal-1.1-sources.jar +Source1: https://repo1.maven.org/maven2/org/glassfish/legal/1.1/legal-1.1.pom +BuildRequires: glassfish-master-pom maven-local maven-remote-resources-plugin +Requires: glassfish-master-pom +BuildArch: noarch +%description +An archive which contains license files for glassfish code. + +%prep +%setup -c %{name}-%{version} +cp %{SOURCE1} ./pom.xml +sed -i 's/\r//' META-INF/LICENSE.txt +cp -p META-INF/LICENSE.txt . +%mvn_file :legal %{name} + +%build +%mvn_build -- -Dproject.build.sourceEncoding=UTF-8 + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE.txt + +%changelog +* Sat Aug 1 2020 Ge Wang - 1.1-1 +- package init diff --git a/glassfish-legal.yaml b/glassfish-legal.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/glassfish-legal.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/legal-1.1-sources.jar b/legal-1.1-sources.jar new file mode 100644 index 0000000..139840b Binary files /dev/null and b/legal-1.1-sources.jar differ diff --git a/legal-1.1.pom b/legal-1.1.pom new file mode 100644 index 0000000..996d337 --- /dev/null +++ b/legal-1.1.pom @@ -0,0 +1,92 @@ + + + + + + org.glassfish + pom + 1 + + + 4.0.0 + org.glassfish + legal + 1.1 + + + scm:svn:https://kohsuke@svn.dev.java.net/svn/glassfish-svn/tags/legal-1.1 + scm:svn:https://kohsuke@svn.dev.java.net/svn/glassfish-svn/tags/legal-1.1 + + + Legal License for glassfish code + + + + + maven-remote-resources-plugin + + + + bundle + + + + + + + + + + + + + + dochez + dochez + http://blogs.sun.com/dochez + Sun Microsystems, Inc. + + lead + + + +