File libpgeasy.spec of Package libpgeasy

# spec file for package libpgeasy (Version 3.0.4)
# Copyright (c) 2009 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

# norootforbuild

Name:           libpgeasy
BuildRequires:  krb5-devel postgresql-devel
Summary:        Simplified C Client Interface for PostgreSQL
Version:        3.0.4
Release:        181
License:        BSD 3-Clause
Group:          Productivity/Databases/Clients
Source0:        %name-%version.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Provides:       postgresql-libs:%_libdir/ pgeasy

LIBPGEASY is a simplified C interface that hides some of the complexity

    Andrew Yu <>
    Jolly Chen <>
    Bruce Momjian <>
    Thomas G. Lockhart <>
    Tom Lane <>
    The Hermit Hacker <>

%setup -q

export CFLAGS="%optflags"
%configure \
	--with-pqinclude=%_includedir/pgsql \
	--with-pqlib=%_libdir \
	--disable-static \
make %{?jobs:-j%jobs}

make install DESTDIR=%buildroot

rm -rf %buildroot

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%doc CHANGES README docs/*.html examples

* Thu Dec 27 2007
- fix library-without-ldconfig-post* errors
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Wed Nov 02 2005
- don't build as root
* Thu Nov 18 2004
- use kerberos-devel-packages
* Thu Nov 11 2004
- fixed file list
* Thu Aug 19 2004
- New version: 3.0.4.
- Renamed from pgeasy to libpgeasy.
* Mon Jan 27 2003
- Added split-provides.
* Mon Jan 27 2003
- Split off from the postgresql-libs package, because they are now
  separate projects.
openSUSE Build Service is sponsored by