Summary: C++ API to the PostgreSQL database management system. Name: libpqxx Version: @VERSION@ Release: 1 License: LGPL Group: Development/Libraries Source: ftp://pqxx.org/software/libpqxx/libpqxx-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root URL: http://pqxx.org/ Vendor: Andromeda Technology & Automation Packager: Arjen Baart Prefix: %{_prefix} Docdir: %{_docdir} %description This is the official C++ client API for postgres. What libpqxx brings you is effective use of templates to reduce the inconvenience of dealing with type conversions; of standard C++ strings to keep you from having to worry about buffer allocation and overflow attacks; of exceptions to take the tedious and error-prone plumbing around error handling out of your hands; of constructors and destructors to bring resource management under control; and even basic object-orientation to give you some extra reliability features that would be hard to get with most other database interfaces. %package devel Summary: Libraries, includes, etc. to develop PostgreSQL applications in C++. Group: Development/Libraries Requires: libpqxx = %{version} %description devel Libraries, include files, etc you can use to develop PostgreSQL applications in C++. %prep %setup -q %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir} --enable-shared make %install rm -rf $RPM_BUILD_ROOT #install -d $RPM_BUILD_ROOT%{_mandir}/man1 #install -d $RPM_BUILD_ROOT%{_mandir}/man4 make prefix=$RPM_BUILD_ROOT%{prefix} mandir=$RPM_BUILD_ROOT%{_mandir} install %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHORS ChangeLog NEWS README COPYING TODO #%doc %{_mandir}/man4/libxml.4* %{prefix}/lib/lib*.so %files devel %defattr(-, root, root) #%doc %{_mandir}/man1/xml2-config.1* #%doc doc/*.html doc/html %{prefix}/lib/lib*.so %{prefix}/lib/*a %{prefix}/include/* %{prefix}/bin/pqxx-config %{prefix}/lib/pkgconfig/libpqxx.pc %changelog * Thu Jan 29 2004 Arjen Baart - Built release 2.1.3