Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
triq
triq.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File triq.spec of Package triq
%define bname triq Name: %bname Version: 0.1.0 Release: 7 Summary: Trifork QuickCheck for Erlang License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/krestenkrab/%bname Source: %bname.tar.xz Patch1: %bname-crypto-rand_bytes.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar erl_interface BuildRequires: erlang-eunit %description Triq (pronounced "Trick Check") is a free alternative to QuviQeqc (http://www.quviq.com/). %prep %setup -q -n %bname %patch1 -p1 sed -i 's/@vsn/%version/g' doc/overview.edoc %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", lists:map(fun(E) -> io_lib:format("~p.~n", [E]) end, [{erl_opts, [slim, inline, no_debug_info, nowarn_deprecated_function|proplists:get_value(erl_opts, L, [])]}|lists:foldl(fun proplists:delete/2, L, [erl_opts, cover_enabled])])), halt().' for c in compile doc; do rebar -C %bname.rebar.config $c -v done %install for i in ebin include; do install -d -m 0755 %buildroot%_otplibdir/%bname-%version/$i install -p -m 0644 $i/* %buildroot%_otplibdir/%bname-%version/$i/ done 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 install -p -m 0644 NOTICE README* %buildroot%_docdir/%name/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %check rebar -C %bname.rebar.config eunit %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Fri Jul 15 2016 Led <ledest@gmail.com> 0.1.0-7 - add nowarn_deprecated_function compile option * Sat Jun 18 2016 Led <ledest@gmail.com> 0.1.0-6 - replace crypto:rand_bytes/1 to crypto:strong_rand_bytes/1 - add patches: + triq-crypto-rand_bytes.patch * Sat Jun 18 2016 Led <ledest@gmail.com> 0.1.0-5 - git c7306b8 * Sun Apr 12 2015 Led <ledest@gmail.com> 0.1.0-4 - clean ups - add check * Sun Apr 05 2015 Led <ledest@gmail.com> 0.1.0-3 - add 'inline' to erl_opts - clean up BuildRequires * Mon Mar 30 2015 Led <ledest@gmail.com> 0.1.0-2 - spec: cosmetic fixes * Mon Mar 30 2015 Led <ledest@gmail.com> 0.1.0-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