@@ -1,635 +0,0 @@
-# norootforbuild
-%define pkgname libmemcached
-
-Summary: Memcached C library and command line tools
-Name: %{pkgname}
-Version: 1.0.17
-Release: 1
-License: BSD
-Group: System Environment/Libraries
-URL: http://tangent.org/552/libmemcached.html
-Source: http://download.tangent.org/%{pkgname}-%{version}.tar.bz2
-# upstream fix
-Patch0: 1158_1157.diff
-BuildRoot: %{_tmppath}/%{pkgname}-%{version}-build
-BuildRequires: gcc-c++ memcached
-BuildRequires: python-sphinx
-BuildRequires: -post-build-checks
-BuildRequires: cyrus-sasl-devel
-%if 0%{?suse_version} >= 1110 || 0%{?centos_version} >= 6 || 0%{?sl_version} >= 600 || 0%{?rhel_version} >= 600
-BuildRequires: libevent-devel
-%endif
-%if 0%{?suse_version} > 1020
-BuildRequires: fdupes
-%endif
-
-%description
-libmemcached is a C client library to the memcached server
-(http://danga.com/memcached). 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:
-
-memcat - Copy the value of a key to standard output.
-memflush - Flush the contents of your servers.
-memrm - Remove a key(s) from the serrver.
-memstat - Dump the stats of your servers to standard output.
-memcp - Copy files to memcached servers.
-memerror - Creates human readable messages from libmemecached error codes.
-
-%package devel
-Group: Development/Libraries
-Summary: Memcached C library and command line tools
-Requires: %{pkgname} = %{version}
-Requires: glibc-devel
-
-%description devel
-Development libraries and header files.
-
-%prep
-%setup
-%patch0
-
-%configure \
- --with-memcached=%{_sbindir}/memcached \
- --enable-sasl
-
-%build
-%{__make} %{_smp_mflags} || hostname -f
-
-%install
-%{__rm} -rf %{buildroot}
-%{__make} install DESTDIR="%{buildroot}" AM_INSTALL_PROGRAM_FLAGS=""
-%{__make} install-man DESTDIR="%{buildroot}"
-
-# find duplicate files and symlink
-%if 0%{?suse_version} > 1020
-# create symlinks for man pages
-%fdupes -s $RPM_BUILD_ROOT/%{_mandir}
-# create hardlinks for the rest
-%fdupes $RPM_BUILD_ROOT
-%endif
-
-
-%clean
-%{__rm} -rf %{buildroot}
-
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-
-
-%files
-%defattr(0755,root,root,-)
-%{_bindir}/memping
-%{_bindir}/memdump
-%{_bindir}/memcat
-%{_bindir}/memcp
-%{_bindir}/memerror
-%{_bindir}/memflush
-%{_bindir}/memrm
-%{_bindir}/memstat
-%{_bindir}/memcapable
-%{_bindir}/memslap
-%{_bindir}/memparse
-%{_bindir}/memexist
-%{_bindir}/memtouch
-%defattr(0640,root,root,-)
-%{_mandir}/man1/memexist.1*
-%{_mandir}/man1/memparse.1*
-%{_mandir}/man1/memping.1*
-%{_mandir}/man1/memtouch.1*
-%{_mandir}/man1/memdump.1*
-%{_mandir}/man1/memcat.1*
-%{_mandir}/man1/memcp.1*
-%{_mandir}/man1/memerror.1*
-%{_mandir}/man1/memflush.1*
-%{_mandir}/man1/memrm.1*
-%{_mandir}/man1/memslap.1*
-%{_mandir}/man1/memstat.1*
-%{_mandir}/man1/memcapable.1*
-%{_mandir}/man3/memcached_dump.3*
-%{_mandir}/man3/libmemcached.3*
-%{_mandir}/man3/libmemcached_examples.3*
-%{_mandir}/man3/memcached_add.3*
-%{_mandir}/man3/memcached_append.3*
-%{_mandir}/man3/memcached_behavior_get.3*
-%{_mandir}/man3/memcached_behavior_set.3*
-%{_mandir}/man3/memcached_cas.3*
-%{_mandir}/man3/memcached_clone.3*
-%{_mandir}/man3/memcached_create.3*
-%{_mandir}/man3/memcached_decrement.3*
-%{_mandir}/man3/memcached_delete.3*
-%{_mandir}/man3/memcached_fetch.3*
-%{_mandir}/man3/memcached_fetch_result.3*
-%{_mandir}/man3/memcached_free.3*
-%{_mandir}/man3/memcached_get.3*
-%{_mandir}/man3/memcached_increment.3*
-%{_mandir}/man3/memcached_mget.3*
-%{_mandir}/man3/memcached_prepend.3*
-%{_mandir}/man3/memcached_quit.3*
-%{_mandir}/man3/memcached_replace.3*
-%{_mandir}/man3/memcached_server_add.3*
-%{_mandir}/man3/memcached_server_count.3*
-%{_mandir}/man3/memcached_server_list.3*
-%{_mandir}/man3/memcached_server_list_append.3*
-%{_mandir}/man3/memcached_server_list_count.3*
-%{_mandir}/man3/memcached_server_list_free.3*
-%{_mandir}/man3/memcached_server_push.3*
-%{_mandir}/man3/memcached_servers_parse.3*
-%{_mandir}/man3/memcached_set.3*
-%{_mandir}/man3/memcached_stat.3*
-%{_mandir}/man3/memcached_stat_get_keys.3*
-%{_mandir}/man3/memcached_stat_get_value.3*
-%{_mandir}/man3/memcached_stat_servername.3*
-%{_mandir}/man3/memcached_strerror.3*
-%{_mandir}/man3/memcached_verbosity.3*
-%{_mandir}/man3/memcached_add_by_key.3*
-%{_mandir}/man3/memcached_append_by_key.3*
-%{_mandir}/man3/memcached_callback_get.3*
-%{_mandir}/man3/memcached_callback_set.3*
-%{_mandir}/man3/memcached_cas_by_key.3*
-%{_mandir}/man3/memcached_delete_by_key.3*
-%{_mandir}/man3/memcached_fetch_execute.3*
-%{_mandir}/man3/memcached_get_by_key.3*
-%{_mandir}/man3/memcached_lib_version.3*
-%{_mandir}/man3/memcached_mget_by_key.3*
-%{_mandir}/man3/memcached_prepend_by_key.3*
-%{_mandir}/man3/memcached_replace_by_key.3*
-%{_mandir}/man3/memcached_set_by_key.3*
-%{_mandir}/man3/memcached_version.3*
-%{_mandir}/man3/memcached_analyze.3*
-%{_mandir}/man3/memcached_flush_buffers.3*
-%{_mandir}/man3/memcached_generate_hash_value.3*
-%{_mandir}/man3/libmemcachedutil.3*
-%{_mandir}/man3/memcached_decrement_with_initial.3*
-%{_mandir}/man3/memcached_increment_with_initial.3*
-%{_mandir}/man3/memcached_pool_create.3*
-%{_mandir}/man3/memcached_pool_destroy.3*
-%{_mandir}/man3/memcached_pool_pop.3*
-%{_mandir}/man3/memcached_pool_push.3*
-%{_mandir}/man3/memcached_get_memory_allocators.3*
-%{_mandir}/man3/memcached_get_user_data.3*
-%{_mandir}/man3/memcached_set_memory_allocators.3*
-%{_mandir}/man3/memcached_set_user_data.3*
-%{_mandir}/man3/memcached_pool_behavior_get.3*
-%{_mandir}/man3/memcached_pool_behavior_set.3*
-%{_mandir}/man3/memcached_mget_execute.3*
-%{_mandir}/man3/memcached_mget_execute_by_key.3*
-%{_mandir}/man3/hashkit_clone.3*
-%{_mandir}/man3/hashkit_crc32.3*
-%{_mandir}/man3/hashkit_create.3*
-%{_mandir}/man3/hashkit_fnv1_32.3*
-%{_mandir}/man3/hashkit_fnv1_64.3*
-%{_mandir}/man3/hashkit_fnv1a_32.3*
-%{_mandir}/man3/hashkit_fnv1a_64.3*
-%{_mandir}/man3/hashkit_free.3*
-%{_mandir}/man3/hashkit_functions.3*
-%{_mandir}/man3/hashkit_hsieh.3*
-%{_mandir}/man3/hashkit_is_allocated.3*
-%{_mandir}/man3/hashkit_jenkins.3*
-%{_mandir}/man3/hashkit_md5.3*
-%{_mandir}/man3/hashkit_murmur.3*
-%{_mandir}/man3/hashkit_value.3*
-%{_mandir}/man3/memcached_server_cursor.3*
-%{_mandir}/man3/memcached_stat_execute.3*
-%{_mandir}/man1/memaslap.1*
-%{_mandir}/man3/libhashkit.3*
|
@@ -1,42 +0,0 @@
-=== modified file 'm4/ax_memcached.m4'
---- m4/ax_memcached.m4 2013-02-20 23:58:10 +0000
-+++ m4/ax_memcached.m4 2013-04-11 07:22:14 +0000
-@@ -44,15 +44,26 @@
- # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
--#serial 3
-+#serial 4
-
- AC_DEFUN([AX_PROG_MEMCACHED],
-- [AX_WITH_PROG([MEMCACHED_BINARY],[memcached])
-- AS_IF([test -f "$ac_cv_path_MEMCACHED_BINARY"],
-- [AC_DEFINE([HAVE_MEMCACHED_BINARY], [1], [If Memcached binary is available])
-- AC_DEFINE_UNQUOTED([MEMCACHED_BINARY],"$ac_cv_path_MEMCACHED_BINARY",[Name of the memcached binary used in make test])
-- ax_memcached_version=`$MEMCACHED_BINARY -h | sed 1q | awk '{print \$ 2 }' | sed 's|[\-a-z0-9]*$||' | awk -F. '{printf "%d.%d.%d", $[]1, $[]2, $[]3}'`
-- AC_MSG_RESULT([memcached version "$ax_memcached_version"])
-- AC_DEFINE_UNQUOTED([MEMCACHED_VERSION],"$ax_memcached_version",[Memcached binary version])
-- ])
-- ])
-+ [AX_WITH_PROG([MEMCACHED_BINARY],[memcached],[unknown])
-+ ax_memcached_success=
-+ AS_IF([test x"$MEMCACHED_BINARY" != xunknown],
-+ [AS_IF([test -x "$MEMCACHED_BINARY"],
-+ [ax_memcached_version=`$MEMCACHED_BINARY -h | sed 1q | awk '{print \$ 2 }' | sed 's|[\-a-z0-9]*$||' | awk -F. '{printf "%d.%d.%d", $[]1, $[]2, $[]3}'`
-+ AS_IF([test -n "$ax_memcached_version"],
-+ [ax_memcached_success='ok'
-+ AC_MSG_RESULT([memcached version "$ax_memcached_version"])
-+ AC_DEFINE_UNQUOTED([MEMCACHED_VERSION],"$ax_memcached_version",[Memcached binary version])])
-+ ])
-+ ])
-+
-+ AS_IF([test -n "$ax_memcached_success"],
-+ [AC_DEFINE([HAVE_MEMCACHED_BINARY], [1], [If Memcached binary is available])
-+ AC_DEFINE_UNQUOTED([MEMCACHED_BINARY],"$MEMCACHED_BINARY",[Name of the memcached binary used in make test])
-+ ],
-+ [AC_DEFINE([HAVE_MEMCACHED_BINARY], [0], [If Memcached binary is available])
-+ MEMCACHED_BINARY=
-+ ])
-+ ])
-
-
|