Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
meck
meck.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File meck.spec of Package meck
%define bname meck Name: %bname Version: 0.9.2 Release: 1 Summary: A mocking library for Erlang License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/eproxus/%bname.git Source: %bname-%version.tar.xz Patch0: %bname-%version-git.patch Patch1: %bname-0.9.2-stacktrace.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang-hamcrest %description A mocking library for Erlang. %package doc Summary: %bname documentation Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 0.8.13-1 %description doc A mocking library for Erlang. This package contains documentation in HTML format. %prep %setup -q -n %bname-%version %patch0 -p1 %patch1 -p1 %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", lists:map(fun(E) -> [io_lib:print(E), ".\n"] end, lists:keystore(edoc_opts, 1, lists:keydelete(deps, 1, L), {edoc_opts, [{preprocess, true}]})), [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/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 *.md NOTICE %buildroot%_docdir/%name/ %if 0 %check ERL_COMPILER_OPTIONS='[inline,verbose]' rebar -C %bname.rebar.config eunit -v %endif %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %exclude %_otplibdir/%bname-*/doc %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Sat Jun 11 2022 Led <ledest@gmail.com> 0.9.2-1 - 0.9.2 - git 6bac629 - update patches + meck-0.9.2-stacktrace.patch * Mon Jul 29 2019 Led <ledest@gmail.com> 0.8.13-2 - add {preprocess, true} to edoc_opts * Mon Jul 29 2019 Led <ledest@gmail.com> 0.8.13-1 - 0.8.13 - git aefdac8 - add patches: + meck-0.8.13-stacktrace.patch - move docs to separate subpackage * Wed Sep 13 2017 Led <ledest@gmail.com> 0.8.8-1 - 0.8.8 - git 3544aca * Sat Aug 26 2017 Led <ledest@gmail.com> 0.8.7-1 - 0.8.7 - git 6554de5 * Mon Feb 15 2016 Led <ledest@gmail.com> 0.8.4-1 - 0.8.4 * Sun Nov 29 2015 Led <ledest@gmail.com> 0.8.3-6 - git be12fdf * Sun Oct 11 2015 Led <ledest@gmail.com> 0.8.3-5 - git 0845277 * Fri Sep 04 2015 Led <ledest@gmail.com> 0.8.3-4 - git 710ad9a * Sat Jul 04 2015 Led <ledest@gmail.com> 0.8.3-3 - add patches: + meck-0.8.3-git.patch * Tue Jun 16 2015 Led <ledest@gmail.com> 0.8.3-2 - fix config * Tue Jun 16 2015 Led <ledest@gmail.com> 0.8.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