libmemcached/libmemcached.spec

138 lines
3.8 KiB
RPMSpec
Raw Normal View History

Name: libmemcached
Version: 1.1.4
Release: 1mamba
Summary: A C and C++ client library for memcached
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://awesomized.github.io/libmemcached/
Source: https://github.com/awesomized/libmemcached.git/%{version}/libmemcached-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libevent-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
%description
libMemcached is an open source C/C++ client library and tools for 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 devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: System/Tools
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libhashkit.so.*
%{_libdir}/libmemcached.so.*
%{_libdir}/libmemcachedprotocol.so.*
%{_libdir}/libmemcachedutil.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libhashkit-1.0
%{_includedir}/libhashkit-1.0/*
%dir %{_includedir}/libhashkit
%{_includedir}/libhashkit/hashkit.h
%dir %{_includedir}/libmemcached-1.0
%{_includedir}/libmemcached-1.0/*
%dir %{_includedir}/libmemcached
%{_includedir}/libmemcached/memcached.h
%{_includedir}/libmemcached/memcached.hpp
%{_includedir}/libmemcached/util.h
%dir %{_includedir}/libmemcachedprotocol-0.0
%{_includedir}/libmemcachedprotocol-0.0/*
%dir %{_includedir}/libmemcachedutil-1.0
%{_includedir}/libmemcachedutil-1.0/*
%{_libdir}/libhashkit.so
%{_libdir}/libmemcached.so
%{_libdir}/libmemcachedprotocol.so
%{_libdir}/libmemcachedutil.so
%{_libdir}/libp9y.a
%{_libdir}/pkgconfig/libmemcached.pc
%{_datadir}/aclocal/ax_libmemcached.m4
%dir %{_libdir}/cmake/libmemcached-awesome
%{_libdir}/cmake/libmemcached-awesome/*.cmake
%dir %{_docdir}/libmemcached-awesome
%{_docdir}/libmemcached-awesome/*
#%{_mandir}/man3/hashkit_*.3.*
#%{_mandir}/man3/libhashkit.3*
#%{_mandir}/man3/libmemcached*.3*
#%{_mandir}/man3/memcached*.3*
#%doc ChangeLog NEWS README README.FIRST TODO
%files tools
%defattr(-,root,root)
%{_bindir}/memaslap
%{_bindir}/memcapable
%{_bindir}/memcat
%{_bindir}/memcp
%{_bindir}/memdump
%{_bindir}/memerror
%{_bindir}/memexist
%{_bindir}/memflush
%{_bindir}/memparse
%{_bindir}/memping
%{_bindir}/memrm
%{_bindir}/memslap
%{_bindir}/memstat
%{_bindir}/memtouch
%{_datadir}/libmemcached-awesome/example.cnf
#%{_mandir}/man1/memaslap.1*
#%{_mandir}/man1/memcapable.1*
#%{_mandir}/man1/memcat.1*
#%{_mandir}/man1/memcp.1*
#%{_mandir}/man1/memdump.1*
#%{_mandir}/man1/memerror.1*
#%{_mandir}/man1/memexist.1*
#%{_mandir}/man1/memflush.1*
#%{_mandir}/man1/memparse.1*
#%{_mandir}/man1/memping.1*
#%{_mandir}/man1/memrm.1*
#%{_mandir}/man1/memslap.1*
#%{_mandir}/man1/memstat.1*
#%{_mandir}/man1/memtouch.1*
%changelog
* Fri Apr 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.4-1mamba
- update to 1.1.4
* Sat Mar 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.18-1mamba
- package created using the webbuild interface