Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:26
ecbor
ecbor.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ecbor.spec of Package ecbor
%define bname ecbor Name: %bname Version: 0.7.1 Release: 1 Summary: Erlang CBOR library License: GPL-3.0+ Group: Development/Tools/Other URL: https://github.com/Ledest/%bname Source: %bname-%version.tar.xz #Patch0: %bname-0.7.0-git.patch BuildArch: noarch Provides: erlang-%bname = %version-%release Requires: erlang >= 1:18 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: erlang >= 1:18 # doc BuildRequires: erlang-edoc >= 1:18 # check BuildRequires: erlang-eunit >= 1:18 BuildRequires: erlang-otpbp-devel BuildRequires: erlang-otpbp >= 4.5 %description Erlang CBOR library. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release %description doc Erlang CBOR library. This package contains documentation of %bname. %prep %setup -q -n %bname-%version #patch0 -p1 erl -noshell -eval ' {ok, [{application, %bname, L}]} = file:consult("src/%bname.app.src"), S = [description, vsn, registered, applications, modules, env, links, licenses], file:write_file("src/%bname.app.src", io_lib:format("{application, %bname, ~91p}.~n", [[E || {K, _} = E <- L, lists:member(K, [description, vsn, registered, applications, modules, env, links, licenses])]]), [raw]), init:stop().' %build make %{?_smp_mflags} app doc %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 README.* %buildroot%_docdir/%name/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %check make EUNIT_OPTS=verbose eunit %files %defattr(-,root,root) %_otplibdir/* %exclude %_otplibdir/%bname-*/doc %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Sun Mar 24 2024 Led <ledest@gmail.com> 0.7.1-1 - 0.7.1 * Tue Feb 13 2024 Led <ledest@gmail.com> 0.7.0-2 - git 3ff10a8 * Mon Dec 04 2023 Led <ledest@gmail.com> 0.7.0-1 - 0.7.0 * Sat Dec 02 2023 Led <ledest@gmail.com> 0.6.1-1 - 0.6.1 * Fri Dec 01 2023 Led <ledest@gmail.com> 0.6.0-1 - 0.6.0 * Fri Dec 01 2023 Led <ledest@gmail.com> 0.4.2-1 - 0.4.2 * Fri Dec 01 2023 Led <ledest@gmail.com> 0.4.1-1 - 0.4.1 * Thu Nov 30 2023 Led <ledest@gmail.com> 0.4.0-1 - 0.4.0 * Tue Aug 01 2023 Led <ledest@gmail.com> 0.3.7-4 - enable full test for 32-bit arches * Tue Aug 01 2023 Led <ledest@gmail.com> 0.3.7-3 - fix permissions * Tue Aug 01 2023 Led <ledest@gmail.com> 0.3.7-2 - replace rebar to make - fix BuildRequires * Tue Aug 01 2023 Led <ledest@gmail.com> 0.3.7-1 - 0.3.7 * Sat Jul 22 2023 Led <ledest@gmail.com> 0.3.5-2 - fix test on 32-bit arches * Sat Jul 22 2023 Led <ledest@gmail.com> 0.3.5-1 - 0.3.5 * Mon May 31 2021 Led <ledest@gmail.com> 0.3.2-1 - 0.3.2 - add %%check * Tue Apr 06 2021 Led <ledest@gmail.com> 0.3.1-1 - 0.3.1 * Mon Apr 05 2021 Led <ledest@gmail.com> 0.2.1-1 - 0.2.1 * Fri Apr 02 2021 Led <ledest@gmail.com> 0.2.0-1 - 0.2.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