SPECS: pgpool.spec (NEW) - initial for PLD - NFY
zawadaa
zawadaa at pld-linux.org
Wed Sep 28 11:25:25 CEST 2005
Author: zawadaa Date: Wed Sep 28 09:25:25 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial for PLD
- NFY
---- Files affected:
SPECS:
pgpool.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/pgpool.spec
diff -u /dev/null SPECS/pgpool.spec:1.1
--- /dev/null Wed Sep 28 11:25:25 2005
+++ SPECS/pgpool.spec Wed Sep 28 11:25:19 2005
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+#
+# TODO
+# - I think it shuld be daemon so rc-scripts support is needed
+# (user pgpool?)
+#
+Summary: Pgpool is a connection pooling/replication server for PostgreSQL.
+Name: pgpool
+Version: 2.6.3
+Release: 0.1
+Epoch: 0
+License: BSD
+Group: Applications/Databases
+Source0: http://pgfoundry.org/frs/download.php/426/%{name}-%{version}.tar.gz
+# Source0-md5
+URL: http://pgfoundry.org/projects/pgpool/
+Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pgpool is a connection pooling/replication server for PostgreSQL.
+
+%prep
+%setup -q
+%build
+CFLAGS="${CFLAGS:-%{rpmcflags}}" ; export CFLAGS
+CXXFLAGS="${CXXFLAGS:-%{rpmcflags}}" ; export CXXFLAGS
+
+%configure \
+ --bindir %{_bindir} \
+ --sysconfdir=%{_sysconfdir}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+install pgpool $RPM_BUILD_ROOT%{_bindir}/
+install pgpool.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/pgpool.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README README.euc_jp TODO AUTHORS COPYING INSTALL
+%attr(755,root,root) %{_bindir}/pgpool
+%config(noreplace) %verify(not md5 mtime size)/pgpool.conf
+
+%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 2005/09/28 09:25:19 zawadaa
+- initial for PLD
+- NFY
+
================================================================
More information about the pld-cvs-commit
mailing list