memcached/memcached.spec

68 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: memcached
Version: 1.4.19
Release: 1mamba
Summary: A high-performance, distributed memory object caching system
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://code.google.com/p/memcached
## GITSOURCE https://github.com/memcached/memcached.git 1.4.17
Source: https://github.com/memcached/memcached.git/%{version}/memcached-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libevent-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
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.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
./autogen.sh
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/memcached
%{_mandir}/man1/memcached.1*
%doc AUTHORS COPYING LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/memcached
%{_includedir}/memcached/protocol_binary.h
%doc ChangeLog NEWS README.md
%changelog
* Tue May 06 2014 Automatic Build System <autodist@mambasoft.it> 1.4.19-1mamba
- automatic version update by autodist
* Sun Apr 20 2014 Automatic Build System <autodist@mambasoft.it> 1.4.18-1mamba
- automatic version update by autodist
* Sat Mar 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.17-1mamba
- package created using the webbuild interface