[-]
[+]
|
Deleted |
libmemcached-last.spec
|
@@ -1,453 +0,0 @@
-# spec file for libmemcached
-#
-# Copyright (c) 2009-2014 Remi Collet
-# License: CC-BY-SA
-# http://creativecommons.org/licenses/by-sa/3.0/
-#
-# Please, preserve the changelog entries
-#
-# Lot of tests are broken making test suite unusable
-%global with_tests %{?_witht_tests:1}%{!?_with_tests:0}
-%global with_sasl 1
-%global libname libmemcached
-%{?scl: %scl_package %{libname}}
-
-# libmemcached >= 1.0.16 have soname 11
-%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
-# Standard build
-Name: %{libname}
-%else
-# Build for parallel install
-%{?scl:Name: %{scl_prefix}%{libname}}
-%{!?scl:Name: %{libname}-last}
-%endif
-Summary: Client library and command line tools for memcached server
-Version: 1.0.18
-Release: 4%{?dist}
-License: BSD
-Group: Applications/System
-URL: http://libmemcached.org/
-# Original sources:
-# http://launchpad.net/libmemcached/1.0/%{version}/+download/libmemcached-%{version}.tar.gz
-# The source tarball must be repackaged to remove the Hsieh hash
-# code, since the license is non-free. When upgrading, download the new
-# source tarball, and run "./strip-hsieh.sh <version>" to produce the
-# "-exhsieh" tarball.
-Source0: %{libname}-%{version}-exhsieh.tar.gz
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-%if %{with_sasl}
-BuildRequires: cyrus-sasl-devel
-%endif
-BuildRequires: flex
-BuildRequires: bison
-BuildRequires: python-sphinx
-BuildRequires: memcached
-%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
-BuildRequires: systemtap-sdt-devel
-%endif
-
-%if 0%{?scl:1}
-BuildRequires: %{scl_prefix}libevent-devel > 2
-%else
-BuildRequires: libevent-devel > 2
-%if "%{libname}" != "%{name}"
-Conflicts: %{libname} < %{version}
-Provides: %{libname} = %{version}-%{release}
-Provides: %{libname}%{?_isa} = %{version}-%{release}
-%endif
-%endif
-
-Provides: bundled(bobjenkins-hash)
-Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-
-Patch0: libmemcached-fix-linking-with-libpthread.patch
-
-%description
-libmemcached is a C/C++ client library and tools for the memcached server
-(http://memcached.org/). It has been designed to be light on memory
-usage, and provide full access to server side methods.
-
-It also implements several command line tools:
-
-memaslap Load testing and benchmarking a server
-memcapable Checking a Memcached server capibilities and compatibility
-memcat Copy the value of a key to standard output
-memcp Copy data to a server
-memdump Dumping your server
-memerror Translate an error code to a string
-memexist Check for the existance of a key
-memflush Flush the contents of your servers
-memparse Parse an option string
-memping Test to see if a server is available.
-memrm Remove a key(s) from the server
-memslap Generate testing loads on a memcached cluster
-memstat Dump the stats of your servers to standard output
-memtouch Touches a key
-
-
-%package devel
-Summary: Header files and development libraries for %{name}
-Group: Development/Libraries
-Requires: %{name}%{?_isa} = %{version}-%{release}
-Requires: pkgconfig
-%if %{with_sasl}
-Requires: cyrus-sasl-devel%{?_isa}
-%endif
-%if ! 0%{?scl:1}
-%if "%{libname}" != "%{name}"
-Conflicts: %{libname}-devel < %{version}
-Provides: %{libname}-devel = %{version}-%{release}
-Provides: %{libname}-devel%{?_isa} = %{version}-%{release}
-%endif
-%endif
-
-%description devel
-This package contains the header files and development libraries
-for %{name}. If you like to develop programs using %{name},
-you will need to install %{name}-devel.
-
-
-%package libs
-Summary: %{libname} libraries
-Group: System Environment/Libraries
-
-%if 0%{?scl:1}
-Requires: %{scl}-runtime
-Requires: %{scl_prefix}libevent%{_isa} > 2
-Requires: openssl%{?_isa}
-Requires: libstdc++%{?_isa}
-%if %{with_sasl}
-Requires: cyrus-sasl-lib%{?_isa}
-%endif
-%endif
-
-%description libs
-This package contains the %{libname} libraries version %{version}.
-%if "%{libname}" != "%{name}"
-This package is designed to be installed beside %{libname}.
-%endif
-
-
-%if 0%{?scl:1}
-# Filter in the SCL collection
-%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so}
-%{?filter_requires_in: %filter_requires_in %{_libdir}/.*\.so}
-%{?filter_requires_in: %filter_requires_in %{_bindir}/.*}
-%{?filter_setup}
-%endif
-
-
-%prep
-%setup -q -n %{libname}-%{version}
-%patch0 -p1
-
-mkdir examples
-cp -p tests/*.{cc,h} examples/
-
-
-%build
-%if 0%{?scl:1}
-. %{_scl_scripts}/enable
-export PKG_CONFIG_PATH=%{_libdir}/pkgconfig
-export LD_LIBRARY_PATH=%{_libdir}
-export CFLAGS=" %{optflags} $(pkg-config --cflags libevent)"
-export CXXFLAGS="%{optflags} $(pkg-config --cflags libevent)"
-export LDFLAGS="$(pkg-config --libs-only-L libevent)"
-%endif
-
-# option --with-memcached=false to disable server binary check (as we don't run test)
-%configure \
-%if %{with_tests}
- --with-memcached=%{_bindir}/memcached \
-%else
- --with-memcached=false \
-%endif
-%if %{with_sasl}
- --enable-sasl \
-%else
- --disable-sasl \
-%endif
- --enable-libmemcachedprotocol \
- --enable-memaslap \
- --enable-dtrace \
- --disable-static
-
-%if 0%{?fedora} < 14 && 0%{?rhel} < 7
-# for warning: unknown option after '#pragma GCC diagnostic' kind
-sed -e 's/-Werror//' -i Makefile
-%endif
-
-make %{_smp_mflags} V=1
-
-
-%install
-rm -rf %{buildroot}
-
-%{?scl: . %{_scl_scripts}/enable}
-
-make install DESTDIR="%{buildroot}" AM_INSTALL_PROGRAM_FLAGS=""
-
-# Hack: when sphinx-build too old (fedora < 14 and rhel < 7)
-# install upstream provided man pages
-if [ ! -d %{buildroot}%{_mandir}/man1 ]; then
- install -d %{buildroot}%{_mandir}/man1
- install -p -m 644 man/*1 %{buildroot}%{_mandir}/man1
- install -d %{buildroot}%{_mandir}/man3
- install -p -m 644 man/*3 %{buildroot}%{_mandir}/man3
-fi
-
|
[-]
[+]
|
Deleted |
libmemcached-fix-linking-with-libpthread.patch
^
|
@@ -1,19 +0,0 @@
-diff -up libmemcached-1.0.16/build-aux/ltmain.sh.orig libmemcached-1.0.16/build-aux/ltmain.sh
---- libmemcached-1.0.16/build-aux/ltmain.sh.orig 2013-12-03 16:36:53.222107642 +0100
-+++ libmemcached-1.0.16/build-aux/ltmain.sh 2013-12-03 16:37:35.770132249 +0100
-@@ -5664,6 +5664,15 @@ func_mode_link ()
- *" $arg "*) ;;
- * ) func_append new_inherited_linker_flags " $arg" ;;
- esac
-+ # As we are forced to pass -nostdlib to g++ during linking, the option
-+ # -pthread{,s} is not in effect; add the -lpthread to $deplist
-+ # explicitly to link correctly.
-+ if test "$tagname" = CXX -a x"$with_gcc" = xyes; then
-+ case "$arg" in
-+ -pthread*) func_append deplibs " -lpthread" ;;
-+ esac
-+ fi
-+
- continue
- ;;
-
|
|
Deleted |
libmemcached-1.0.18-exhsieh.tar.gz
^
|