Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
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: 9 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 Patch2: %bname-stacktrace.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang-otpbp-devel >= 0.37.0 %description Triq (pronounced "Trick Check") is a free alternative to QuviQeqc (http://www.quviq.com/). %package doc Summary: %bname documentation Group: Documentation/HTML Conflicts: %name < 0.1.0-9 %description doc Triq (pronounced "Trick Check") is a free alternative to QuviQeqc (http://www.quviq.com/). This package contains documentation in HTML format. %prep %setup -q -n %bname %patch1 -p1 %patch2 -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", [[io_lib:print(E), ".\n"] || E <- lists:keydelete(deps, 1, L)], [raw]), init:stop().' %if %_otp_release >= 21 ERL_COMPILER_OPTIONS="[inline,verbose,nowarn_deprecated_function,nowarn_export_all]" \ %else ERL_COMPILER_OPTIONS="[inline,verbose,nowarn_deprecated_function,nowarn_export_all,{parse_transform,otpbp_pt}]" \ %endif 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/*.beam %buildroot%_otplibdir/%bname-%version/ebin/ install -d -m 0755 %buildroot%_otplibdir/%bname-%version/include install -p -m 0644 ebin/*.beam %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 NOTICE README* %buildroot%_docdir/%name/ %check %if %_otp_release >= 21 ERL_COMPILER_OPTIONS="[inline,verbose,nowarn_deprecated_function,nowarn_export_all]" \ %else ERL_COMPILER_OPTIONS="[inline,verbose,nowarn_deprecated_function,nowarn_export_all,{parse_transform,otpbp_pt}]" \ %endif rebar %{?_smp_mflags} -C %bname.rebar.config eunit -v %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 22 2021 Led <ledest@gmail.com> 0.1.0-9 - add patches: + triq-stacktrace.patch - fix build on Erlang/OTP >= 21 - add doc subpackage * Sun May 21 2017 Led <ledest@gmail.com> 0.1.0-8 - add nowarn_export_all option - update BuildRequires * 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