Update RPM
authorBrian Aker <brian@tangent.org>
Wed, 20 Jun 2012 05:35:52 +0000 (01:35 -0400)
committerBrian Aker <brian@tangent.org>
Wed, 20 Jun 2012 05:35:52 +0000 (01:35 -0400)
Makefile.am
rpm.am
support/libmemcached.spec.in
support/memcached.init [new file with mode: 0644]

index b43381069b13f5fd32f1755f93c3915c72bc43a9..a977a2c5fcbec6153aa9106baf212eaac471ee59 100644 (file)
@@ -48,6 +48,7 @@ include libmemcachedprotocol/include.am
 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
diff --git a/rpm.am b/rpm.am
index 72763f8d775b1aae2ba5b0188d965c87a539b79c..a658132a302f47e9b8e717bded93526541c9e8de 100644 (file)
--- a/rpm.am
+++ b/rpm.am
@@ -25,7 +25,12 @@ rpm-sign: rpm-build
        @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
 
@@ -37,3 +42,5 @@ merge-clean:
        @echo "The follow files need to be removed or checked in:"
        @bzr unknowns
 
+auto-rpmbuild:
+       @auto-br-rpmbuild -ba support/libmemcached.spec
index b422ba67bbb68cc6b16d0bdda6c70c7272e8d1b8..1a1bd35664659621d929c338d9e106b0578b6ae8 100644 (file)
@@ -8,7 +8,39 @@ URL:       http://launchpad.net/libmemcached
 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)
 
diff --git a/support/memcached.init b/support/memcached.init
new file mode 100644 (file)
index 0000000..e69de29