Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
p1_utils
p1_utils.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File p1_utils.spec of Package p1_utils
%define bname p1_utils Name: %bname Version: 1.0.25 Release: 2 Summary: Erlang utility modules from ProcessOne License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/processone/%bname Source: %bname-%version.tar.xz #Patch0: %bname-%version-git.patch Patch11: %bname-1.0.25-p1_http.patch Patch12: %bname-1.0.25-p1_file_queue-format_error.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang-xmerl-devel %description %bname is an application containing ProcessOne modules and tools that are leveraged in other development projects. %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Conflicts: %name < 1.0.12-1 %description devel Headers of %bname. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 1.0.12-1 %description doc Documentation of %bname. %prep %setup -q -n %bname-%version #patch0 -p1 %patch11 -p1 %patch12 -p1 %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 %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/%name-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 *.md %buildroot%_docdir/%name/ %check ERL_COMPILER_OPTIONS="[inline,verbose]" rebar -C %bname.rebar.config eunit -v %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 Feb 04 2023 Led <ledest@gmail.com> 1.0.25-2 - add patches: + p1_utils-1.0.25-p1_file_queue-format_error.patch * Sun Jun 12 2022 Led <ledest@gmail.com> 1.0.25-1 - 1.0.25 - update patches: + p1_utils-1.0.25-p1_http.patch - remove patches: + p1_utils-1.0.18-p1_edoc_layout.patch + p1_utils-1.0.23-doc.patch * Fri Aug 27 2021 Led <ledest@gmail.com> 1.0.23-2 - fix build doc in Erlang/OTP 24 * Tue Aug 24 2021 Led <ledest@gmail.com> 1.0.23-1 - remove patches: + 0001-erl_tidy-was-removed-from-Erlang-OTP-24.patch - update patches: + p1_utils-1.0.23-p1_http.patch + p1_utils-1.0.23-doc.patch * Mon Aug 23 2021 Led <ledest@gmail.com> 1.0.22-1 - 1.0.22 * Mon Aug 23 2021 Led <ledest@gmail.com> 1.0.21-2 - hack for build doc in Erlang/OTP 24 * Mon Aug 23 2021 Led <ledest@gmail.com> 1.0.21-1 - 1.0.21 - add patches: + 0001-erl_tidy-was-removed-from-Erlang-OTP-24.patch + p1_utils-1.0.21-doc.patch * Sun Aug 22 2021 Led <ledest@gmail.com> 1.0.20-2 - fix build doc * Sun Nov 01 2020 Led <ledest@gmail.com> 1.0.20-1 - 1.0.20 * Mon Jul 13 2020 Led <ledest@gmail.com> 1.0.18-2 - update patches: + p1_utils-1.0.18-p1_http.patch - add patches: + p1_utils-1.0.18-p1_edoc_layout.patch * Sat Feb 29 2020 Led <ledest@gmail.com> 1.0.18-1 - 1.0.18 * Fri Nov 01 2019 Led <ledest@gmail.com> 1.0.16-1 - 1.0.16 * Sat Mar 16 2019 Led <ledest@gmail.com> 1.0.13-1 - 1.0.13 * Sat Mar 16 2019 Led <ledest@gmail.com> 1.0.12-2 - clean up Provides * Sat Mar 16 2019 Led <ledest@gmail.com> 1.0.12-1 - 1.0.12 - move docs and headers to separate subpackages * Sat Sep 30 2017 Led <ledest@gmail.com> 1.0.10-1 - 1.0.10 - remove patches: + p1_utils-1.0.9-doc.patch * Sun Jul 16 2017 Led <ledest@gmail.com> 1.0.9-2 - package includes - provide devel subpackage * Sun Jul 16 2017 Led <ledest@gmail.com> 1.0.9-1 - 1.0.9 - add patches: + p1_utils-1.0.9-doc.patch - add %%check section * Sun May 21 2017 Led <ledest@gmail.com> 1.0.8-4 - revert BuildRequires * Sat May 20 2017 Led <ledest@gmail.com> 1.0.8-3 - update BuildRequires * Tue May 09 2017 Led <ledest@gmail.com> 1.0.8-2 - git 470539a * Mon Apr 17 2017 Led <ledest@gmail.com> 1.0.8-1 - 1.0.8 * Mon Feb 27 2017 Led <ledest@gmail.com> 1.0.7-1 - 1.0.7 * Sun Jan 01 2017 Led <ledest@gmail.com> 1.0.6-2 - add patches: + p1_utils-1.0.6-fix-p1_http.patch * Mon Dec 12 2016 Led <ledest@gmail.com> 1.0.6-1 - 1.0.6 * Mon Oct 10 2016 Led <ledest@gmail.com> 1.0.5-1 - 1.0.5 * Sun Feb 21 2016 Led <ledest@gmail.com> 1.0.3-2 - update BuildRequires * Sun Feb 21 2016 Led <ledest@gmail.com> 1.0.3-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