Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
efene
efene.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File efene.spec of Package efene
%define bname efene Name: %bname Version: 0.99.2 Release: 2 Summary: An alternative syntax for the Erlang focusing on simplicity License: Apache-2.0 Group: Development/Tools/Other URL: http://%bname.org # git https://github.com/%bname/%bname Source: %bname-%version.tar.xz Patch1: %bname-0.99.2-test.patch Provides: erlang-%bname = %version-%release BuildArch: noarch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang-parsetools-devel BuildRequires: erlang-aleppo erlang-ast_walk # check BuildRequires: epmd erlang-common_test %description Efene is an alternative syntax for the Erlang Programming Language focusing on simplicity, ease of use and programmer UX. %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Conflicts: %name < 0.9.17-2 %description devel Headers of %bname. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 0.9.13 %description doc Documentation of %bname. %prep %setup -q -n %bname-%version %patch1 -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 %if 1 cat > %bname.sh <<"__EOF__" #!/bin/sh exec erl -noinput +sbtu +A0 -run %bname main ${@:-shell} __EOF__ %else cat > %bname.escript <<__EOF__ #!/usr/bin/escript %%%% %%%%!-noinput +sbtu +A0 main(X) -> %bname:main(X). __EOF__ %endif %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%_otplibdir/%bname-%version/examples install -p -m 0644 examples/* %buildroot%_otplibdir/%bname-%version/examples/ %if 1 install -pD -m 0755 %bname.sh %buildroot%_otpdir/bin/%bname %else install -pD -m 0755 %bname.escript %buildroot%_otpdir/bin/%bname %endif ln -sf %bname %buildroot%_otpdir/bin/fn install -d -m 0755 %buildroot%_bindir/bin ln -sf %_otpdir/bin/%bname %buildroot%_bindir/%bname ln -sf %_otpdir/bin/%bname %buildroot%_bindir/fn 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 ERL_COMPILER_OPTIONS="[inline,verbose]" rebar -C %bname.rebar.config ct -v %files %defattr(-,root,root) %doc %_docdir/%name %_bindir/* %_otpdir/bin/* %_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 Sep 14 2019 Led <ledest@gmail.com> 0.99.2-2 - add patches: + efene-0.99.2-test.patch * Sat Sep 14 2019 Led <ledest@gmail.com> 0.99.2-1 - 0.99.2 * Sun Dec 10 2017 Led <ledest@gmail.com> 0.9.17-2 - move headers to separate subpackage - update BuildRequires (for %%check) * Thu Jun 22 2017 Led <ledest@gmail.com> 0.9.17-1 - 0.9.17 * Sun May 21 2017 Led <ledest@gmail.com> 0.9.16-4 - revert BuildRequires * Sat May 20 2017 Led <ledest@gmail.com> 0.9.16-3 - update BuildRequires * Mon Apr 17 2017 Led <ledest@gmail.com> 0.9.16-2 - git 2420fc9 * Tue Mar 28 2017 Led <ledest@gmail.com> 0.9.16-1 - 0.9.16 * Mon Mar 27 2017 Led <ledest@gmail.com> 0.9.14-3 - fix test * Mon Mar 27 2017 Led <ledest@gmail.com> 0.9.14-2 - add %%check * Mon Mar 27 2017 Led <ledest@gmail.com> 0.9.14-1 - 0.9.14 * Sun Mar 26 2017 Led <ledest@gmail.com> 0.9.13-2 - replace escript to erl * Sun Mar 26 2017 Led <ledest@gmail.com> 0.9.13-1 - 0.9.13 - git 75e1bdc - remove patches: + efene-usage.patch * Mon Oct 10 2016 Led <ledest@gmail.com> 0.1.0-10 - git f68f624 * Sat Jan 16 2016 Led <ledest@gmail.com> 0.1.0-9 - rename binary 'fn' to 'efene' - symlink 'fn' to 'efene' binary - fix 'efene' binary - add patches: + efene-usage.patch * Sat Jan 16 2016 Led <ledest@gmail.com> 0.1.0-8 - fix URL * Sat Jan 16 2016 Led <ledest@gmail.com> 0.1.0-7 - fix fn binary * Fri Jan 15 2016 Led <ledest@gmail.com> 0.1.0-6 - git bf86c48 * Tue Dec 01 2015 Led <ledest@gmail.com> 0.1.0-5 - git a532020 * Sun Oct 11 2015 Led <ledest@gmail.com> 0.1.0-4 - git 59ac1a5 * Fri Sep 04 2015 Led <ledest@gmail.com> 0.1.0-3 - git 4c4a648 - update BuildRequires * Fri Jun 19 2015 Led <ledest@gmail.com> 0.1.0-2 - git 27aac81 * Sat May 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