include libmemcachedinternal/include.am
include libmemcachedinternal/util/include.am
include poll/include.am
+include rpm.am
include support/include.am
include tests/include.am
include util/include.am
@rpm --addsign *.rpm
@rpm --checksig *.rpm
-rpm: support/$(PACKAGE).spec man distcheck rpm-build
+clean-rpm:
+ @rm -f *.tar.gz
+ @rm -f *.src.rpm
+ @rm -f *.rpm
+
+rpm: clean-rpm support/$(PACKAGE).spec man distcheck rpm-build
release: rpm rpm-sign
@echo "The follow files need to be removed or checked in:"
@bzr unknowns
+auto-rpmbuild:
+ @auto-br-rpmbuild -ba support/libmemcached.spec
Source0: http://download.tangent.org/libmemcached-%{version}.tar.gz
# For test suite
+BuildRequires: bash
+BuildRequires: binutils
+BuildRequires: ccache
+BuildRequires: coreutils
+BuildRequires: cpio
+BuildRequires: cyrus-sasl-devel
+BuildRequires: diffutils
+BuildRequires: elfutils
+BuildRequires: file
+BuildRequires: findutils
+BuildRequires: gawk
+BuildRequires: gcc
+BuildRequires: gdb
+BuildRequires: glibc
+BuildRequires: glibc-common
+BuildRequires: glibc-devel
+BuildRequires: glibc-headers
+BuildRequires: grep
+BuildRequires: gzip
+BuildRequires: hostname
+BuildRequires: libevent-devel
+BuildRequires: libstdc++-devel
+BuildRequires: libuuid-devel
+BuildRequires: llvm-libs
+BuildRequires: make
BuildRequires: memcached
+BuildRequires: mysql-libs
+BuildRequires: pkgconfig
+BuildRequires: protobuf-devel
+BuildRequires: python-sphinx
+BuildRequires: qt3
+BuildRequires: sed
+BuildRequires: tar
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)