Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:database:postgresql
pgpool-II
postgresql-pgpool-II.spec.in
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File postgresql-pgpool-II.spec.in of Package pgpool-II
# # spec file for package pgpool-II # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %if 0%{?suse_version} >= 1230 %bcond_without systemd %else %bcond_with systemd %endif %define pgversion ## %define sname pgpool-II %define pkg_home %{_var}/run/pgpool %define pkg_logdir %{_var}/log/pgpool %define pkg_user pgpool %define pkg_group pgpool %define pgpool_sysconfdir %{_sysconfdir}/pgpool-II %define pgpool_extensiondir %(/usr/lib/postgresql%{pgversion}/bin/pg_config --pkglibdir) %define pgpool_contribdir %(/usr/lib/postgresql%{pgversion}/bin/pg_config --sharedir)/extension %define SuSeFirewall_services_dir %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services %define pgpooladmin_version 3.6.1 Name: postgresql%{pgversion}-pgpool-II Version: 3.6.5 Release: 0 # Summary: A Connection Pooling/Replication Server for PostgreSQL # License: PostgreSQL Group: Productivity/Databases/Tools # Url: http://www.pgpool.net/ Source: http://www.pgpool.net/mediawiki/images/%{sname}-%{version}.tar.gz Source1: pgpool-II.init Source2: pgpool-II.sysconfig Source3: http://www.pgpool.net/mediawiki/images/pgpoolAdmin-%{pgpooladmin_version}.tar.gz Source4: pgpool-II.service Source5: pgpool-II.tmpfiles.d Patch0: pgpool-II_conf.patch BuildRequires: libopenssl-devel BuildRequires: pam-devel BuildRequires: postgresql%{pgversion}-server-devel BuildRequires: postgresql%{pgversion}-server BuildRequires: %{sname}-devel %if 0%{?suse_version} > 1110 BuildRequires: libmemcached-devel %endif %if %{with systemd} BuildRequires: pkgconfig(systemd) %endif # BuildRoot: %{_tmppath}/%{name}-%{version}-build %description pgpool-II is a middleware that works between PostgreSQL servers and a PostgreSQL database client. It provides the following features. This package holds the postgresql extensions for pgpool-II support. %prep %setup -q -a 3 -n %{sname}-%{version} %patch0 -p1 chmod a-x doc/* %build export PATH="$PATH:/usr/lib/postgresql%{pgversion}/bin" for i in src/sql/pgpool*/ ; do make -C $i CUSTOM_COPT="-g" ; done %install export PATH="$PATH:/usr/lib/postgresql%{pgversion}/bin" for i in src/sql/pgpool*/ ; do make DESTDIR=%{buildroot} install %{?_smp_mflags} -C $i ; done %files %defattr(-,root,root) # extensions %dir %{pgpool_contribdir}/ %{pgpool_extensiondir}/pgpool-regclass.so %{pgpool_contribdir}/pgpool-regclass.sql %{pgpool_contribdir}/pgpool_regclass.control %{pgpool_contribdir}/pgpool_regclass--*.sql # %{pgpool_extensiondir}/pgpool-recovery.so %{pgpool_contribdir}/pgpool-recovery.sql %{pgpool_contribdir}/pgpool_recovery.control %{pgpool_contribdir}/pgpool_recovery--*.sql # %{pgpool_extensiondir}/pgpool_adm.so %{pgpool_contribdir}/pgpool_adm*.sql %{pgpool_contribdir}/pgpool_adm.control # %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor