Changes of Revision 3
[-] | Changed | memcached_functions_mysql.spec |
x 1
2 BuildRequires: glibc-devel libgcc gcc gcc-c++ 3 BuildRequires: libmemcached mysql-devel >= 5.0 pkgconfig 4 BuildRequires: mysql >= 5.0 5 +Recommends: memcached 6 +Requires: libmemcached mysql >= 5.0 7 8 %description 9 +This is a set of MySQL UDFs (user defined functions) to work with memcached using libmemcached. 10 +With these functions, you can get, set, append, prepend, delete, increment, 11 +and decrement objects in memcached, provide statistics, and set which servers to use and which 12 +behavior the server connections will use. These functions can be combined with MySQL triggers. 13 +You can also use memcached as a global sequence generator for MySQL by making use of the increment function. 14 +These functions are compatible with all versions of MySQL. 15 16 %prep 17 %setup -n %{pkgname}-%{version} 18
19 rm -rf $RPM_BUILD_ROOT/* 20 rm -rf $RPM_BUILD_DIR/%{name}* 21 22 +%post 23 +/sbin/ldconfig 24 + 25 +%postun 26 +/sbin/ldconfig 27 28 %files 29 %defattr(-,root,root) 30 %doc AUTHORS README ChangeLog 31 +%{_libdir}/libmemcached_functions_mysql.a 32 +%{_libdir}/libmemcached_functions_mysql.la 33 +%{_libdir}/libmemcached_functions_mysql.so 34 +%{_libdir}/libmemcached_functions_mysql.so.0 35 +%{_libdir}/libmemcached_functions_mysql.so.0.0.0 36 +%{_mandir}/man3/memc_append.3* 37 +%{_mandir}/man3/memc_behavior_get.3* 38 +%{_mandir}/man3/memc_behavior_set.3* 39 +%{_mandir}/man3/memc_decrement.3* 40 +%{_mandir}/man3/memc_get.3* 41 +%{_mandir}/man3/memc_increment.3* 42 +%{_mandir}/man3/memc_libmemcached_version.3* 43 +%{_mandir}/man3/memc_list_behaviors.3* 44 +%{_mandir}/man3/memc_list_distribution_types.3* 45 +%{_mandir}/man3/memc_list_hash_types.3* 46 +%{_mandir}/man3/memc_prepend.3* 47 +%{_mandir}/man3/memc_servers_behavior_get.3* 48 +%{_mandir}/man3/memc_servers_behavior_set.3* 49 +%{_mandir}/man3/memc_servers_set.3* 50 +%{_mandir}/man3/memc_set.3* 51 +%{_mandir}/man3/memc_stat_get_keys.3* 52 +%{_mandir}/man3/memc_stats.3* 53 +%{_mandir}/man3/memc_udf_version.3* 54 55 %changelog 56 * Sun Feb 01 2009 Carsten Schoene <cs@linux-administrator.com> 57 |