Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
epgsql
epgsql.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File epgsql.spec of Package epgsql
%define bname epgsql Name: %bname Version: 3.3.0 Release: 0 Summary: Erlang PostgreSQL database client License: BSD-3-Clause Group: Development/Tools/Other URL: https://github.com/%bname/%bname Source: %bname-%version.tar.xz #Patch0: %bname-%version-git.patch Patch1: %bname-3.3.0-doc.patch Patch11: 0001-.gitignore-replace-rebar-to-.rebar.patch Patch12: 0002-add-symlink-include-pgsql.hrl-epgsql.hrl.patch Patch13: 0003-epgsql_binary-add-clause-with-binary-argument-to-enc.patch Patch14: 0004-epgsql_binary-add-clause-with-list-argument-to-encod.patch BuildArch: noarch Provides: erlang-%bname = %version-%release Provides: %bname-devel = %version-%release Provides: erlang-%bname-devel = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 %description %summary. %prep %setup -q -n %bname-%version #patch0 -p1 %patch1 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", lists:map(fun(E) -> [io_lib:print(E), $., $\n] end, [{erl_opts, [slim, inline, no_debug_info|lists:delete(debug_info, proplists:get_value(erl_opts, L, []))]}|lists:foldl(fun proplists:delete/2, L, [erl_opts, deps, cover_enabled])])), halt().' for c in compile doc; do rebar -C %bname.rebar.config $c -v done %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/ ln -sf epgsql.hrl %buildroot%_otplibdir/%bname-%version/include/pgsql.hrl 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 CHANGES LICENSE README.md TODO %buildroot%_docdir/%name/ %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Sun Jan 22 2017 Led <ledest@gmail.com> 3.3.0-1 - 3.3.0 - update patches: + epgsql-3.3.0-doc.patch * Sat May 14 2016 Led <ledest@gmail.com> 3.2.0-2 - disable debug_info * Thu May 05 2016 Led <ledest@gmail.com> 3.2.0-1 - 3.2.0 - remove patches: + 0001-support-for-postgresql-json-jsonb-type.patch + 0002-Fix-jsonb-encode-decode-wire-format.patch * Fri Apr 29 2016 Led <ledest@gmail.com> 3.1.1-5 - add patches: + 0001-.gitignore-replace-rebar-to-.rebar.patch + 0002-add-symlink-include-pgsql.hrl-epgsql.hrl.patch + 0003-epgsql_binary-add-clause-with-binary-argument-to-enc.patch + 0004-epgsql_binary-add-clause-with-list-argument-to-encod.patch * Thu Apr 28 2016 Led <ledest@gmail.com> 3.1.1-4 - add patches: + 0001-support-for-postgresql-json-jsonb-type.patch + 0002-Fix-jsonb-encode-decode-wire-format.patch * Wed Mar 23 2016 Led <ledest@gmail.com> 3.1.1-3 - add headers * Mon Mar 21 2016 Led <ledest@gmail.com> 3.1.1-2 - clean up BuildRequires * Mon Nov 30 2015 Led <ledest@gmail.com> 3.1.1-1 - 3.1.1 - remove patches: + epgsql-3.1.0-git.patch * Sat Jun 06 2015 Led <ledest@gmail.com> 3.1.0-5 - add docs - add patches: + epgsql-3.1.0-doc.patch * Sat Jun 06 2015 Led <ledest@gmail.com> 3.1.0-4 - add patches: + epgsql-3.1.0-git.patch * Sun Apr 12 2015 Led <ledest@gmail.com> 3.1.0-3 - clean ups * Sun Apr 05 2015 Led <ledest@gmail.com> 3.1.0-2 - cosmetic fixes * Fri Mar 20 2015 Led <ledest@gmail.com> 3.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