Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 263 lines (229 sloc) 8.839 kb
a8822c1 New Spec file.
Unknown authored
1 Name: libmemcached
2 Summary: memcached C library and command line tools
149b1f2 @BrianAker Build the spec file (aka I stop hand editing it).
BrianAker authored
3 Version: @VERSION@
a8822c1 New Spec file.
Unknown authored
4 Release: 1
5 License: BSD
6 Group: System Environment/Libraries
2570f90 Doing final commit before release. RPM updated, version incremented.
Brian Aker authored
7 URL: http://launchpad.net/libmemcached
a8822c1 New Spec file.
Unknown authored
8 Source0: http://download.tangent.org/libmemcached-%{version}.tar.gz
92bf166 Adding in spec file, this has not been tested... committing from my M…
Unknown authored
9
a8822c1 New Spec file.
Unknown authored
10 # For test suite
11 BuildRequires: memcached
12
13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
92bf166 Adding in spec file, this has not been tested... committing from my M…
Unknown authored
14
15
16 %description
17 libmemcached is a C client library to the memcached server
18 (http://danga.com/memcached). It has been designed to be light on memory
19 usage, and provide full access to server side methods.
20
21 It also implements several command line tools:
22
fea6e48 @BrianAker Cleanup for release
BrianAker authored
23 memcat - Copy the value of a key to standard output.
92bf166 Adding in spec file, this has not been tested... committing from my M…
Unknown authored
24 memflush - Flush the contents of your servers.
25 memrm - Remove a key(s) from the serrver.
fea6e48 @BrianAker Cleanup for release
BrianAker authored
26 memstat - Dump the stats of your servers to standard output.
27 memslap - Generate testing loads on a memcached cluster.
28 memcp - Copy files to memcached servers.
c171aaf @BrianAker Added memerror so that I can find out what an error code is without
BrianAker authored
29 memerror - Creates human readable messages from libmemecached error codes.
e467846 Update for test system.
Brian Aker authored
30 memcapable - Verify a memcached server for protocol behavior.
92bf166 Adding in spec file, this has not been tested... committing from my M…
Unknown authored
31
a8822c1 New Spec file.
Unknown authored
32
33 %package devel
34 Summary: Header files and development libraries for %{name}
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37
38 %description devel
39 This package contains the header files and development libraries
40 for %{name}. If you like to develop programs using %{name},
41 you will need to install %{name}-devel.
42
43
92bf166 Adding in spec file, this has not been tested... committing from my M…
Unknown authored
44 %prep
45 %setup -q
46
a8822c1 New Spec file.
Unknown authored
47 %{__mkdir} examples
48 %{__cp} tests/*.{c,cpp,h} examples/
49
92bf166 Adding in spec file, this has not been tested... committing from my M…
Unknown authored
50
51 %build
a8822c1 New Spec file.
Unknown authored
52 %configure
92bf166 Adding in spec file, this has not been tested... committing from my M…
Unknown authored
53 %{__make} %{_smp_mflags}
54
a8822c1 New Spec file.
Unknown authored
55
92bf166 Adding in spec file, this has not been tested... committing from my M…
Unknown authored
56 %install
57 %{__rm} -rf %{buildroot}
58 %{__make} install DESTDIR="%{buildroot}" AM_INSTALL_PROGRAM_FLAGS=""
59
a8822c1 New Spec file.
Unknown authored
60
61 %check
62 # test suite cannot run in mock (same port use for memcache server on all arch)
63 # 1 test seems to fail..
64 #%{__make} test
65
66
92bf166 Adding in spec file, this has not been tested... committing from my M…
Unknown authored
67 %clean
68 %{__rm} -rf %{buildroot}
69
a8822c1 New Spec file.
Unknown authored
70
71 %post -p /sbin/ldconfig
72
73
74 %postun -p /sbin/ldconfig
75
76
92bf166 Adding in spec file, this has not been tested... committing from my M…
Unknown authored
77 %files
a8822c1 New Spec file.
Unknown authored
78 %defattr (-,root,root,-)
79 %doc AUTHORS COPYING NEWS README THANKS TODO
80 %{_bindir}/mem*
81 %exclude %{_libdir}/libmemcached.la
2570f90 Doing final commit before release. RPM updated, version incremented.
Brian Aker authored
82 %exclude %{_libdir}/libhashkit.la
a7ea685 Setup for next version (and fixes for util for RPM)
Unknown authored
83 %exclude %{_libdir}/libmemcachedutil.la
3ce93bc Updated spec file.
Brian Aker authored
84 %exclude %{_libdir}/libmemcachedprotocol.la
e70cfa9 Fix for versioning information.
Brian Aker authored
85 %{_libdir}/libhashkit.so.0.0.0
86 %{_libdir}/libmemcached.so.5.0.1
87 %{_libdir}/libmemcachedutil.so.1.0.0
88 %{_libdir}/libmemcachedprotocol.so.0.0.0
89 %{_libdir}/libhashkit.so.0
90 %{_libdir}/libmemcached.so.5
91 %{_libdir}/libmemcachedprotocol.so.0
92 %{_libdir}/libmemcachedutil.so.1
6556f8b Updated .spec file for release.
Brian Aker authored
93 %{_mandir}/man1/memcapable.1.gz
94 %{_mandir}/man1/memcat.1.gz
95 %{_mandir}/man1/memcp.1.gz
96 %{_mandir}/man1/memdump.1.gz
97 %{_mandir}/man1/memerror.1.gz
98 %{_mandir}/man1/memflush.1.gz
99 %{_mandir}/man1/memrm.1.gz
100 %{_mandir}/man1/memslap.1.gz
101 %{_mandir}/man1/memstat.1.gz
a8822c1 New Spec file.
Unknown authored
102
103
104 %files devel
105 %defattr (-,root,root,-)
106 %doc examples
34ca086 File Refactoring
Brian Aker authored
107 %{_includedir}/libmemcached/allocators.h
108 %{_includedir}/libmemcached/delete.h
109 %{_includedir}/libmemcached/fetch.h
110 %{_includedir}/libmemcached/flush.h
58a3ed1 Use RPM to test install path
Brian Aker authored
111 %{_includedir}/libhashkit/algorithm.h
112 %{_includedir}/libhashkit/behavior.h
ddccb64 RPM update.
Brian Aker authored
113 %{_includedir}/libhashkit/configure.h
3a0fffe Updates for RPM spec file.
Brian Aker authored
114 %{_includedir}/libhashkit/digest.h
115 %{_includedir}/libhashkit/function.h
58a3ed1 Use RPM to test install path
Brian Aker authored
116 %{_includedir}/libhashkit/hashkit.h
117 %{_includedir}/libhashkit/strerror.h
118 %{_includedir}/libhashkit/types.h
119 %{_includedir}/libhashkit/visibility.h
8c301ff Updates, rpm now tests the install locations.
Brian Aker authored
120 %{_includedir}/libmemcached/analyze.h
121 %{_includedir}/libmemcached/auto.h
122 %{_includedir}/libmemcached/behavior.h
123 %{_includedir}/libmemcached/callback.h
124 %{_includedir}/libmemcached/configure.h
125 %{_includedir}/libmemcached/constants.h
126 %{_includedir}/libmemcached/dump.h
127 %{_includedir}/libmemcached/exception.hpp
1cda56d Updates for RPM
Brian Aker authored
128 %{_includedir}/libmemcached/flush_buffers.h
8c301ff Updates, rpm now tests the install locations.
Brian Aker authored
129 %{_includedir}/libmemcached/get.h
1cda56d Updates for RPM
Brian Aker authored
130 %{_includedir}/libmemcached/hash.h
8c301ff Updates, rpm now tests the install locations.
Brian Aker authored
131 %{_includedir}/libmemcached/memcached.h
132 %{_includedir}/libmemcached/memcached.hpp
133 %{_includedir}/libmemcached/memcached_util.h
1cda56d Updates for RPM
Brian Aker authored
134 %{_includedir}/libmemcached/parse.h
34c8758 Update changelog, etc.
Brian Aker authored
135 %{_includedir}/libmemcached/platform.h
8c301ff Updates, rpm now tests the install locations.
Brian Aker authored
136 %{_includedir}/libmemcached/protocol/cache.h
137 %{_includedir}/libmemcached/protocol/callback.h
138 %{_includedir}/libmemcached/protocol_handler.h
1cda56d Updates for RPM
Brian Aker authored
139 %{_includedir}/libmemcached/quit.h
8c301ff Updates, rpm now tests the install locations.
Brian Aker authored
140 %{_includedir}/libmemcached/result.h
1cda56d Updates for RPM
Brian Aker authored
141 %{_includedir}/libmemcached/sasl.h
8c301ff Updates, rpm now tests the install locations.
Brian Aker authored
142 %{_includedir}/libmemcached/server.h
f110775 Fixing spec file for release.
Brian Aker authored
143 %{_includedir}/libmemcached/server_list.h
8c301ff Updates, rpm now tests the install locations.
Brian Aker authored
144 %{_includedir}/libmemcached/stats.h
145 %{_includedir}/libmemcached/storage.h
1cda56d Updates for RPM
Brian Aker authored
146 %{_includedir}/libmemcached/strerror.h
8c301ff Updates, rpm now tests the install locations.
Brian Aker authored
147 %{_includedir}/libmemcached/string.h
148 %{_includedir}/libmemcached/types.h
1cda56d Updates for RPM
Brian Aker authored
149 %{_includedir}/libmemcached/util.h
150 %{_includedir}/libmemcached/util/ping.h
8c301ff Updates, rpm now tests the install locations.
Brian Aker authored
151 %{_includedir}/libmemcached/util/pool.h
1cda56d Updates for RPM
Brian Aker authored
152 %{_includedir}/libmemcached/util/version.h
153 %{_includedir}/libmemcached/verbosity.h
154 %{_includedir}/libmemcached/version.h
8c301ff Updates, rpm now tests the install locations.
Brian Aker authored
155 %{_includedir}/libmemcached/visibility.h
156 %{_includedir}/libmemcached/watchpoint.h
1b978f3 Spec fix.
Brian Aker authored
157 %{_includedir}/libmemcached/memcached/protocol_binary.h
2570f90 Doing final commit before release. RPM updated, version incremented.
Brian Aker authored
158 %{_libdir}/libhashkit.so
92bf166 Adding in spec file, this has not been tested... committing from my M…
Unknown authored
159 %{_libdir}/libmemcached.so
3ce93bc Updated spec file.
Brian Aker authored
160 %{_libdir}/libmemcachedprotocol.so
8c301ff Updates, rpm now tests the install locations.
Brian Aker authored
161 %{_libdir}/libmemcachedutil.so
97822ab @BrianAker Fixup for release
BrianAker authored
162 %{_libdir}/pkgconfig/libmemcached.pc
6556f8b Updated .spec file for release.
Brian Aker authored
163 %{_mandir}/man3/hashkit_clone.3.gz
164 %{_mandir}/man3/hashkit_crc32.3.gz
165 %{_mandir}/man3/hashkit_create.3.gz
166 %{_mandir}/man3/hashkit_fnv1_32.3.gz
167 %{_mandir}/man3/hashkit_fnv1_64.3.gz
168 %{_mandir}/man3/hashkit_fnv1a_32.3.gz
169 %{_mandir}/man3/hashkit_fnv1a_64.3.gz
170 %{_mandir}/man3/hashkit_free.3.gz
171 %{_mandir}/man3/hashkit_functions.3.gz
172 %{_mandir}/man3/hashkit_hsieh.3.gz
173 %{_mandir}/man3/hashkit_is_allocated.3.gz
174 %{_mandir}/man3/hashkit_jenkins.3.gz
175 %{_mandir}/man3/hashkit_md5.3.gz
176 %{_mandir}/man3/hashkit_murmur.3.gz
177 %{_mandir}/man3/hashkit_value.3.gz
178 %{_mandir}/man3/libmemcached.3.gz
179 %{_mandir}/man3/libmemcached_examples.3.gz
180 %{_mandir}/man3/libmemcachedutil.3.gz
181 %{_mandir}/man3/memcached_add.3.gz
182 %{_mandir}/man3/memcached_add_by_key.3.gz
183 %{_mandir}/man3/memcached_analyze.3.gz
184 %{_mandir}/man3/memcached_append.3.gz
185 %{_mandir}/man3/memcached_append_by_key.3.gz
186 %{_mandir}/man3/memcached_behavior_get.3.gz
187 %{_mandir}/man3/memcached_behavior_set.3.gz
188 %{_mandir}/man3/memcached_callback_get.3.gz
189 %{_mandir}/man3/memcached_callback_set.3.gz
190 %{_mandir}/man3/memcached_cas.3.gz
191 %{_mandir}/man3/memcached_cas_by_key.3.gz
192 %{_mandir}/man3/memcached_clone.3.gz
193 %{_mandir}/man3/memcached_create.3.gz
194 %{_mandir}/man3/memcached_decrement.3.gz
195 %{_mandir}/man3/memcached_decrement_with_initial.3.gz
196 %{_mandir}/man3/memcached_delete.3.gz
197 %{_mandir}/man3/memcached_delete_by_key.3.gz
1cda56d Updates for RPM
Brian Aker authored
198 %{_mandir}/man3/memcached_destroy_sasl_auth_data.3.gz
6556f8b Updated .spec file for release.
Brian Aker authored
199 %{_mandir}/man3/memcached_dump.3.gz
200 %{_mandir}/man3/memcached_fetch.3.gz
201 %{_mandir}/man3/memcached_fetch_execute.3.gz
202 %{_mandir}/man3/memcached_fetch_result.3.gz
203 %{_mandir}/man3/memcached_flush_buffers.3.gz
204 %{_mandir}/man3/memcached_free.3.gz
205 %{_mandir}/man3/memcached_generate_hash_value.3.gz
206 %{_mandir}/man3/memcached_get.3.gz
207 %{_mandir}/man3/memcached_get_by_key.3.gz
208 %{_mandir}/man3/memcached_get_memory_allocators.3.gz
1cda56d Updates for RPM
Brian Aker authored
209 %{_mandir}/man3/memcached_get_sasl_callbacks.3.gz
6556f8b Updated .spec file for release.
Brian Aker authored
210 %{_mandir}/man3/memcached_get_user_data.3.gz
211 %{_mandir}/man3/memcached_increment.3.gz
212 %{_mandir}/man3/memcached_increment_with_initial.3.gz
213 %{_mandir}/man3/memcached_lib_version.3.gz
214 %{_mandir}/man3/memcached_mget.3.gz
215 %{_mandir}/man3/memcached_mget_by_key.3.gz
216 %{_mandir}/man3/memcached_mget_execute.3.gz
217 %{_mandir}/man3/memcached_mget_execute_by_key.3.gz
218 %{_mandir}/man3/memcached_pool_behavior_get.3.gz
219 %{_mandir}/man3/memcached_pool_behavior_set.3.gz
220 %{_mandir}/man3/memcached_pool_create.3.gz
221 %{_mandir}/man3/memcached_pool_destroy.3.gz
222 %{_mandir}/man3/memcached_pool_pop.3.gz
223 %{_mandir}/man3/memcached_pool_push.3.gz
224 %{_mandir}/man3/memcached_prepend.3.gz
225 %{_mandir}/man3/memcached_prepend_by_key.3.gz
226 %{_mandir}/man3/memcached_quit.3.gz
227 %{_mandir}/man3/memcached_replace.3.gz
228 %{_mandir}/man3/memcached_replace_by_key.3.gz
1cda56d Updates for RPM
Brian Aker authored
229 %{_mandir}/man3/memcached_sasl_set_auth_data.3.gz
6556f8b Updated .spec file for release.
Brian Aker authored
230 %{_mandir}/man3/memcached_server_add.3.gz
231 %{_mandir}/man3/memcached_server_count.3.gz
232 %{_mandir}/man3/memcached_server_cursor.3.gz
233 %{_mandir}/man3/memcached_server_list.3.gz
234 %{_mandir}/man3/memcached_server_list_append.3.gz
235 %{_mandir}/man3/memcached_server_list_count.3.gz
236 %{_mandir}/man3/memcached_server_list_free.3.gz
237 %{_mandir}/man3/memcached_server_push.3.gz
238 %{_mandir}/man3/memcached_servers_parse.3.gz
239 %{_mandir}/man3/memcached_set.3.gz
240 %{_mandir}/man3/memcached_set_by_key.3.gz
241 %{_mandir}/man3/memcached_set_memory_allocators.3.gz
1cda56d Updates for RPM
Brian Aker authored
242 %{_mandir}/man3/memcached_set_sasl_callbacks.3.gz
6556f8b Updated .spec file for release.
Brian Aker authored
243 %{_mandir}/man3/memcached_set_user_data.3.gz
244 %{_mandir}/man3/memcached_stat.3.gz
245 %{_mandir}/man3/memcached_stat_get_keys.3.gz
246 %{_mandir}/man3/memcached_stat_get_value.3.gz
247 %{_mandir}/man3/memcached_stat_servername.3.gz
248 %{_mandir}/man3/memcached_strerror.3.gz
249 %{_mandir}/man3/memcached_verbosity.3.gz
250 %{_mandir}/man3/memcached_version.3.gz
251
149b1f2 @BrianAker Build the spec file (aka I stop hand editing it).
BrianAker authored
252
8020f91 @BrianAker Readying for a release
BrianAker authored
253
a8822c1 New Spec file.
Unknown authored
254 %changelog
b9118d5 Version update information.
Brian Aker authored
255 * Fri Jan 8 2010 Brian Aker <brian@tangent.org> - 0.37-1
8c301ff Updates, rpm now tests the install locations.
Brian Aker authored
256 - Modified to be explicit in install include files.
257
a8822c1 New Spec file.
Unknown authored
258 * Sat Apr 25 2009 Remi Collet <rpms@famillecollet.com> - 0.28-1
259 - Initial RPM from Brian Aker spec
260 - create -devel subpackage
261 - add %%post %%postun %%check section
610159b @BrianAker Updates for release
BrianAker authored
262
Something went wrong with that request. Please try again.