!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:36 +08:00 committed by Gitee
commit 912d5be244
3 changed files with 42 additions and 0 deletions

37
erlang-gettext.spec Normal file
View File

@ -0,0 +1,37 @@
%global realname gettext
%global upstream etnt
%global git_tag 2bcba56069721afc7d8c58f84ce701958ec7a761
%global short_tag %(c=%{git_tag}; echo ${c:0:7})
Name: erlang-%{realname}
Version: 2.1.0
Release: 1
BuildArch: noarch
Summary: Erlang internationalization library
License: MIT
URL: https://github.com/%{upstream}/%{realname}
VCS: scm:git:https://github.com/%{upstream}/%{realname}.git
Source0: https://github.com/%{upstream}/%{realname}/archive/%{git_tag}/%{realname}-%{version}.tar.gz
BuildRequires: erlang-rebar
%description
Erlang internationalization library.
%prep
%autosetup -p1 -n %{realname}-%{git_tag}
%build
%{erlang_compile}
%install
%{erlang_install}
%check
%{erlang_test}
%files
%license LICENSE
%doc README
%{erlang_appdir}/
%changelog
* Sat Aug 29 2020 wangyue <wangyue92@huawei.com> - 2.1.0-1
- package init

5
erlang-gettext.yaml Normal file
View File

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

BIN
gettext-2.1.0.tar.gz Normal file

Binary file not shown.