[521] | 1 | Summary: A C++ API to the PostgreSQL database management system. |
---|
| 2 | Summary(ja): PostgreSQL の C++ API |
---|
| 3 | Name: libpqxx |
---|
[9138] | 4 | Version: 4.0.1 |
---|
[10517] | 5 | Release: 3%{?_dist_release} |
---|
[3151] | 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | License: BSD |
---|
| 9 | URL: http://pqxx.org/ |
---|
| 10 | |
---|
[10517] | 11 | Vendor: Project Vine |
---|
| 12 | Distribution: Vine Linux |
---|
| 13 | |
---|
[3151] | 14 | Source: ftp://pqxx.org/software/libpqxx/%{name}-%{version}.tar.gz |
---|
| 15 | Patch3: libpqxx-2.6.8-multilib.patch |
---|
| 16 | |
---|
[521] | 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9138] | 18 | BuildRequires: libpq-devel |
---|
[521] | 19 | |
---|
| 20 | %description |
---|
| 21 | What libpqxx brings you is effective use of templates to reduce the |
---|
| 22 | inconvenience of dealing with type conversions; of standard C++ strings |
---|
| 23 | to keep you from having to worry about buffer allocation and overflow |
---|
| 24 | attacks; of exceptions to take the tedious and error-prone plumbing around |
---|
| 25 | error handling out of your hands; of constructors and destructors to bring |
---|
| 26 | resource management under control; and even basic object-orientation |
---|
| 27 | to give you some extra reliability features that would be hard to get |
---|
| 28 | with most other database interfaces. |
---|
| 29 | |
---|
| 30 | %package devel |
---|
| 31 | Summary: Libraries, includes, etc. to develop PostgreSQL applications in C++. |
---|
[9138] | 32 | Summary(ja): C++ で PostgreSQL アプリケーションを開発するためのファイル集 |
---|
[521] | 33 | Group: Development/Libraries |
---|
[3151] | 34 | Requires: %{name} = %{version}-%{release} |
---|
[9262] | 35 | Requires: libpq-devel |
---|
[521] | 36 | |
---|
| 37 | %description devel |
---|
| 38 | Libraries, include files, etc you can use to develop PostgreSQL applications |
---|
| 39 | in C++. |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q |
---|
[3151] | 43 | %patch3 -p1 -b .multilib |
---|
[521] | 44 | |
---|
[3151] | 45 | # fix spurious permissions |
---|
| 46 | chmod -x COPYING |
---|
| 47 | |
---|
[521] | 48 | %build |
---|
[3151] | 49 | %configure --enable-shared --disable-static |
---|
[521] | 50 | |
---|
[3151] | 51 | make %{?_smp_mflags} LIBS="-lpq -lpthread" |
---|
| 52 | |
---|
[521] | 53 | %install |
---|
| 54 | rm -rf $RPM_BUILD_ROOT |
---|
| 55 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 56 | |
---|
| 57 | %clean |
---|
| 58 | rm -rf $RPM_BUILD_ROOT |
---|
| 59 | |
---|
| 60 | %post -p /sbin/ldconfig |
---|
| 61 | |
---|
| 62 | %postun -p /sbin/ldconfig |
---|
| 63 | |
---|
| 64 | %files |
---|
| 65 | %defattr(-,root,root) |
---|
[3151] | 66 | %doc AUTHORS ChangeLog COPYING NEWS README |
---|
[521] | 67 | %{_libdir}/*.so |
---|
| 68 | |
---|
| 69 | %files devel |
---|
| 70 | %defattr(-,root,root) |
---|
| 71 | %doc doc/html/Reference doc/html/Tutorial |
---|
| 72 | %{_bindir}/* |
---|
| 73 | %{_includedir}/pqxx/* |
---|
[3151] | 74 | %exclude %{_libdir}/*.la |
---|
[521] | 75 | %{_libdir}/pkgconfig/*.pc |
---|
| 76 | |
---|
| 77 | %changelog |
---|
[10517] | 78 | * Sun Jul 3 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.1-3 |
---|
| 79 | - rebuilt with new toolchain. |
---|
| 80 | |
---|
[9262] | 81 | * Thu Jan 15 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.0.1-2 |
---|
| 82 | - added R: soprano-devel to devel subpackage |
---|
| 83 | |
---|
[9138] | 84 | * Mon Dec 1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.0.1-1 |
---|
| 85 | - new upstream release |
---|
| 86 | - rebuilt with libpq 9.3.4 |
---|
| 87 | |
---|
[3425] | 88 | * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 3.1-2 |
---|
| 89 | - rebuilt with postgresql-9.0.3 |
---|
| 90 | |
---|
[3151] | 91 | * Sun Mar 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.1-1 |
---|
| 92 | - new upstream release |
---|
| 93 | - added LIBS="-lpq -lpthread" |
---|
| 94 | - updated URL |
---|
| 95 | |
---|
[1984] | 96 | * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.9-3 |
---|
| 97 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 98 | - added libpqxx-2.6.9-glibc-headers.patch |
---|
| 99 | |
---|
[521] | 100 | * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.6.9-2 |
---|
| 101 | - rebuilt with postgresql-8.4.0 |
---|
| 102 | |
---|
| 103 | * Sat Jul 05 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.9-1vl5 |
---|
| 104 | - rebuilt with postgresql-8.3.3 |
---|
| 105 | - applied new versioning policy, and spec in utf-8 |
---|
| 106 | |
---|
| 107 | * Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.9-0vl3 |
---|
| 108 | - rebuilt with postgresql-8.2.6 |
---|
| 109 | |
---|
| 110 | * Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 2.6.9-0vl2 |
---|
| 111 | - rebuilt with postgresql-8.2.5 |
---|
| 112 | |
---|
| 113 | * Tue May 22 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.6.9-0vl1 |
---|
| 114 | - new upstream release |
---|
| 115 | - build with new toolchain |
---|
| 116 | |
---|
| 117 | * Sun Oct 22 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.5-0vl2 |
---|
| 118 | - added --libdir=%%{_libdir} configure option |
---|
| 119 | |
---|
| 120 | * Thu Jul 7 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.5-0vl1 |
---|
| 121 | - new upstream release |
---|
| 122 | - add Japanese summary |
---|
| 123 | |
---|
| 124 | * Wed Jun 1 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.3-0vl1 |
---|
| 125 | - new upstream release |
---|
| 126 | |
---|
| 127 | * Wed Apr 27 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.0-0vl1 |
---|
| 128 | - new upstream release |
---|
| 129 | - clean up this file |
---|
| 130 | |
---|
| 131 | * Thu Jan 29 2004 Arjen Baart <arjen@andromeda.nl> |
---|
| 132 | - Built release 2.1.3 |
---|