Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
ibrowse
ibrowse.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ibrowse.spec of Package ibrowse
%define bname ibrowse Name: %bname Version: 4.2.4 Release: 1 Summary: A HTTP client written in Erlang License: LGPL-2.1+ Group: Development/Tools/Other URL: https://github.com/cmullaparthi/%bname Source: %bname-%version.tar.xz #Patch: %bname-%version-git.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang-otp-base-devel %description %Name is a HTTP client written in Erlang. %package devel Summary: Headers for %name Group: Development/Tools/Other %description devel %Name is a HTTP client written in Erlang. This package contains headers for %name. %package doc Summary: Headers for %name Group: Documentation/HTML %description doc %Name is a HTTP client written in Erlang. This package contains HTML documentation for %name and examples. %prep %setup -q -n %bname-%version #patch -p1 sed -i '/^-include_lib/s|_lib("%bname/|("../|' test/ibrowse_test.erl sed -i 's|now()|os:timestamp()|g' test/ibrowse_load_test.erl %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|proplists:delete(debug_info, proplists:get_value(erl_opts, L))]}|proplists:delete(erl_opts, L)])), halt().' for c in compile doc; do rebar -C %bname.rebar.config $c -v done %install for i in ebin include priv; 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 ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %check rebar -C %bname.rebar.config eunit %files %defattr(-,root,root) %dir %_otplibdir/* %_otplibdir/*/ebin %_otplibdir/*/priv %files devel %defattr(-,root,root) %_otplibdir/*/include %files doc %defattr(-,root,root) %doc %dir %_otplibdir/* %doc %_otplibdir/*/doc %doc %_docdir/%name %changelog * Wed Jun 08 2016 Led <ledest@gmail.com> 4.2.4-1 - 4.2.4 * Wed Jun 08 2016 Led <ledest@gmail.com> 4.2.2-3 - clean up BuildRequires * Sun Feb 21 2016 Led <ledest@gmail.com> 4.2.2-2 - git b5c705c * Mon Nov 30 2015 Led <ledest@gmail.com> 4.2.2-1 - 4.2.2 * Sun Sep 13 2015 Led <ledest@gmail.com> 4.2-1 - 4.2 - disable debug_info * Sun Sep 13 2015 Led <ledest@gmail.com> 4.1.2-1 - 4.1.2 - remove patches: + ibrowse-4.1.1-git.patch * Sat Jul 04 2015 Led <ledest@gmail.com> 4.1.1-3 - update patches: + ibrowse-4.1.1-git.patch * Thu Jul 02 2015 Led <ledest@gmail.com> 4.1.1-2 - fix build with Erlang 18 * Sun Apr 12 2015 Led <ledest@gmail.com> 4.1.1-1 - 4.1.1 - clean up spec * Tue Apr 03 2012 Led <led@massivesolutions.co.uk> 3.0.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