commit
f3a1d5617d
BIN
language-detector-0.5.tar.gz
Normal file
BIN
language-detector-0.5.tar.gz
Normal file
Binary file not shown.
50
language-detector.spec
Normal file
50
language-detector.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
Name: language-detector
|
||||||
|
Version: 0.5
|
||||||
|
Release: 1
|
||||||
|
Summary: Language Detection Library for Java
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: https://github.com/optimaize/language-detector
|
||||||
|
Source0: https://github.com/optimaize/language-detector/archive/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: maven-local mvn(ch.qos.logback:logback-classic) mvn(com.google.guava:guava)
|
||||||
|
BuildRequires: mvn(com.intellij:annotations) mvn(junit:junit) mvn(net.arnx:jsonic)
|
||||||
|
BuildRequires: mvn(org.hamcrest:hamcrest-core) mvn(org.hamcrest:hamcrest-library)
|
||||||
|
BuildRequires: mvn(org.mockito:mockito-all) mvn(org.slf4j:slf4j-api)
|
||||||
|
Provides: bundled(langdetect) = 1.1-20120112
|
||||||
|
BuildArch: noarch
|
||||||
|
%description
|
||||||
|
A language detector / language guesser library in Java.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
This package contains javadoc for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
|
%pom_remove_plugin :cobertura-maven-plugin
|
||||||
|
%pom_remove_plugin :maven-dependency-plugin
|
||||||
|
%pom_remove_plugin :maven-gpg-plugin
|
||||||
|
%pom_remove_plugin :maven-javadoc-plugin
|
||||||
|
%pom_remove_plugin :maven-release-plugin
|
||||||
|
%pom_remove_plugin :maven-site-plugin
|
||||||
|
%pom_remove_plugin :maven-source-plugin
|
||||||
|
%pom_change_dep :junit-dep :junit
|
||||||
|
%mvn_file com.optimaize.languagedetector:%{name} %{name}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 24 2020 wangyue <wangyue92@huawei.com> - 0.5-1
|
||||||
|
- package init
|
||||||
5
language-detector.yaml
Normal file
5
language-detector.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://github.com/optimaize/language-detector
|
||||||
|
version_control: github
|
||||||
|
src_repo: optimaize/language-detector
|
||||||
|
tag_prefix: "^language-detector-"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user