commit c37aec7b6629f887c0e180ccd806cb066ce141dcea882204dfe51d7de4b2e1a5 Author: Fridrich Strba Date: Tue Jun 25 10:08:50 2019 +0000 Accepting request 711835 from home:namtrac:langtool Needed for languagetool and maybe useful for other packages too. OBS-URL: https://build.opensuse.org/request/show/711835 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-text?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/apache-commons-text.changes b/apache-commons-text.changes new file mode 100644 index 0000000..9b75922 --- /dev/null +++ b/apache-commons-text.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Jun 25 07:38:44 UTC 2019 - Ismail Dönmez + +- Initial release v1.6 on OBS diff --git a/apache-commons-text.spec b/apache-commons-text.spec new file mode 100644 index 0000000..d552d92 --- /dev/null +++ b/apache-commons-text.spec @@ -0,0 +1,65 @@ +# +# spec file for package apache-commons-text +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global base_name text +%global short_name commons-%{base_name} +Name: apache-%{short_name} +Version: 1.6 +Release: 0 +Summary: A library focused on algorithms working on strings +License: Apache-2.0 +Group: Development/Libraries/Java +URL: https://commons.apache.org/proper/commons-text/ +Source0: http://archive.apache.org/dist/commons/text/source/commons-text-%{version}-src.tar.gz +BuildRequires: fdupes +BuildRequires: java-devel >= 1.8 +BuildRequires: maven-local +BuildRequires: mvn(org.apache.commons:commons-lang3) +BuildRequires: mvn(org.apache.commons:commons-parent:pom:) +BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) +BuildArch: noarch + +%description +Apache Commons Text is a library focused on algorithms working on strings. + +%package javadoc +Summary: API documentation for %{name} +Group: Documentation/HTML + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q -n commons-text-%{version}-src + +%pom_remove_dep :junit-bom + +%build +%{mvn_build} -f -- -Dsource=8 + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE.txt NOTICE.txt + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt NOTICE.txt + +%changelog diff --git a/commons-text-1.6-src.tar.gz b/commons-text-1.6-src.tar.gz new file mode 100644 index 0000000..1fbf39e --- /dev/null +++ b/commons-text-1.6-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:643e64ef7c7fd3a91875a1e33abc5648b057fe9729b466ddc6b7dbd7ec2b7c7a +size 286075