Accepting request 59857 from YaST:Web
Accepted submit request 59857 from user schubi2 OBS-URL: https://build.opensuse.org/request/show/59857 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmemcached?expand=0&rev=1
This commit is contained in:
commit
0a4e1ff90c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
libmemcached-0.30.tar.bz2
Normal file
3
libmemcached-0.30.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d15bbe042cd3e120988794081a4a8b0374f080eead00846d7f4df043bc6e8168
|
||||
size 357587
|
25
libmemcached.changes
Normal file
25
libmemcached.changes
Normal file
@ -0,0 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 2 19:49:13 CEST 2009 - pascal.bleser@opensuse.org
|
||||
|
||||
- spec file cleanups
|
||||
* removed autoreconf, not needed as there are no patches to autotools
|
||||
* proper use of macros such as %%makeinstall
|
||||
* slightly more deterministic %%files sections
|
||||
|
||||
- disabled %%check section for now, one check failing for no apparent reason
|
||||
|
||||
- split out new libmemcached0 library into its own subpackage
|
||||
|
||||
- update to 0.30:
|
||||
* added a memcachd_dump command (and framework for the memdump tool)
|
||||
* realigned all structures to remove padding (and line up important bits for 64-bit caches
|
||||
* removed some of the sprintf() statements in storage calls()
|
||||
* removed printf() in a stat call for unknown stat members
|
||||
* added amemcached_generate_hash() function
|
||||
* added tests to make sure all hash functions are stable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 5 02:50:16 CET 2009 - crrodriguez@suse.de
|
||||
|
||||
- initial version
|
||||
|
119
libmemcached.spec
Normal file
119
libmemcached.spec
Normal file
@ -0,0 +1,119 @@
|
||||
Name: libmemcached
|
||||
# List of additional build dependencies
|
||||
BuildRequires: gcc-c++ memcached
|
||||
%if 0%{?suse_version} > 1020
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
Version: 0.30
|
||||
Release: 1
|
||||
License: BSD
|
||||
# http://download.tangent.org/libmemcached-%{version}.tar.gz
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Libmemcached is a C and C++ client library to the memcached server
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Libmemcached is a C and C++ client library to the memcached server
|
||||
(http://danga.com/memcached). It has been designed to be light on
|
||||
memory usage, thread safe, and provide full access to server side
|
||||
methods.
|
||||
|
||||
%package -n libmemcached2
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Libmemcached is a C and C++ client library to the memcached server
|
||||
|
||||
%description -n libmemcached2
|
||||
Libmemcached is a C and C++ client library to the memcached server
|
||||
(http://danga.com/memcached). It has been designed to be light on
|
||||
memory usage, thread safe, and provide full access to server side
|
||||
methods.
|
||||
|
||||
%package -n libmemcachedutil0
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Libmemcached is a C and C++ client library to the memcached server
|
||||
|
||||
%description -n libmemcachedutil0
|
||||
Libmemcached is a C and C++ client library to the memcached server
|
||||
(http://danga.com/memcached). It has been designed to be light on
|
||||
memory usage, thread safe, and provide full access to server side
|
||||
methods.
|
||||
|
||||
The libmemcachedutil library contains utility functions used by
|
||||
libmemcached.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version} libmemcached2 = %{version} glibc-devel
|
||||
Summary: Libmemcached is a C and C++ client library to the memcached server
|
||||
|
||||
%description devel
|
||||
Libmemcached is a C and C++ client library to the memcached server
|
||||
(http://danga.com/memcached). It has been designed to be light on
|
||||
memory usage, thread safe, and provide full access to server side
|
||||
methods.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --with-memcached=%{_sbindir}/memcached --disable-static --with-pic
|
||||
%__make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
%__rm -f %{buildroot}%{_libdir}/*.la
|
||||
%if 0%{?suse_version} > 1020
|
||||
# create symlinks for man pages
|
||||
%fdupes -s %{buildroot}%{_mandir}
|
||||
%endif
|
||||
|
||||
#%check
|
||||
#%__make check
|
||||
|
||||
%clean
|
||||
%__rm -rf "%{buildroot}"
|
||||
|
||||
%post -n libmemcached2 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libmemcached2 -p /sbin/ldconfig
|
||||
|
||||
%post -n libmemcachedutil0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libmemcachedutil0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/memcat
|
||||
%{_bindir}/memcp
|
||||
%{_bindir}/memdump
|
||||
%{_bindir}/memerror
|
||||
%{_bindir}/memflush
|
||||
%{_bindir}/memrm
|
||||
%{_bindir}/memslap
|
||||
%{_bindir}/memstat
|
||||
%doc %{_mandir}/man1/mem*.1*
|
||||
|
||||
%files -n libmemcached2
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libmemcached.so.2
|
||||
%{_libdir}/libmemcached.so.2.*.*
|
||||
|
||||
%files -n libmemcachedutil0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libmemcachedutil.so.0
|
||||
%{_libdir}/libmemcachedutil.so.0.*.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/libmemcached
|
||||
%{_includedir}/libmemcached/*
|
||||
%{_libdir}/pkgconfig/libmemcached.pc
|
||||
%{_libdir}/libmemcached.so
|
||||
%{_libdir}//libmemcachedutil.so
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 05 2009 crrodriguez@novell.com
|
||||
- packaged libmemcached version 0.26 using the buildservice spec file wizard
|
Loading…
Reference in New Issue
Block a user