Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
libpqxx
libpqxx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libpqxx.spec of Package libpqxx
# # spec file for package libpqxx # # Copyright (c) 2012 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/ # Name: libpqxx %if 0%{?suse_version} > 1100 BuildRequires: fdupes %endif BuildRequires: gcc-c++ BuildRequires: krb5-devel BuildRequires: postgresql-devel BuildRequires: pkg-config Url: http://pqxx.org/development/libpqxx/ Summary: C++ Client Library for PostgreSQL Version: 3.1 Release: 7 License: BSD-3-Clause Group: Productivity/Databases/Clients Source0: %name-%version.tar.bz2 Source1: libpqxx-rpmlintrc # PATCH-FIX-UPSTREAM libpqxx-gcc46.patch idoenmez@suse.de # -- Fix compilation with gcc 4.6, upstream r1722 Patch1: libpqxx-gcc46.patch # PATCH-FIX-UPSTREAM libpqxx-gcc47.patch dimstar@opensuse.org -- Fix build with gcc 4.7 Patch2: libpqxx-gcc47.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is the standard library for C++ programs that connect to a PostgreSQL database server. %package devel License: BSD-3-Clause Summary: C++ Client Library for PostgreSQL Group: Productivity/Databases/Clients Requires: libpqxx = %version %description devel This package contains header files and documentation needed for writing C++ programs that connect to a PostgreSQL database. %prep %setup -q %patch1 %patch2 -p1 chmod 0644 AUTHORS COPYING ChangeLog NEWS README README-UPGRADE %build %configure --enable-shared --disable-static --with-pic make %{?jobs:-j%jobs} all %install make DESTDIR=%buildroot install rm -f %buldroot%_libdir/*.la DOCDIR=%buildroot%_docdir/%name mkdir -p $DOCDIR cp -a AUTHORS ChangeLog COPYING NEWS README* doc/html $DOCDIR %if 0%{?suse_version} > 1100 %fdupes $DOCDIR %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %_libdir/%name-%version.so %files devel %defattr(-,root,root,-) %doc %_docdir/%name %_includedir/pqxx %exclude %_libdir/%name-%version.so %_libdir/lib* %_libdir/pkgconfig/libpqxx.pc /usr/bin/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