Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:licehunter:staging
erlang-lz4
erlang-lz4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-lz4.spec of Package erlang-lz4
# # spec file for package erlang-lz4 # # 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/ # %define pkg_version 0.2.2 Name: erlang-lz4 Version: %{pkg_version} Release: 1 Summary: An Erlang NIF for using lz4 compression License: Apache-2.0 and BSD-2-Clause Group: Development/Libraries/Other URL: https://github.com/szktty/erlang-lz4.git BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: erlang-lz4-%{version}.tar.gz Requires: erlang >= R13B01 BuildRequires: erlang-rebar BuildRequires: gcc-c++ %description An Erlang NIF for using lz4 compression. This library uses source code of LZ4 from https://github.com/Cyan4973/lz4 %package src Summary: An Erlang NIF for using lz4 compression Group: Development/Libraries/Other Requires: %{name} = %{version} %description src An Erlang NIF for using lz4 compression. This library uses source code of LZ4 from https://github.com/Cyan4973/lz4 %prep %setup -q %build %rebar compile %rebar doc %install rm doc/overview.edoc for dir in c_src ebin priv src test ; do install -d %{buildroot}%{erlang_libdir}/erlang-lz4-%{version}/${dir} cp -r ${dir}/* %{buildroot}%{erlang_libdir}/erlang-lz4-%{version}/${dir}/ done %check %rebar xref %rebar eunit %files %defattr(-,root,root) %doc README.md doc %dir %{erlang_libdir}/erlang-lz4-%{version} %{erlang_libdir}/erlang-lz4-%{version}/ebin %{erlang_libdir}/erlang-lz4-%{version}/priv %files src %defattr(-,root,root) %{erlang_libdir}/erlang-lz4-%{version}/c_src %{erlang_libdir}/erlang-lz4-%{version}/src %{erlang_libdir}/erlang-lz4-%{version}/test %changelog
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