Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-hiredis-0133-static
dba-hiredis-0133-static.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-hiredis-0133-static.spec of Package dba-hiredis-0133-static
%define real_name hiredis %define prefix /DBA/%{real_name}/%{version} %define version 0.13.3 %define vers 0133 %define maketest 0 Name: dba-%{real_name}-%{vers}-static Summary: Minimalistic C client library for Redis 0.13.3 Version: %{version} Release: 1 Group: System Environment/Libraries License: BSD URL: https://github.com/redis/hiredis Source0: https://github.com/redis/hiredis/archive/v%{version}.tar.gz#/%{real_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{real_name}-%{version}-build BuildRequires: autoconf automake libtool %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %description Hiredis is a minimalistic C client library for the Redis database. %prep %setup -q -n %{real_name}-%{version} %build export CFLAGS="%{optflags}" %{__make} %{?_smp_mflags} PREFIX="%{prefix}" OPTIMIZATION="%{optflags}" LDFLAGS="%{?__global_ldflags}" %install %{__make} install DESTDIR=%{buildroot} PREFIX="%{prefix}" rm -vf %{buildroot}%{prefix}/lib/*.la rm -vf %{buildroot}%{prefix}/lib/libhiredis.so* %check %if %maketest %{__make} check %{?_smp_mflags} V=1 ||: %endif %post # add pixman-1.pc to pkgconfig directory if [ -d %{_libdir}/pkgconfig ]; then cd %{_libdir}/pkgconfig if [ -e hiredis.pc ]; then %{__rm} -f hiredis.pc fi %{__ln_s} -f %{prefix}/lib/pkgconfig/hiredis.pc . fi %files %defattr(-,root,root) %dir %{prefix} %{prefix}/* %changelog * Tue Jun 21 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