Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:licehunter:staging
erlang-snappy-nif
erlang-snappy-nif.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-snappy-nif.spec of Package erlang-snappy-nif
# norootforbuild %define pkg_name snappy-erlang-nif Name: erlang-snappy-nif Version: 2013.01.03 Release: 1 Group: Development/Libraries/Other License: Apache-2.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ BuildRequires: erlang >= R13B04 BuildRequires: snappy-devel BuildRequires: unzip URL: https://github.com/fdmanana/snappy-erlang-nif Source0: %{pkg_name}-master-%{version}.zip # PATCH-FIX-UPSTREAM use-sys-snappy.diff -- do not use included snappy lib but the one from the system Patch0: use-sys-snappy.diff # PATCH-FIX-UPSTREAM fix-require_otp_vsn.patch -- do not require old versions of erlang which we don't have Patch1: fix-require_otp_vsn.patch Summary: Erlang NIF wrapper for snappy %description An Erlang NIF wrapper for Google's snappy compressor/decompressor %prep %setup -q -n %{pkg_name}-master %patch0 -p1 %patch1 -p1 %__rm -rf c_src/snappy/ %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" make %install for dir in ebin priv ; do %{__install} -d %{buildroot}%{_libdir}/erlang/lib/%{name}-%{version}/${dir} %{__install} ${dir}/* %{buildroot}%{_libdir}/erlang/lib/%{name}-%{version}/${dir}/ done %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc README.md %dir %{_libdir}/erlang/lib/%{name}-%{version} %{_libdir}/erlang/lib/%{name}-%{version}/* %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