Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
erlang-idna
erlang-idna.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-idna.spec of Package erlang-idna
%define bname idna Name: erlang-%bname Version: 6.1.1 Release: 1 Summary: A pure Erlang IDNA implementation License: MIT Group: Development/Tools/Other URL: https://github.com/benoitc/%name Source: %name-%version.tar.xz #Patch0: %name-%version-git.patch Patch1: 0001-replace-unicode_util_compat-to-otpbp.patch BuildArch: noarch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang-otpbp-devel >= 1.0.0 # check BuildRequires: erlang-otpbp >= 1.0.0 %description A pure Erlang IDNA implementation. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 4.0.0-4 %description doc A pure Erlang IDNA implementation. This package contains documentation of %bname. %prep %setup -q -n %name-%version #patch0 -p1 %patch1 -p1 erl -noshell -eval ' {ok, [{application, %bname, L}]} = file:consult("src/%bname.app.src"), file:write_file("src/%bname.app.src", io_lib:format("{application, %bname, ~96p}.~n", [lists:foldr(fun({modules, _}, A) -> [{modules, []}|A]; ({E, _}, A) when E =:= files; E =:= maintainers -> A; (E, A) -> [E|A] end, [], L)]), [raw]), init:stop().' %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", [[io_lib:print(E), ".\n"] || E <- lists:keydelete(deps, 1, L)], [raw]), init:stop().' ERL_COMPILER_OPTIONS="[inline,verbose]" rebar %{?_smp_mflags} -C %bname.rebar.config compile -v rebar %{?_smp_mflags} -C %bname.rebar.config doc -v %install install -d -m 0755 %buildroot%_otplibdir/%bname-%version/ebin install -p -m 0644 ebin/* %buildroot%_otplibdir/%bname-%version/ebin/ install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc install -p -m 0644 doc/*.{css,html,png} %buildroot%_otplibdir/%bname-%version/doc/ install -d -m 0755 %buildroot%_docdir/%name install -p -m 0644 *.md %buildroot%_docdir/%name/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %check ERL_COMPILER_OPTIONS="[inline,verbose]" rebar -C %bname.rebar.config eunit -v %files %defattr(-,root,root) %_otplibdir/* %exclude %_otplibdir/*/include %exclude %_otplibdir/%bname-*/doc %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Thu Mar 31 2022 Led <ledest@gmail.com> 6.1.1-1 - 6.1.1 - update patches: + 0001-replace-unicode_util_compat-to-otpbp.patch * Thu Mar 31 2022 Led <ledest@gmail.com> 6.0.1-2 - update source tarball * Thu Mar 31 2022 Led <ledest@gmail.com> 6.0.1-1 - 6.0.1 - git 4a6c2ee - update patches: + 0001-replace-unicode_util_compat-to-otpbp.patch * Sat Sep 28 2019 Led <ledest@gmail.com> 6.0.0-1 - 6.0.0 - git 4972ace - add patches: + 0001-replace-unicode_util_compat-to-otpbp.patch * Sat Sep 28 2019 Led <ledest@gmail.com> 5.0.0-1 - 5.0.0 * Fri Sep 27 2019 Led <ledest@gmail.com> 4.0.0-5 - clean up idna.app * Fri Sep 27 2019 Led <ledest@gmail.com> 4.0.0-4 - move docs to separate subpackage * Sun Mar 12 2017 Led <ledest@gmail.com> 4.0.0-3 - fix License * Sun Mar 12 2017 Led <ledest@gmail.com> 4.0.0-2 - add README.md * Sun Mar 12 2017 Led <ledest@gmail.com> 4.0.0-1 - initial build
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor