SPECS: skytools.spec (NEW) - added
aredridel
aredridel at pld-linux.org
Fri Mar 2 02:21:03 CET 2007
Author: aredridel Date: Fri Mar 2 01:21:03 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added
---- Files affected:
SPECS:
skytools.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/skytools.spec
diff -u /dev/null SPECS/skytools.spec:1.1
--- /dev/null Fri Mar 2 02:21:03 2007
+++ SPECS/skytools.spec Fri Mar 2 02:20:57 2007
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+%define snap 20070301
+Summary: Database support tools and replication for PostgreSQL
+Name: skytools
+Version: 0.5.4
+Release: 1
+License: GPL
+Group: Libraries/Python
+Source0: %{name}-%{snap}.tar.gz
+# Source0-md5: 3e0f9b1065203fc16ffc6c1d2e49b2d0
+URL: https://developer.skype.com/SkypeGarage/DbProjects/SkyTools
+BuildRequires: autoconf >= 2.57
+BuildRequires: automake
+BuildRequires: postgresql-backend-devel
+BuildRequires: python-devel >= 1:2.3
+Requires: libextractor >= %{version}
+%pyrequires_eq python-libs
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is package of tools used at Skype to manage their cluster of
+PostgreSQL servers.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%configure
+python setup.py build
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+python setup.py install \
+ --root=$RPM_BUILD_ROOT \
+ --optimize=2
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/postgresql/*.so
+%dir %{py_sitescriptdir}/londiste
+%{py_sitescriptdir}/londiste/*.py[co]
+%dir %{py_sitescriptdir}/pgq
+%{py_sitescriptdir}/pgq/*.py[co]
+%dir %{py_sitescriptdir}/skytools
+%{py_sitescriptdir}/skytools/*.py[co]
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/03/02 01:20:57 aredridel
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list