Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:licehunter:staging
erlang-jiffy
erlang-jiffy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-jiffy.spec of Package erlang-jiffy
# # spec file for package erlang-jiffy # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: erlang-jiffy Version: 0 %define mod_ver %(echo "%{version}" | cut -d "+" -f1) Release: 0 License: MIT Summary: JSON NIFs for Erlang Url: http://github.com/davisp/jiffy/ Group: Development/Libraries/Other Source: jiffy-%{version}.tar.xz BuildRequires: erlang-rebar Requires: erlang BuildRequires: gcc-c++ Provides: %{name}-devel = %{version}-%{release} %description A JSON parser as a NIF. This is a complete rewrite of the work I did in EEP0018 that was based on Yajl. This new version is a hand crafted state machine that does its best to be as quick and efficient as possible while not placing any constraints on the parsed JSON %prep %setup -n jiffy-%{version} #patch01 #patch02 %build %rebar compile escriptize %install for dir in ebin priv ; do install -d %{buildroot}%{erlang_libdir}/jiffy-%{mod_ver}/${dir} cp -r ${dir}/* %{buildroot}%{erlang_libdir}/jiffy-%{mod_ver}/${dir}/ done %files %defattr(-,root,root) %license LICENSE %doc *.md %dir %{erlang_libdir}/jiffy-%{mod_ver} %{erlang_libdir}/jiffy-%{mod_ver}/ebin %{erlang_libdir}/jiffy-%{mod_ver}/priv
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