Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
merl
merl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File merl.spec of Package merl
%define bname merl Name: %bname Version: 0.9.0 Release: 1 Summary: Metaprograming in Erlang License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/erlydtl/%bname Source: %bname.tar.xz BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: erlang erlang-edoc erlang-eunit erlang-otp-devel %description Merl is a more user friendly interface to the `erl_syntax` module in the standard library 'syntax_tools' application, making it easy both to build new ASTs (abstract syntax trees) from scratch and to match and decompose existing ASTs. %prep %setup -q -n %bname %build make %{?_smp_mflags} ERLC_FLAGS="+slim" all docs %install for i in ebin include examples; 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 README* %buildroot%_docdir/%name/ ln -sf %_otplibdir/%bname-%version/examples %buildroot%_docdir/%name/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %check make %{?_smp_mflags} test %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Mon Mar 30 2015 Led <ledest@gmail.com> 0.9.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