Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
unicode_set
unicode_set.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unicode_set.spec of Package unicode_set
%def_enable check %def_without doc %define bname unicode_set Name: %bname Version: 1.3.0 Release: 2 Summary: Unicode set parsing, expansion, macros and guards for Elixir License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/elixir-unicode/%bname Source: %bname-%version.tar.xz Patch0: %bname-%version-git.patch BuildArch: noarch Provides: elixir-%bname = %version-%release Requires: elixir >= 1.8 Requires: elixir-unicode >= 1.13 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: elixir >= 1.8 BuildRequires: mix >= 1.3.2-7 BuildRequires: elixir-hex %if_enabled check # check BuildRequires: elixir-nimble_parsec >= 1.2.2 BuildRequires: elixir-unicode >= 1.13 %endif %description A Unicode Set is a representation of a set of Unicode characters or character strings. The contents of that set are specified by patterns or by building them programmatically. This library implements parsing of unicode sets, resolving them to a list of codepoints and matching a given codepoint to that list. This is all consolidated into a single primary macro, Unicode.Set.match?/2. The implementation conforms closely to the Unicode Set specification but currently omits support for the \N{codepoint_name} syntax. %prep %setup -q -n %bname-%version %patch -p1 -P0 sed -i '/^ deps:/a\ prune_code_paths: false,' mix.exs sed -i '/^ deps:/s/: /&[], #/' mix.exs %build export LANG=en_US.UTF-8 ERL_COMPILER_OPTIONS='[inline,verbose]' mix compile --force --no-deps-check %{?_with_doc:mix docs} %install install -d -m 0755 %buildroot%_otplibdir/%bname-%version/ebin install -p -m 0644 _build/dev/lib/%bname/ebin/* %buildroot%_otplibdir/%bname-%version/ebin/ install -d -m 0755 %buildroot%_docdir/%name install -m 0644 README* CHANGELOG* %buildroot%_docdir/%name/ %if_with doc install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc/dist install -p -m 0644 doc/dist/* %buildroot%_otplibdir/%bname-%version/doc/dist/ install -p -m 0644 doc/*.html %buildroot%_otplibdir/%bname-%version/doc/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %endif %if_enabled check %check export LANG=en_US.UTF-8 MIX_ENV=test mix clean ERL_COMPILER_OPTIONS='[inline,verbose]' mix test --no-deps-check %endif %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Sat May 11 2024 Led <ledest@gmail.com> 1.3.0-2 - update BuildRequires * Thu May 09 2024 Led <ledest@gmail.com> 1.3.0-1 - 1.3.0 - git 643163b * Thu May 09 2024 Led <ledest@gmail.com> 1.2.0-1 - 1.2.0 * Thu May 09 2024 Led <ledest@gmail.com> 1.1.0-1 - 1.1.0 * Thu May 09 2024 Led <ledest@gmail.com> 1.0.0-1 - 1.0.0 * Thu May 09 2024 Led <ledest@gmail.com> 0.13.1-1 - 0.13.1 * Thu May 09 2024 Led <ledest@gmail.com> 0.10.0-2 - fix Summary and description * Thu May 09 2024 Led <ledest@gmail.com> 0.10.0-1 - 0.10.0
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