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

Changes of Revision 3

[-] Added libpgeasy.spec
x
 
1
@@ -0,0 +1,88 @@
2
+#
3
+# spec file for package libpgeasy (Version 3.0.4)
4
+#
5
+# Copyright (c) 2007 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:           libpgeasy
15
+BuildRequires:  krb5-devel postgresql-devel
16
+Url:            http://gborg.postgresql.org/project/pgeasy
17
+Summary:        Simplified C Client Interface for PostgreSQL
18
+Version:        3.0.4
19
+Release:        109
20
+License:        BSD 3-Clause
21
+Group:          Productivity/Databases/Clients
22
+Source0:        %name-%version.tar.bz2
23
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
24
+Provides:       postgresql-libs:%_libdir/libpgeasy.so.2.2 pgeasy
25
+
26
+%description
27
+LIBPGEASY is a simplified C interface that hides some of the complexity
28
+of LIBPQ.
29
+
30
+
31
+
32
+Authors:
33
+--------
34
+    Andrew Yu <andrew@CS.Berkeley.edu>
35
+    Jolly Chen <jolly@CS.Berkeley.edu>
36
+    Bruce Momjian <maillist@candle.pha.pa.us>
37
+    Thomas G. Lockhart <lockhart@alumni.caltech.edu>
38
+    Tom Lane <tgl@sss.pgh.pa.us>
39
+    The Hermit Hacker <scrappy@hub.org>
40
+    etc.
41
+
42
+%prep
43
+%setup -q
44
+
45
+%build
46
+export CFLAGS="%optflags"
47
+%configure \
48
+   --with-pqinclude=%_includedir/pgsql \
49
+   --with-pqlib=%_libdir \
50
+   --disable-static \
51
+   --with-pic
52
+make %{?jobs:-j%jobs}
53
+
54
+%install
55
+make install DESTDIR=%buildroot
56
+
57
+%clean
58
+rm -rf %buildroot
59
+
60
+%post -p /sbin/ldconfig
61
+
62
+%postun -p /sbin/ldconfig
63
+
64
+%files
65
+%defattr(-,root,root,-)
66
+%doc CHANGES README docs/*.html examples
67
+%_includedir/libpgeasy.h
68
+%_libdir/lib*
69
+
70
+%changelog
71
+* Thu Dec 27 2007 - crrodriguez@suse.de
72
+- fix library-without-ldconfig-post* errors
73
+* Wed Jan 25 2006 - mls@suse.de
74
+- converted neededforbuild to BuildRequires
75
+* Wed Nov 02 2005 - dmueller@suse.de
76
+- don't build as root
77
+* Thu Nov 18 2004 - ro@suse.de
78
+- use kerberos-devel-packages
79
+* Thu Nov 11 2004 - ro@suse.de
80
+- fixed file list
81
+* Thu Aug 19 2004 - max@suse.de
82
+- New version: 3.0.4.
83
+- Renamed from pgeasy to libpgeasy.
84
+* Mon Jan 27 2003 - max@suse.de
85
+- Quote $RPM_OPT_FLAGS.
86
+- Added split-provides.
87
+* Mon Jan 27 2003 - max@suse.de
88
+- Split off from the postgresql-libs package, because they are now
89
+  separate projects.
90