Пакет erlang-xmpp: Specfile
%global realname xmpp %set_verify_elf_method relaxed Name: erlang-%realname Version: 1.1.20 Release: alt1%ubt Summary: Erlang/Elixir XMPP parsing and serialization library on top of Fast XML Group: Development/Erlang License: ASL 2.0 Url: https://github.com/processone/xmpp # https://github.com/processone/xmpp.git Source: %name-%version.tar Patch1: erlang-xmpp-fedora-allow-fxml.hrl-to-be-found-from-system-libs.patch BuildRequires(pre): rpm-build-erlang BuildRequires(pre): rpm-build-ubt BuildRequires: erlang-otp-devel erlang-devel BuildRequires: rebar BuildRequires: erlang-p1_utils BuildRequires: erlang-fast_xml BuildRequires: erlang-stringprep %description The library provides comprehensive representation of XMPP elements as well as tools to work with them. Every such element is represented by an Erlang record. Most of the library's code is auto generated and thus considered to be bug free and efficient. The approach is very similar to ASN.1, Google Protocol Buffers or Apache Thrift: an XML element is transformed into internal language structure (an Erlang record in our case) - the process known as "decoding". During decoding, validation is also performed, thus well-typed structures are generated, potentially decreasing bugs related to handcrafted parsing. A reverse process known as "encoding" is applied for transforming an Erlang record into an XML element. The library should be used along with fast_xml library, because it is only able to decode from and encode to structures generated by that library (that is, xmlel() elements). %prep %setup %patch1 -p0 %build %rebar_compile %install %rebar_install %realname %check %rebar_eunit -C rebar.test.config %files %doc LICENSE.* %doc doc README.md %_erllibdir/%realname-%version %changelog * Mon Apr 16 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.1.20-alt1%ubt - Initial build for ALT. |