Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:licehunter:staging
esnappy
esnappy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File esnappy.spec of Package esnappy
# norootforbuild Name: esnappy Version: 2013.01.03 Release: 1 Group: Development/Libraries/Other License: BSD-3-Clause BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ BuildRequires: erlang >= R14 BuildRequires: snappy-devel BuildRequires: unzip URL: https://github.com/thekvs/esnappy Source0: %{name}-master-%{version}.zip # PATCH-FIX-UPSTREAM fix-R15-dep.diff -- allow erlang R15 Patch0: fix-R15-dep.diff Summary: Erlang bindings to snappy %description Erlang bindings to Google's Snappy compression library. %prep %setup -q -n %{name}-master %patch0 -p1 %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./rebar compile %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