Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
plists
plists.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File plists.spec of Package plists
%define bname plists Name: %bname Version: 0.2.1 Release: 4 Summary: Erlang lists module replacement for making most list operations parallel License: MIT Group: Development/Tools/Other URL: https://github.com/Ledest/%bname Source: %bname-%version.tar.xz Patch1: %bname-0.2.1-stacktrace.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: erlang erlang-tools # check BuildRequires: epmd %description %bname is a drop-in replacement for the Erlang module lists, making most list operations parallel. It can operate on each element in parallel, for IO-bound operations, on sublists in parallel, for taking advantage of multi-core machines with CPU-bound operations, and across erlang nodes, for parallizing inside a cluster. It handles errors and node failures. It can be configured, tuned, and tweaked to get optimal performance while minimizing overhead. Almost all the functions are identical to equivalent functions in lists, returning exactly the same result, and having both a form with an identical syntax that operates on each element in parallel and a form which takes an optional "malt", a specification for how to parallize the operation. fold is the one exception, parallel fold is different from linear fold. This module also include a simple mapreduce implementation, and the function runmany. All the other functions are implemented with runmany, which is as a generalization of parallel list operations. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release %description doc Documentation of %bname. %prep %setup -q -n %bname-%version %if %_otp_release >= 21 %patch1 -p1 %endif %build ERL_COMPILER_OPTIONS='[debug_info,inline,verbose]' %__erlang -make %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 ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 README* %buildroot%_docdir/%name/ %check cd test sh make.sh %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 Aug 07 2022 Led <ledest@gmail.com> 0.1.2-4 - apply plists-0.2.1-stacktrace.patch for Erlang/OTP >= 21 only - clean up BuildRequires * Sun Aug 07 2022 Led <ledest@gmail.com> 0.1.2-3 - fix build on Erlang/OTP < 21 * Sun Aug 07 2022 Led <ledest@gmail.com> 0.1.2-2 - add patches: + plists-0.2.1-stacktrace.patch - update BuildRequires * Sun Aug 13 2017 Led <ledest@gmail.com> 0.1.2-1 - 0.2.1 * Sat Aug 12 2017 Led <ledest@gmail.com> 0.1.1-2 - update BuildRequires * Sat Apr 22 2017 Led <ledest@gmail.com> 0.1.1-1 - 0.1.1 * Sat Apr 22 2017 Led <ledest@gmail.com> 0.0.2-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