Browse Source

memcached-1.4.5.repcached2.3.1-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3293 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 14 years ago
parent
commit
9a698df823
1 changed files with 23 additions and 5 deletions
  1. 23 5
      m/memcached/memcached-vl.spec

+ 23 - 5
m/memcached/memcached-vl.spec

@@ -1,14 +1,20 @@
+%define memcached_version 1.4.5
+%define repcached_version 2.3.1
+
 Summary: a high-performance, distributed memory object caching system
 Summary(ja): ハイパフォーマンスな分散メモリオブジェクトキャッシングシステム
 Name: memcached
-Version: 1.4.5
+Version: %{memcached_version}.repcached%{repcached_version}
 Release: 1%{?_dist_release}
-Source0: http://www.danga.com/memcached/dist/%{name}-%{version}.tar.gz
+Source0: http://www.danga.com/memcached/dist/%{name}-%{memcached_version}.tar.gz
 
 # Patches
 # From http://code.google.com/p/memcached/issues/detail?id=60
 Patch0: memcached-1.4.5-issue60.diff
 
+# repcached patch
+Patch1: repcached-%{repcached_version}-%{memcached_version}.patch
+
 License: modified BDS style License
 Url: http://www.danga.com/memcached/
 Group: Applications/Databases
@@ -20,6 +26,8 @@ memcached is a high-performance, distributed memory object caching system,
 generic in nature, but intended for use in speeding up dynamic web 
 applications by alleviating database load.
 
+This package was applied the repcached-patch for redundancy.
+
 %package devel
 Summary:	Files needed for development using memcached protocol
 Summary(ja):	memcached プロトコルを使用した開発に必要なファイル
@@ -31,11 +39,13 @@ Install memcached-devel if you are developing C/C++ applications that require ac
 memcached binary include files.
 
 %prep
-%setup -q
+%setup -n memcached-%{memcached_version}
 %patch0 -p1
+%patch1 -p1 -b .rc
 
 %build
-%configure
+sh ./autogen.sh
+%configure --enable-replication
 
 %install
 rm -rf %{buildroot}
@@ -63,7 +73,8 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS COPYING ChangeLog NEWS README doc/CONTRIBUTORS doc/*.txt
+%doc AUTHORS COPYING ChangeLog ChangeLog.repcached NEWS README
+%doc doc/CONTRIBUTORS doc/*.txt
 %config(noreplace) %{_sysconfdir}/sysconfig/memcached
 %{_initdir}/memcached
 %{_bindir}/memcached
@@ -76,6 +87,13 @@ rm -rf %{buildroot}
 %{_includedir}/memcached/*
 
 %changelog
+* Tue Feb 15 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.5.repcached2.3.1-1
+- updated repcached patch.
+
+* Mon Feb 14 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.5.repcached2.
+3-1
+- applied the repcached patch.
+
 * Thu Feb 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.5-1
 - new upstream release
 - added Patch0 from Fedora