Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
z_stdlib
z_stdlib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File z_stdlib.spec of Package z_stdlib
%define bname z_stdlib %define aname zotonic_stdlib Name: %bname Version: 1.18.0 %define prerel %nil Release: 1 Summary: Zotonic standard function library License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/zotonic/%bname Source: %bname-%version%prerel.tar.xz Patch0: %bname-%version%prerel-git.patch BuildArch: noarch Provides: erlang-%bname = %version-%release Provides: %aname = %version-%release Provides: erlang-%aname = %version-%release Requires: erlang-tls_certificate_check >= 1.18.0 Requires: erlang-cowlib >= 2.11.0 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang-parsetools erlang-parsetools-devel BuildRequires: erlang-proper erlang-mochiweb BuildRequires: erlang-otpbp-devel >= 0.30.0 # check BuildRequires: erlang-cowlib >= 2.11.0 BuildRequires: erlang-otpbp >= 0.30.0 %description Zotonic standard library - a library with hopefully useful functions. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 1.0.0-2 %description doc Zotonic standard library - a library with hopefully useful functions. This package contains documentation of %bname. %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Provides: %aname-devel = %version-%release Provides: erlang-%aname-devel = %version-%release %description devel Zotonic standard library - a library with hopefully useful functions. This package contains headers of %bname. %prep %setup -q -n %bname-%version%prerel %patch -p1 -P0 cat > src/%aname.app.src.script << __EOF__ {ok, [{application, A, L}]} = file:consult(filename:rootname(SCRIPT, ".script")), {application, A, lists:keystore(vsn, 1, lists:foldl(fun(K, A) -> lists:keydelete(K, 1, A) end, L, [exclude_files, doc, links]), {vsn, "%version"})}. __EOF__ %build cat > %bname.rebar.config.script << __EOF__ {ok, L} = rebar_config:consult_file("rebar.config"), lists:keyreplace(require_min_otp_vsn, 1, lists:keydelete(deps, 1, L), {require_min_otp_vsn, "18"}). __EOF__ %if %_otp_release < 21 ERL_COMPILER_OPTIONS="[inline,verbose,{parse_transform,otpbp_pt}]" \ %else ERL_COMPILER_OPTIONS="[inline,verbose]" \ %endif 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/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 ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %add_erlang_req_beam_skiplist z_trans %check %if %_otp_release < 21 ERL_COMPILER_OPTIONS="[inline,verbose,{parse_transform,otpbp_pt}]" \ %else ERL_COMPILER_OPTIONS="[inline,verbose]" \ %endif rebar -C %bname.rebar.config eunit -v %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %exclude %_otplibdir/%bname-*/doc %exclude %_otplibdir/*/include %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %files devel %defattr(-,root,root) %dir %_otplibdir %_otplibdir/*/include %changelog * Mon Apr 15 2024 Led <ledest@gmail.com> 1.18.0-1 - 1.18.0 - git c42d132 * Mon Apr 15 2024 Led <ledest@gmail.com> 1.17.0-1 - 1.17.0 * Mon Apr 15 2024 Led <ledest@gmail.com> 1.16.0-1 - 1.16.0 * Thu Oct 12 2023 Led <ledest@gmail.com> 1.15.1-1 - 1.15.1 * Thu Oct 12 2023 Led <ledest@gmail.com> 1.14.0-1 - 1.14.0 - git 9d3779b * Thu Oct 12 2023 Led <ledest@gmail.com> 1.13.0-2 - clean zotonic_stdlib.app up * Thu Oct 12 2023 Led <ledest@gmail.com> 1.13.0-1 - 1.13.0 * Thu Oct 12 2023 Led <ledest@gmail.com> 1.12.0-1 - 1.12.0 - git fb17dc1 * Thu Oct 12 2023 Led <ledest@gmail.com> 1.11.2-1 - 1.11.2 * Thu Oct 12 2023 Led <ledest@gmail.com> 1.10.0-1 - 1.10.0 * Thu Oct 12 2023 Led <ledest@gmail.com> 1.9.0-1 - 1.9.0 * Thu Oct 12 2023 Led <ledest@gmail.com> 1.8.0-1 - 1.8.0 * Thu Oct 12 2023 Led <ledest@gmail.com> 1.7.0-1 - 1.7.0 - git 91a4c3a * Thu Oct 12 2023 Led <ledest@gmail.com> 1.6.0-1 - 1.6.0 * Thu Oct 12 2023 Led <ledest@gmail.com> 1.5.11-1 - 1.5.11 * Mon Jul 10 2023 Led <ledest@gmail.com> 1.4.5-5 - fix build on Erlang/OTP 18 * Mon Jul 10 2023 Led <ledest@gmail.com> 1.4.5-4 - fix build on Erlang/OTP 19 * Mon Jul 10 2023 Led <ledest@gmail.com> 1.4.5-3 - fix build on Erlang/OTP 20 * Sun Jul 09 2023 Led <ledest@gmail.com> 1.4.5-2 - fix build on Erlang/OTP 21 * Sun Mar 26 2023 Led <ledest@gmail.com> 1.4.5-1 - 1.4.5 - git 568da20 * Sun Mar 26 2023 Led <ledest@gmail.com> 1.3.2-1 - 1.3.2 * Sun Mar 26 2023 Led <ledest@gmail.com> 1.2.11-1 - 1.2.11 * Sun Mar 26 2023 Led <ledest@gmail.com> 1.1.0-2 - git 3fc38d5 - remove proper subpackage - remove patches: + z_stdlib-1.1.0-doc.patch * Sun Mar 26 2023 Led <ledest@gmail.com> 1.1.0-1 - 1.1.0 - update patches: + z_stdlib-1.1.0-doc.patch * Sun Mar 26 2023 Led <ledest@gmail.com> 1.0.3-1 - 1.0.3 - git 037ab4d - remove patches: + 0001-Fix-sanitization-of-css-functions-like-rgba-39.patch - move docs to separate subpackage * Fri Jul 19 2019 Led <ledest@gmail.com> 1.0.0-1 - 1.0.0 - git 1adad76 - add patches: + 0001-Fix-sanitization-of-css-functions-like-rgba-39.patch * Sun Aug 20 2017 Led <ledest@gmail.com> 1.0.0-0.1 - 1.0.0-alpha3 - move headers to devel subpackage - update Provides * Sat Jul 23 2016 Led <ledest@gmail.com> 1-12 - revert to git b9f19b9 * Sat Jul 23 2016 Led <ledest@gmail.com> 1-11 - git ace6cf5 * Sun Feb 14 2016 Led <ledest@gmail.com> 1-10 - git b9f19b9 * Sun Nov 29 2015 Led <ledest@gmail.com> 1-9 - git 7559c35 * Sat Oct 31 2015 Led <ledest@gmail.com> 1-8 - git 245a46e * Mon Oct 12 2015 Led <ledest@gmail.com> 1-7 - git cbc2090 * Sat Sep 05 2015 Led <ledest@gmail.com> 1-6 - git 6f3376c * Sat Sep 05 2015 Led <ledest@gmail.com> 1-5 - git 756f380 - add %%check section * Sun Jun 07 2015 Led <ledest@gmail.com> 1-4 - git 19f8223 * Sun Jun 07 2015 Led <ledest@gmail.com> 1-3 - ignore requires of z_trans * Sun Jun 07 2015 Led <ledest@gmail.com> 1-2 - move proper modules to separate subpackage * Sun Jun 07 2015 Led <ledest@gmail.com> 1-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