Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
kjell
kjell.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kjell.spec of Package kjell
%def_without group_history %define bname kjell Name: %bname Version: 0.3.0 Release: 3 Summary: A refurbished Erlang shell License: ErlPL-1.1 Group: Development/Tools/Other URL: https://github.com/Ledest/%bname Source0: %bname-%version.tar.xz Source1: %bname.sh Source2: group_history.erl BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 # check BuildRequires: epmd erlang-common_test %{!?_with_group_history:BuildRequires: erlang_beam(group_history)} %description Kjell - a refurbished Erlang shell with support for color profiles and extensions. %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Conflicts: %name < 0.3.0-3 %description devel Headers of %bname. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 0.3.0-3 %description doc Documentation of %bname. %prep %setup -q %{?_with_group_history:%__erl -noshell -eval 'halt(case code:which(group_history) of non_existing -> 1; _ -> 0 end).' || install -p -m 0644 %{S:2} src/group_history.erl} %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 %install for i in ebin doc include; do install -d -m 0755 %buildroot%_otplibdir/%bname-%version/$i install -p -m 0644 $i/* %buildroot%_otplibdir/%bname-%version/$i/ done install -pD -m 0755 %{S:1} %buildroot%_bindir/%bname install -d -m 0755 %buildroot%_docdir/%name ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 CONTRIBUTORS README* %buildroot%_docdir/%name/ %check ERL_COMPILER_OPTIONS="[inline,verbose]" rebar -C %bname.rebar.config ct -v %files %defattr(-,root,root) %doc %dir %_docdir/%name %doc %_docdir/%name/README* %_bindir/* %_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 %exclude %_docdir/%name/README* %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Thu Dec 28 2017 Led <ledest@gmail.com> 0.3.0-3 - without group_history - move headers ands docs to separate subpackages * Mon May 22 2017 Led <ledest@gmail.com> 0.3.0-2 - don't use group_history if it exists * Sun Mar 19 2017 Led <ledest@gmail.com> 0.3.0-1 - 0.3.0 - update URL - remove patches: + kjell-0.2.6-remove-support-for-packages.patch * Thu Sep 01 2016 Led <ledest@gmail.com> 0.2.6-4 - update kjell start script - remove patches: + 0002-k_io_lib_pretty-fix-printable_latin1_list-2-for-prin.patch * Sun Jan 31 2016 Led <ledest@gmail.com> 0.2.6-3 - clean up BuildRequires * Sun Jan 31 2016 Led <ledest@gmail.com> 0.2.6-2 - add epmd to BuildRequires * Wed Jul 21 2015 Led <ledest@gmail.com> 0.2.6-1 - 0.2.6 - update patches: + kjell-0.2.6-remove-support-for-packages.patch * Thu Jul 02 2015 Led <ledest@gmail.com> 0.2.5-2 - fix URL * Thu Apr 16 2015 Led <ledest@gmail.com> 0.2.5-1 - 0.2.5 - remove patches: + 0001-Add-support-for-command-history.patch + kjell-0.2.3-k_io_lib_pretty-print_length.patch * Sun Apr 12 2015 Led <ledest@gmail.com> 0.2.3-8 - clean ups - clean up BuildRequires * Sun Apr 05 2015 Led <ledest@gmail.com> 0.2.3-7 - add erl_opts * Sun Mar 29 2015 Led <ledest@gmail.com> 0.2.3-6 - add patches: + 0002-k_io_lib_pretty-fix-printable_latin1_list-2-for-prin.patch * Fri Mar 20 2015 Led <ledest@gmail.com> 0.2.3-5 - add patches: + kjell-0.2.3-k_io_lib_pretty-print_length.patch * Mon Mar 02 2015 Led <ledest@gmail.com> 0.2.3-4 - remove support for packages - add patches: + kjell-0.2.3-remove-support-for-packages.patch * Mon Mar 02 2015 Led <ledest@gmail.com> 0.2.3-3 - add group_history * Sun Mar 01 2015 Led <ledest@gmail.com> 0.2.3-2 - update BuildRequires * Sun Mar 01 2015 Led <ledest@gmail.com> 0.2.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