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