LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File plproxy.spec.in of Package plproxy (Project server:database:postgresql)

#
# spec file for plproxy
#
%define         pgversion ##
%define		realname plproxy

Name:		postgresql%{pgversion}-plproxy 
Version:	2.4
Release:        3
Summary:	PL/Proxy is database partitioning system implemented as PL language.
License: 	BSD
Group: 		Productivity/Databases/Tools
Source:		http://pgfoundry.org/frs/download.php/3274/%{realname}-%{version}.tar.gz
Provides:	plproxy
BuildRequires:  postgresql%{pgversion}-devel flex bison
Requires:	postgresql%{pgversion}-server

%description
PL/Proxy is database partitioning system implemented as PL language.


%prep
%setup -q -n %{realname}-%{version}

%build
USE_PGXS=1 make %{?_smp_mflags}

%install
USE_PGXS=1 make %{?_smp_mflags} install DESTDIR=%{buildroot}

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYRIGHT NEWS README doc sql plproxy_fdw.sql plproxy_lang.sql
%{_prefix}/lib/postgresql%{pgversion}/%{_lib}
%{_datadir}/postgresql%{pgversion}/contrib

%changelog