Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
erlcloud
erlcloud.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlcloud.spec of Package erlcloud
%def_disable check %define bname erlcloud Name: %bname Version: 3.2.18 Release: 1 Summary: AWS APIs library for Erlang License: MIT Group: Development/Tools/Other URL: https://github.com/erlcloud/%bname Source: %bname-%version.tar.xz Patch0: %bname-%version-git.patch Patch1: %bname-3.1.13-doc.patch Patch2: %bname-3.2.10-fix-include.patch BuildArch: noarch Provides: erlang-%bname = %version-%release Requires: erlang-lhttpc >= 1.6.2 Requires: erlang-eini >= 1.2.6 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang-xmerl-devel BuildRequires: erlang-lhttpc-devel >= 1.6.2-1 %if_enabled check # check BuildRequires: erlang-meck BuildRequires: erlang-jsx >= 2.9.0 BuildRequires: erlang-base16 >= 1.0.0 BuildRequires: erlang-lhttpc >= 1.6.2 BuildRequires: erlang-eini >= 1.2.7 %endif %description AWS APIs library for Erlang (Amazon EC2, S3, SQS, DDB, ELB and etc). %package devel Summary: Headers for %name Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Conflicts: %name < 3.1.13-1 %description devel AWS APIs library for Erlang (Amazon EC2, S3, SQS, DDB, ELB and etc). This package contains headers for %name. %package doc Summary: Documentation for %name Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 3.1.13-1 %description doc AWS APIs library for Erlang (Amazon EC2, S3, SQS, DDB, ELB and etc). This package contains documentation for %name and examples. %prep %setup -q -n %bname-%version %patch0 -p1 %patch1 -p1 %patch2 -p1 sed -i '/^%%%% /s|<|\<|g;/^%%%% /s|>|\>|g' \ src/erlcloud_glue.erl \ src/erlcloud_kinesis.erl \ src/erlcloud_lambda.erl \ src/erlcloud_states.erl 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, ~91p}.~n", [lists:keystore(applications, 1, lists:keystore(vsn, 1, L, {vsn, "%version"}), {applications, proplists:get_value(applications, 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 erl -noshell -eval ' {ok, [{application, %bname, L}]} = file:consult("ebin/%bname.app"), file:write_file("ebin/%bname.app", io_lib:format("{application, %bname, ~91p}.~n", [L]), [raw]), init:stop().' %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/include install -p -m 0644 include/* %buildroot%_otplibdir/%bname-%version/include/ 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 %add_erlang_req_beam_skiplist lhttpc hackney %if_enabled check %check ERL_COMPILER_OPTIONS="[inline,verbose]" rebar -C %bname.rebar.config eunit -v %endif %files %defattr(-,root,root) %_otplibdir/* %exclude %_otplibdir/%bname-*/doc %exclude %_otplibdir/%bname-*/include %files devel %defattr(-,root,root) %dir %_otplibdir/%bname-* %_otplibdir/%bname-*/include %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Thu Jul 21 2022 Led <ledest@gmail.com> 3.2.18-1 - 3.2.18 - git 2f5ec4f - fix summary and description * Mon Dec 02 2019 Led <ledest@gmail.com> 3.2.10-1 - 3.2.10 - git 73bb437 - add patches: + erlcloud-3.2.10-fix-include.patch * Sat Nov 09 2019 Led <ledest@gmail.com> 3.2.9-1 - 3.2.9 * Sat Nov 09 2019 Led <ledest@gmail.com> 3.2.8-1 - 3.2.8 * Sat Nov 09 2019 Led <ledest@gmail.com> 3.2.7-2 - update Requires, BuildRequires * Sat Nov 09 2019 Led <ledest@gmail.com> 3.2.7-1 - 3.2.7 * Sat Nov 09 2019 Led <ledest@gmail.com> 3.2.5-1 - 3.2.5 * Mon Nov 12 2018 Led <ledest@gmail.com> 3.2.2-1 - 3.2.2 * Tue Oct 30 2018 Led <ledest@gmail.com> 3.2.1-1 - 3.2.1 - update Requires, BuildRequires * Tue Oct 30 2018 Led <ledest@gmail.com> 3.1.17-1 - 3.1.17 * Wed Sep 26 2018 Led <ledest@gmail.com> 3.1.13-2 - add workaround to erlcloud.app for buggy EL7's file(1) * Wed Sep 26 2018 Led <ledest@gmail.com> 3.1.13-1 - 3.1.13 - git 2ede428 - update BuildRequires - add patches: + erlcloud-3.1.13-doc.patch - move docs and headers to separate subpackages * Sat Nov 04 2017 Led <ledest@gmail.com> 2.2.16-1 - 2.2.16 * Thu Sep 07 2017 Led <ledest@gmail.com> 2.2.15-2 - git e478658 - fix License * Fri Sep 01 2017 Led <ledest@gmail.com> 2.2.15-1 - 2.2.15 * Tue Aug 29 2017 Led <ledest@gmail.com> 2.2.14-2 - git 734bc5d * Sat Aug 26 2017 Led <ledest@gmail.com> 2.2.14-1 - 2.2.14 * Fri Aug 18 2017 Led <ledest@gmail.com> 2.2.12-2 - git 90e4944 * Sun Jul 30 2017 Led <ledest@gmail.com> 2.2.12-1 - 2.2.12 * Mon Jul 17 2017 Led <ledest@gmail.com> 2.2.11-1 - 2.2.11 * Wed Jun 21 2017 Led <ledest@gmail.com> 2.2.10-1 - 2.2.10 - git 4bb0d7e * Sun May 21 2017 Led <ledest@gmail.com> 2.2.9-2 - fix build with Erlang/OTP 20 * Thu Apr 27 2017 Led <ledest@gmail.com> 2.2.9-1 - 2.2.9 * Wed Mar 29 2017 Led <ledest@gmail.com> 2.2.8-2 - fix build docs * Wed Mar 29 2017 Led <ledest@gmail.com> 2.2.8-1 - 2.2.8 * Mon Mar 13 2017 Led <ledest@gmail.com> 2.2.5-1 - 2.2.5 * Thu Mar 09 2017 Led <ledest@gmail.com> 2.2.4-4 - Recommends only for %%suse_version >= 1315 * Wed Mar 08 2017 Led <ledest@gmail.com> 2.2.4-3 - remove lhttpc from applications * Tue Mar 07 2017 Led <ledest@gmail.com> 2.2.4-2 - add lhttpc and hackney to req_beam_skiplist * Tue Mar 07 2017 Led <ledest@gmail.com> 2.2.4-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