Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-redis-320
dba-redis-320.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-redis-320.spec of Package dba-redis-320
%define real_name redis %define version 3.2.0 %define vers 320 %define prefix /DBA/%{real_name}/%{version} Name: dba-%{real_name}-%{vers} Summary: Redis persistent key-value database 3.2.0 Version: %{version} Release: 1 Group: Productivity/Databases/Servers License: BSD URL: http://redis.io Source0: http://redis.googlecode.com/files/%{real_name}-%{version}.tar.gz Source1: %{real_name}.logrotate Source2: %{real_name}.init BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x dba-openssl-101c %description Redis is an advanced key-value store. It is similar to memcached but the data set is not volatile, and values can be strings, exactly like in memcached, but also lists, sets, and ordered sets. All this data types can be manipulated with atomic operations to push/pop elements, add/remove elements, perform server side union, intersection, difference between sets, and so forth. Redis supports different kind of sorting abilities. %prep %setup -q -n %{real_name}-%{version} %build export CFLAGS="$RPM_OPT_FLAGS" %if 0%{?centos_version} == 504 || 0%{?rhel_version} == 501 %ifarch i586 export CFLAGS="$CFLAGS -march=i686" %endif %endif unset MAKE_ARCH %ifarch i586 export MAKE_ARCH=32bit export CFLAGS="$CFLAGS-m32 -march=native" %endif make $MAKE_ARCH \ %{?_smp_mflags} \ DEBUG='' \ CFLAGS='%{optflags}' \ V=1 \ all %install %{__mkdir_p} %{buildroot}%{prefix}/bin %{__mkdir_p} %{buildroot}%{prefix}/conf make install PREFIX=%{buildroot}%{prefix} install -p -D -m 644 %{SOURCE1} %{buildroot}%{prefix}/conf/%{real_name}.logrotate install -p -D -m 755 %{SOURCE2} %{buildroot}%{prefix}/conf/%{real_name}.init install -p -D -m 644 %{real_name}.conf %{buildroot}%{prefx}/conf/%{real_name}.conf %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc 00-RELEASENOTES BUGS CONTRIBUTING COPYING MANIFESTO README.md %dir %{prefix} %{prefix}/bin %{prefix}/conf %changelog * Mon May 9 2016 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
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