package init
This commit is contained in:
parent
0407ba8c92
commit
fb69f2535a
37
erlang-gettext.spec
Normal file
37
erlang-gettext.spec
Normal 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
5
erlang-gettext.yaml
Normal 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
BIN
gettext-2.1.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user