Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
cowlib
cowlib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cowlib.spec of Package cowlib
%define bname cowlib Name: %bname Version: 2.13.0 Release: 3 %define pre %nil Summary: Erlang library for manipulating Web protocols License: ISC Group: Development/Tools/Other URL: https://github.com/extend/%bname Source: %bname-%version%pre.tar.xz #Patch0: %bname-%version%pre-git.patch Patch11: %bname-2.7.3-cow_ws-zlib.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang BuildRequires: rpm-build-erlang >= 0.9.9 BuildRequires: erlang >= 1:18 BuildRequires: erlang-otpbp-devel >= 3.8.0 #BuildRequires: erlang.mk # doc BuildRequires: erlang-edoc # check BuildRequires: epmd ct_run erlang-eunit erlang-proper erlang-horse BuildRequires: erlang-otpbp >= 3.8.0 %description Cowlib provides libraries for parsing and building messages for various Web protocols, including SPDY, HTTP and Websocket. %package devel Summary: Headers and parse transformer of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Conflicts: %name < 1.0.2-10 %description devel Cowlib provides libraries for parsing and building messages for various Web protocols, including SPDY, HTTP and Websocket. This package contains headers of %bname. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 1.3.0-2 %description doc Cowlib provides libraries for parsing and building messages for various Web protocols, including SPDY, HTTP and Websocket. This package contains documentation of %bname. %prep %setup -q -n %bname-%version%pre #patch0 -p1 %patch11 -p1 #ln -sf %_datadir/erlang.mk/erlang.mk ./ %if %_otp_release == 18 sed -i '/^-type parsed_event()/,/^[[:blank:]]*}\./s/ := / => /g' src/cow_sse.erl sed -i '/^-type pseudo_headers()/,/^[[:blank:]]*}\./s/ := / => /g' src/cow_http2_machine.erl sed -i '/^-\(type\|spec\) link/,/^}/s/ := / => /g' src/cow_link.erl %endif %build make %{?_smp_mflags} SKIP_DEPS=1 \ %if %_otp_release < 21 ERL_COMPILER_OPTIONS="[inline,{parse_transform,otpbp_pt}]" \ %else ERL_COMPILER_OPTIONS="[inline]" \ %endif EDOC_OPTS='{preprocess, true}' V=1 clean all edoc %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 install -p -m 0644 README* %buildroot%_docdir/%name/ %check make SKIP_DEPS=1 \ %if %_otp_release < 21 ERL_COMPILER_OPTIONS="[inline,{parse_transform,otpbp_pt}]" V= \ %else ERL_COMPILER_OPTIONS="[inline]" \ %endif tests %files %defattr(-,root,root) %_otplibdir/* %exclude %_otplibdir/%bname-*/include %exclude %_otplibdir/%bname-*/doc %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 * Sat Apr 06 2024 Led <ledest@gmail.com> 2.13.0-3 - fix tests on Erlang/OTP < 21 * Sat Apr 06 2024 Led <ledest@gmail.com> 2.13.0-2 - fix build on Erlang/OTP < 21 * Sat Apr 06 2024 Led <ledest@gmail.com> 2.13.0-1 - 2.13.0 * Sun Apr 02 2023 Led <ledest@gmail.com> 2.12.1-1 - 2.12.1 * Wed Mar 01 2023 Led <ledest@gmail.com> 2.12.0-1 - 2.12.0 - git 6029041 - remove patches: + 0003-Fix-URI-template-reserved-expansion-of-encoded.patch * Sun Aug 07 2022 Led <ledest@gmail.com> 2.11.0-1 - 2.11.0 - git 0f5c2f8 - add patches: + 0003-Fix-URI-template-reserved-expansion-of-encoded.patch * Sun Aug 07 2022 Led <ledest@gmail.com> 2.10.1-1 - 2.10.1 * Sun Aug 07 2022 Led <ledest@gmail.com> 2.9.1-3 - update BuildRequires * Sun Aug 07 2022 Led <ledest@gmail.com> 2.9.1-2 - fix build on Erlang/OTP 18 - update BuildRequires * Sun Aug 07 2022 Led <ledest@gmail.com> 2.9.1-1 - 2.9.1 * Wed Mar 17 2021 Led <ledest@gmail.com> 2.8.0-1 - 2.8.0 * Mon Jan 20 2020 Led <ledest@gmail.com> 2.7.3-4 - fix build docs * Thu Jan 16 2020 Led <ledest@gmail.com> 2.7.3-3 - add patches: + cowlib-2.7.3-cow_ws-zlib.patch * Sat Nov 02 2019 Led <ledest@gmail.com> 2.7.3-2 - fix build on Erlang/OTP 18 * Thu Oct 31 2019 Led <ledest@gmail.com> 2.7.3-1 - 2.7.3 * Fri Sep 27 2019 Led <ledest@gmail.com> 2.6.0-1 - 2.6.0 * Wed Sep 18 2019 Led <ledest@gmail.com> 2.5.1-1 - 2.5.1 * Mon Sep 09 2019 Led <ledest@gmail.com> 2.4.0-1 - 2.4.0 * Wed Aug 21 2019 Led <ledest@gmail.com> 2.3.0-1 - 2.3.0 * Sat Aug 10 2019 Led <ledest@gmail.com> 2.2.1-1 - 2.2.1 * Sat Aug 10 2019 Led <ledest@gmail.com> 2.2.0-1 - 2.2.0 * Sat Aug 10 2019 Led <ledest@gmail.com> 2.1.0-1 - 2.1.0 * Sat Jul 06 2019 Led <ledest@gmail.com> 2.0.1-2 - update %%build * Fri Jul 05 2019 Led <ledest@gmail.com> 2.0.1-1 - 2.0.1 * Fri Jul 05 2019 Led <ledest@gmail.com> 2.0.0-1 - 2.0.0 * Fri Jul 05 2019 Led <ledest@gmail.com> 2.0.0-0.2 - 2.0.0-rc.1 - update BuildRequires * Thu Jul 04 2019 Led <ledest@gmail.com> 2.0.0-0.1 - 2.0.0-pre.1 - remove patches: + 0001-Update-test-dependencies.patch + 0002-Fix-handling-of-default-values-in-cookie-options.patch + 0011-Add-HPACK-decoding-and-encoding-functions.patch + 0012-HPACK-Fix-an-issue-with-header-values-as-iolists.patch + 0013-Fix-39-Prefer-crypto-strong_rand_bytes-1.patch + 0014-Fix-Dialyzer-warnings.patch + 0015-Fix-HPACK-table-size-tracking-when-table-is-pruned.patch * Thu Jul 04 2019 Led <ledest@gmail.com> 1.3.0-3 - add patches: + 0002-Fix-handling-of-default-values-in-cookie-options.patch * Sun Jun 30 2019 Led <ledest@gmail.com> 1.3.0-2 - remove patches: + 0016-Switch-from-Triq-to-Proper.patch - update BuildRequires - add doc subpackage * Sat Jun 29 2019 Led <ledest@gmail.com> 1.3.0-1 - 1.3.0 - update patches: + 0013-Fix-39-Prefer-crypto-strong_rand_bytes-1.patch + 0016-Switch-from-Triq-to-Proper.patch - add patches: + 0001-Update-test-dependencies.patch - update BuildRequires * Sun Dec 16 2018 Led <ledest@gmail.com> 1.0.2-10 - revert to 1.0.2 - move headers to separate subpackage * Sat Dec 15 2018 Led <ledest@gmail.com> 1.3.0-2 - update Provides * Sat Dec 15 2018 Led <ledest@gmail.com> 1.3.0-1 - 1.3.0 - update patches: + 0013-Fix-39-Prefer-crypto-strong_rand_bytes-1.patch + 0016-Switch-from-Triq-to-Proper.patch - add patches: + 0001-Update-test-dependencies.patch * Tue Nov 07 2017 Led <ledest@gmail.com> 1.0.2-9 - fix License * Fri Aug 25 2017 Led <ledest@gmail.com> 1.0.2-8 - remove slim opt * Tue Jul 25 2017 Led <ledest@gmail.com> 1.0.2-7 - remove patches: + 0001-Add-cow_qs-for-Websocket-protocol-parsing-building.patch + cowlib-1.0.2-crypto-rand_bytes.patch + cowlib-1.0.1-cow_ws-fix-build-no-map.patch - add patches: + 0011-Add-HPACK-decoding-and-encoding-functions.patch + 0012-HPACK-Fix-an-issue-with-header-values-as-iolists.patch + 0013-Fix-39-Prefer-crypto-strong_rand_bytes-1.patch + 0014-Fix-Dialyzer-warnings.patch + 0015-Fix-HPACK-table-size-tracking-when-table-is-pruned.patch + 0016-Switch-from-Triq-to-Proper.patch * Sun May 21 2017 Led <ledest@gmail.com> 1.0.2-6 - revert BuildRequires * Sat May 20 2017 Led <ledest@gmail.com> 1.0.2-5 - update BuildRequires * Fri Jul 15 2016 Led <ledest@gmail.com> 1.0.2-4 - fix BuildRequires * Fri Jul 15 2016 Led <ledest@gmail.com> 1.0.2-3 - use system erlang.mk - add patches: + cowlib-1.0.2-crypto-rand_bytes.patch * Sun Jan 31 2016 Led <ledest@gmail.com> 1.0.2-2 - add epmd to BuildRequires * Sun Nov 29 2015 Led <ledest@gmail.com> 1.0.2-1 - 1.0.2 * Sun Jul 26 2015 Led <ledest@gmail.com> 1.0.1-5 - fix build cow_ws without maps - add patches: + cowlib-1.0.1-cow_ws-fix-build-no-map.patch * Sun Jul 26 2015 Led <ledest@gmail.com> 1.0.1-4 - add patches: + 0001-Add-cow_qs-for-Websocket-protocol-parsing-building.patch * Mon Apr 13 2015 Led <ledest@gmail.com> 1.0.1-3 - update BuildRequires * Sun Apr 12 2015 Led <ledest@gmail.com> 1.0.1-2 - clean up BuildRequires * Wed Apr 01 2015 Led <ledest@gmail.com> 1.0.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