Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
erl_mysql_driver_mini
erl_mysql_driver_mini.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erl_mysql_driver_mini.spec of Package erl_mysql_driver_mini
%define bname erl_mysql_driver_mini %define gname erl-mysql-driver-mini Name: %bname Version: 1 Release: 8 Summary: Minimal MySQL client for Erlang License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/chernomor/%gname Source: %gname.tar.xz BuildArch: noarch Provides: %gname = %version-%release Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar erl_interface BuildRequires: erlang-otpbp-devel >= 4.15.0 %description Minimal MySQL client for Erlang. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 1-7 %description doc Minimal MySQL client for Erlang. This package contains documentation of %bname. %prep %setup -q -n %gname sed -i '1i%%%%%% coding: latin-1' src/mysql_sync_auth.erl %build %if %_otp_release >= 20 ERL_COMPILER_OPTIONS="[inline,verbose,{parse_transform,otpbp_pt}]" \ %else ERL_COMPILER_OPTIONS="[inline,verbose]" \ %endif rebar compile -v rebar 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 install -p -m 0644 COPYING* README* %buildroot%_docdir/%name/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %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 * Sat Aug 21 2021 Led <ledest@gmail.com> 1-8 - update build * Sat Aug 21 2021 Led <ledest@gmail.com> 1-7 - fix build on Erlang/OTP 24 - add doc subpackage - use otpbp_pt for deprecated crypto functions * Sat Sep 03 2016 Led <ledest@gmail.com> 1-6 - git 770a4f4 * Wed Dec 02 2015 Led <ledest@gmail.com> 1-5 - git fed2ae3 * Sun Oct 11 2015 Led <ledest@gmail.com> 1-4 - git 58e6215 * Thu May 07 2015 Led <ledest@gmail.com> 1-3 - git c56ed56 * Sat Apr 04 2015 Led <ledest@gmail.com> 1-2 - fix URL * Sat Apr 04 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