From 5ea11304a16432995dae91387c80cc57de6fa365 Mon Sep 17 00:00:00 2001 From: small_leek Date: Fri, 31 Jul 2020 15:47:22 +0800 Subject: [PATCH] package init --- LICENSE-2.0.txt | 202 ++++++++++++++++++++++++++ mysema-commons-lang-0.2.4-sources.jar | Bin 0 -> 6441 bytes mysema-commons-lang-0.2.4.pom | 77 ++++++++++ mysema-commons-lang.spec | 90 ++++++++++++ mysema-commons-lang.yaml | 4 + 5 files changed, 373 insertions(+) create mode 100644 LICENSE-2.0.txt create mode 100644 mysema-commons-lang-0.2.4-sources.jar create mode 100644 mysema-commons-lang-0.2.4.pom create mode 100644 mysema-commons-lang.spec create mode 100644 mysema-commons-lang.yaml diff --git a/LICENSE-2.0.txt b/LICENSE-2.0.txt new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/LICENSE-2.0.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/mysema-commons-lang-0.2.4-sources.jar b/mysema-commons-lang-0.2.4-sources.jar new file mode 100644 index 0000000000000000000000000000000000000000..782308fc701f53a89102e41308cccab062feb387 GIT binary patch literal 6441 zcmaJ_2|SeD_a7x$!(?B>*t0L$8Il=m_N;|0Sw?oEWY5kZWG72xU$SLiL$b?|eK+=9 z=|6hk();_XJD-_*=iGC?_dMr0&wbAQ-c`7ajtw|#-f(vCkHNn`Sg2k}Rs+ldRldV@ z_g^(kfEP+Fy02l^05xri`V#%Fr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wxm!u|`v^!oxAu_xyX zc%in>KP~V-T+07~{%?JM4$6=FXVBlO{oesEDk07R=?VS}cu_&|JMu*@i*sZ+@XyHq Z`|7x>a0L}D000m5=|SD}JH%)I{tv;Cu{r<% literal 0 HcmV?d00001 diff --git a/mysema-commons-lang-0.2.4.pom b/mysema-commons-lang-0.2.4.pom new file mode 100644 index 0000000..e69f742 --- /dev/null +++ b/mysema-commons-lang-0.2.4.pom @@ -0,0 +1,77 @@ + + + + + 4.0.0 + + + com.mysema.home + mysema-source + 0.3.0 + + + com.mysema.commons + mysema-commons-lang + 0.2.4 + jar + lang + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:svn:https://source.mysema.com/svn/mysema/projects/commons/l10n/trunk/ + https://source.mysema.com/svn/mysema/projects/commons/l10n/trunk/ + + + + + junit + junit + 4.4 + test + + + javax.servlet + servlet-api + + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + true + + + + com.springsource.bundlor + com.springsource.bundlor.maven + 1.0.0.RELEASE + + + bundlor + + bundlor + + + + + true + + + + + + diff --git a/mysema-commons-lang.spec b/mysema-commons-lang.spec new file mode 100644 index 0000000..6adb711 --- /dev/null +++ b/mysema-commons-lang.spec @@ -0,0 +1,90 @@ +Name: mysema-commons-lang +Version: 0.2.4 +Release: 1 +Summary: Mysema Commons Lang +License: ASL 2.0 +URL: http://www.mysema.com/ +Source0: https://repo1.maven.org/maven2/com/mysema/commons/%{name}/%{version}/%{name}-%{version}-sources.jar +Source1: https://repo1.maven.org/maven2/com/mysema/commons/%{name}/%{version}/%{name}-%{version}.pom +Source2: http://www.apache.org/licenses/LICENSE-2.0.txt + +BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-jar-plugin) +BuildArch: noarch + +%description +Mysema Commons Lang provides: +* General assertion utilities +* Empty implementation of the CloseableIterator interface +* Adapter implementation for Iterator and CloseableIterator instances +* Typed pair of values +* URIResolver provides URI resolving functionality +* URLEncoder provides URL encoding functionality + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -T -q -c +mkdir -p src/main/{java,resources} +( + cd src/main/java + %jar -xf %{SOURCE0} + rm -rf META-INF +) +find src/main/java/ -type d | while read dirname ; do + newdirname=`echo $dirname | sed "s:src/main/java:src/main/resources:g"` + mkdir -p $newdirname +done +find src/main/java/ -type f | grep -v "\.java" | while read cpfrom ; do + cpto=`echo $cpfrom | sed "s:src/main/java:src/main/resources:g"` + cp $cpfrom $cpto +done +cp -p %{SOURCE1} pom.xml +%pom_remove_parent +%pom_remove_plugin com.springsource.bundlor:com.springsource.bundlor.maven +%pom_add_plugin org.apache.felix:maven-bundle-plugin . ' + + + Commons Lang + com.mysema.commons.lang + Mysema + com.mysema.commons.lang*;version="${project.version}" + + + + + bundle-manifest + process-classes + + manifest + + +' +%pom_xpath_remove "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:configuration/pom:useDefaultManifestFile" +%pom_xpath_inject "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:configuration" ' + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF +' +cp -p %{SOURCE2} LICENSE +sed -i 's/\r//' LICENSE +%mvn_file com.mysema.commons:%{name} %{name} + +%build +%mvn_build -- -Dproject.build.sourceEncoding=UTF-8 + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog +* Sat Jul 25 2020 leiju - 0.2.4-1 +- Package init diff --git a/mysema-commons-lang.yaml b/mysema-commons-lang.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/mysema-commons-lang.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA