Logoj0ke.net Open Build Service > Projects > server:database:postgresql > libpqxx > Changes
Sign Up | Log In

Changes of Revision 6

[-] Added libpqxx.spec
x
 
1
@@ -0,0 +1,128 @@
2
+#
3
+# spec file for package libpqxx (Version 2.6.9)
4
+#
5
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
6
+# This file and all modifications and additions to the pristine
7
+# package are under the same license as the package itself.
8
+#
9
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
10
+#
11
+
12
+# norootforbuild
13
+
14
+Name:           libpqxx
15
+BuildRequires:  gcc-c++ krb5-devel postgresql-devel
16
+Url:            http://pqxx.org/development/libpqxx/
17
+Summary:        C++ Client Library for PostgreSQL
18
+Version:        2.6.9
19
+Release:        27
20
+License:        BSD 3-Clause
21
+Group:          Productivity/Databases/Clients
22
+Source0:        %name-%version.tar.bz2
23
+Source1:        libpqxx-rpmlintrc
24
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
25
+Patch:          libpqxx.diff
26
+Patch1:         fix-visibility.diff
27
+
28
+%description
29
+C++ client API for PostgreSQL. This is the standard front-end (in the
30
+sense of "language binding") for writing C++ programs that use
31
+PostgreSQL. This supersedes the older libpq++ interface. It requires an
32
+up-to-date C++ compiler, such as gcc 2.95 or better.
33
+
34
+
35
+
36
+Authors:
37
+--------
38
+    Jeroen T. Vermeulen <jtv@xs4all.nl>
39
+
40
+%package devel
41
+Summary:        C++ Client Library for PostgreSQL
42
+Group:          Productivity/Databases/Clients
43
+Requires:       libpqxx = %version
44
+
45
+%description devel
46
+C++ client API for PostgreSQL. This is the standard front-end (in the
47
+sense of "language binding") for writing C++ programs that use
48
+PostgreSQL. This supersedes the older libpq++ interface. It requires an
49
+up-to-date C++ compiler, such as gcc 2.95 or better.
50
+
51
+
52
+
53
+Authors:
54
+--------
55
+    Jeroen T. Vermeulen <jtv@xs4all.nl>
56
+
57
+%prep
58
+%setup -q
59
+%patch -p0
60
+%patch1
61
+chmod 0644 AUTHORS COPYING ChangeLog NEWS README README-UPGRADE TODO
62
+
63
+%build
64
+autoconf
65
+export CFLAGS="%optflags"
66
+export CXXFLAGS="$CFLAGS"
67
+./configure \
68
+   --prefix=/usr \
69
+   --libdir=%_libdir \
70
+   --enable-shared \
71
+   --enable-static
72
+make %{?jobs:-j%jobs} all
73
+
74
+%install
75
+make DESTDIR=%buildroot install
76
+
77
+%clean
78
+rm -rf $RPM_BUILD_ROOT
79
+
80
+%files
81
+%defattr(-,root,root,-)
82
+%doc AUTHORS COPYING ChangeLog NEWS README README-UPGRADE TODO
83
+%_libdir/%name-%version.so
84
+
85
+%files devel
86
+%defattr(-,root,root,-)
87
+%doc doc/html
88
+%_libdir/%name.*
89
+%_includedir/pqxx
90
+%_libdir/pkgconfig/libpqxx.pc
91
+/usr/bin/pqxx-config
92
+
93
+%changelog
94
+* Mon Jan 14 2008 - dmueller@suse.de
95
+- fix last change
96
+* Mon Jan 14 2008 - aj@suse.de
97
+- Fix build with g++.
98
+* Mon Jul 30 2007 - max@suse.de
99
+- New version: 2.6.9 (#280593). Changes include:
100
+  * Removed old 1.x API
101
+  * Greatly reduced memory usage while escaping strings
102
+  * Useful error messages when preparing statements
103
+  * New cursor class, absolute_cursor
104
+  * New, encoding-safe string-escaping functions
105
+  * Radical rework of prepared statements;
106
+  INCOMPATIBLE INTERFACE CHANGE!
107
+  * Support for subtransactions
108
+  * Detect more connection capabilities
109
+  * Greatly improved cursor support
110
+  * ... and many many mire bug fixes and improvements.
111
+- Tell rpmlint to shut up.
112
+* Wed Jan 25 2006 - mls@suse.de
113
+- converted neededforbuild to BuildRequires
114
+* Mon Jan 09 2006 - max@suse.de
115
+- New version 2.5.5
116
+* Thu Nov 18 2004 - ro@suse.de
117
+- use kerberos-devel-packages
118
+* Thu Aug 19 2004 - max@suse.de
119
+- New version: 2.2.7
120
+* Tue Nov 18 2003 - max@suse.de
121
+- New version: 2.1.1
122
+- Split off a libpqxx-devel package
123
+- Added heimdal-lib to neededforbuild
124
+- Enabled building as non-root user
125
+* Mon Jan 27 2003 - max@suse.de
126
+- Quote $RPM_OPT_FLAGS
127
+* Mon Jan 27 2003 - max@suse.de
128
+- New Package libpqxx: A C++ client library for PostgreSQL
129
+- Version 1.3.3
130