!1 package init

From: @wang_yue111
Reviewed-by: @yanzh_h
Signed-off-by: @yanzh_h
This commit is contained in:
openeuler-ci-bot 2020-09-18 18:33:39 +08:00 committed by Gitee
commit a1b72cc132
3 changed files with 44 additions and 0 deletions

39
erlang-hamcrest.spec Normal file
View File

@ -0,0 +1,39 @@
%global realname hamcrest
%global upstream hyperthunk
%global git_tag 0766ea004f7dd900c36b06aff14dbbac1d03b425
Name: erlang-%{realname}
Version: 0.1.0
Release: 1
BuildArch: noarch
Summary: A framework for writing matcher objects using declarative rules
License: MIT and BSD
URL: https://github.com/%{upstream}/%{realname}-erlang
VCS: scm:git:https://github.com/%{upstream}/%{realname}-erlang.git
Source0: https://github.com/%{upstream}/%{realname}-erlang/archive/%{git_tag}/%{realname}-%{version}.tar.gz
BuildRequires: erlang-proper erlang-rebar
%description
Hamcrest is a framework for writing matcher objects allowing 'match' rules to
be defined declaratively. There are a number of situations where matchers are
invaluable, such as UI validation, or data filtering, but it is in the area of
writing flexible tests that matchers are most commonly used.
%prep
%autosetup -p1 -n %{realname}-erlang-%{git_tag}
%build
%{erlang_compile}
%install
%{erlang_install}
%check
%{rebar_ct -C test.config}
%files
%license LICENCE
%doc NOTES README.markdown
%{erlang_appdir}/
%changelog
* Sat Aug 29 2020 wangyue <wangyue92@huawei.com> - 0.1.0-1
- package init

5
erlang-hamcrest.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/hyperthunk/hamcrest-erlang
version_control: github
src_repo: hyperthunk/hamcrest-erlang
tag_prefix: "^"
seperator: "."

BIN
hamcrest-0.1.0.tar.gz Normal file

Binary file not shown.