Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
libpqxx
libpqxx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libpqxx.spec of Package libpqxx
# # spec file for package libpqxx # # Copyright (c) 2013 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/ # %define abi_ver_major 4 %define abi_ver_minor 0 Name: libpqxx Version: 4.0.1 Release: 0 Summary: C++ Client Library for PostgreSQL License: BSD-3-Clause Group: System/Libraries Url: http://pqxx.org/development/libpqxx/ Source: http://pqxx.org/download/software/%{name}/%{name}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRequires: postgresql-devel BuildRequires: python %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 %{abi_ver_major}_%{abi_ver_minor} Summary: C++ Client Library for PostgreSQL Group: System/Libraries %description %{abi_ver_major}_%{abi_ver_minor} 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: C++ Client Library for PostgreSQL Group: Development/Libraries/Other Requires: %{name}-%{abi_ver_major}_%{abi_ver_minor} = %{version} %description devel This package contains header files and documentation needed for writing C++ programs that connect to a PostgreSQL database. %prep %setup -q chmod 0644 AUTHORS COPYING ChangeLog NEWS README README-UPGRADE %build %configure \ --enable-shared \ --disable-static make %{?_smp_mflags} %install %make_install rm %{buildroot}%{_libdir}/%{name}.la pushd doc/html/Reference %fdupes -s . popd %files %{abi_ver_major}_%{abi_ver_minor} %defattr(-, root, root) %doc AUTHORS ChangeLog NEWS README README-UPGRADE COPYING %{_libdir}/%{name}-%{abi_ver_major}.%{abi_ver_minor}.so %files devel %defattr(-, root, root) %doc doc/html %{_libdir}/pkgconfig/libpqxx.pc %{_libdir}/%{name}.so %{_includedir}/pqxx/ %{_bindir}/pqxx-config %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