fuanan add package

This commit is contained in:
fwx913451 2020-08-28 19:52:03 +08:00
parent e7ef42d833
commit 63cdb87203
3 changed files with 47 additions and 0 deletions

BIN
1.2.1.tar.gz Normal file

Binary file not shown.

43
evo-inflector.spec Normal file
View File

@ -0,0 +1,43 @@
Name: evo-inflector
Version: 1.2.1
Release: 10
Summary: Implements English pluralization algorithm
License: ASL 2.0
URL: https://github.com/atteo/evo-inflector
Source0: https://github.com/atteo/evo-inflector/archive/%{version}.tar.gz
BuildRequires: mvn(org.apache.ant:ant) mvn(junit:junit) maven-local
BuildArch: noarch
%description
Evo Inflector implements English pluralization algorithm
based on Damian Conway's paper "An Algorithmic Approach to
English Pluralization".
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q
find . -name "*.jar" -print -delete
find . -name "*.class" -print -delete
%pom_remove_parent
%pom_xpath_inject pom:project "<groupId>org.atteo</groupId>"
%mvn_file :%{name} %{name}
%build
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog
* Mon Jul 27 2020 Anan Fu <fuanan3@huawei.com> - 1.2.1-10
- package init

4
evo-inflector.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: atteo/evo-inflector
tag_prefix: "^"
seperator: "."