Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
pgapp
pgapp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pgapp.spec of Package pgapp
%define bname pgapp Name: %bname Epoch: 1 Version: 0.0.1 Release: 8 Summary: Erlang Postgres application that uses Poolboy and deals with the database License: MIT Group: Development/Tools/Other URL: https://github.com/epgsql/%bname Source: %bname.tar.xz Patch1: %bname-doc.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-10 %description This code is a front end for epgsql that adds a pool (poolboy, for the moment), and code to isolate crashes in the epgsql library: if your database goes down, you probably don't want the rest of the application to fail as well. %package doc Summary: %bname documentation Group: Documentation Conflicts: %name < 1:0.0.1-8 %description doc This code is a front end for epgsql that adds a pool (poolboy, for the moment), and code to isolate crashes in the epgsql library: if your database goes down, you probably don't want the rest of the application to fail as well. This package contains documentation in HTML format. %prep %setup -q -n %bname %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 %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/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 README* %bname.config* %buildroot%_docdir/%name/ %files %defattr(-,root,root) %_otplibdir/* %exclude %_otplibdir/%bname-*/doc %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Fri Sep 21 2018 Led <ledest@gmail.com> 1:0.0.1-8 - git 15c042f - move docs to separate subpackage * Sun May 21 2017 Led <ledest@gmail.com> 1:0.0.1-7 - revert BuildRequires * Sun May 21 2017 Led <ledest@gmail.com> 1:0.0.1-6 - update BuildRequires * Sun Aug 21 2016 Led <ledest@gmail.com> 1:0.0.1-4 - git 90c309a * Sat May 14 2016 Led <ledest@gmail.com> 1:0.0.1-3 - git 7183895 - use %%__rebar macro * Mon Mar 21 2016 Led <ledest@gmail.com> 1:0.0.1-2 - clean up BuildRequires * Mon Feb 15 2016 Led <ledest@gmail.com> 1:0.0.1-1 - 0.0.1 * Tue Dec 01 2015 Led <ledest@gmail.com> 1-3 - git 94133b1 - updated patches: + pgapp-doc.patch * Sat Jul 04 2015 Led <ledest@gmail.com> 1-2 - git 7c59760 * Sat Jun 06 2015 Led <ledest@gmail.com> 1-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