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