Changes of Revision 14
[-] | Added | postgresql.spec |
x 1
2 +# 3 +# spec file for package postgresql (Version 8.3.5) 4 +# 5 +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. 6 +# 7 +# All modifications and additions to the file contributed by third parties 8 +# remain the property of their copyright owners, unless otherwise agreed 9 +# upon. The license for this file, and modifications and additions to the 10 +# file, is the same license as for the pristine package itself (unless the 11 +# license for the pristine package is not an Open Source License, in which 12 +# case the license is the MIT License). An "Open Source License" is a 13 +# license that conforms to the Open Source Definition (Version 1.9) 14 +# published by the Open Source Initiative. 15 + 16 +# Please submit bugfixes or comments via http://bugs.opensuse.org/ 17 +# 18 + 19 + 20 + 21 +Name: postgresql 22 +BuildRequires: bison flex gettext-devel krb5-devel libxslt-devel 23 +BuildRequires: openldap2-devel openssl-devel pam-devel readline-devel zlib-devel 24 +BuildRequires: ncurses-devel 25 +Summary: Basic Clients and Utilities for PostgreSQL 26 +Version: 8.3.5 27 +Release: 1 28 +%define pg_minor_version %(echo %version | cut -f1-2 -d.) 29 +License: BSD 3-Clause 30 +Group: Productivity/Databases/Tools 31 +Source0: postgresql-%version.tar.bz2 32 +Source2: postgresql-README.SuSE.de 33 +Source3: postgresql-README.SuSE.en 34 +Source8: postgresql-sysconfig 35 +Source9: postgresql-init 36 +Source15: postgresql-bashprofile 37 +Source16: postgresql-firewall 38 +Source17: postgresql-rpmlintrc 39 +Source99: postgresql-pl.spec 40 +Patch1: postgresql-8.3-conf.patch 41 +PreReq: postgresql-libs = %pg_minor_version 42 +Url: http://www.postgresql.org/ 43 +Provides: postgresql = %pg_minor_version 44 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 45 + 46 +%description 47 +PostgreSQL is an advanced object-relational database management system 48 +that supports an extended subset of the SQL standard, including 49 +transactions, foreign keys, subqueries, triggers, and user-defined 50 +types and functions. 51 + 52 +This package contains the basic utility and client programs necessary 53 +to maintain and work with local or remote PostgreSQL databases as well 54 +as manual pages for the SQL commands that PostgreSQL supports. Full 55 +HTML documentation for PostgreSQL can be found in the postgresql-docs 56 +package. 57 + 58 + 59 + 60 +Authors: 61 +-------- 62 + Marc G. Fournier <scrappy@hub.org> 63 + Tom Lane <tgl@sss.pgh.pa.us> 64 + Vadim B. Mikheev <vadim4o@yahoo.com> 65 + Bruce Momjian <pgman@candle.pha.pa.us> 66 + Jan Wieck <JanWieck@Yahoo.com> 67 + 68 +%package libs 69 +License: BSD 3-Clause 70 +Summary: Shared Libraries Required for PostgreSQL Clients 71 +Group: Productivity/Databases/Clients 72 +Provides: postgresql-libs = %pg_minor_version 73 +PreReq: sh-utils fileutils 74 + 75 +%description libs 76 +PostgreSQL is an advanced object-relational database management system 77 +that supports an extended subset of the SQL standard, including 78 +transactions, foreign keys, subqueries, triggers, user-defined types 79 +and functions. 80 + 81 +This package provides the essential shared libraries for (almost) any 82 +PostgreSQL client program or interface. You will need to install this 83 +package in order to use any other PostgreSQL package or any clients 84 +that need to connect to a PostgreSQL server. 85 + 86 + 87 + 88 +Authors: 89 +-------- 90 + Marc G. Fournier <scrappy@hub.org> 91 + Tom Lane <tgl@sss.pgh.pa.us> 92 + Vadim B. Mikheev <vadim4o@yahoo.com> 93 + Bruce Momjian <pgman@candle.pha.pa.us> 94 + Jan Wieck <JanWieck@Yahoo.com> 95 + 96 +%package server 97 +License: BSD 3-Clause 98 +Summary: The Programs Needed to Create and Run a PostgreSQL Server 99 +Group: Productivity/Databases/Servers 100 +PreReq: %insserv_prereq %fillup_prereq 101 +PreReq: /usr/sbin/useradd /usr/sbin/groupadd /sbin/chkconfig 102 +PreReq: /usr/bin/strings /bin/sed 103 +PreReq: postgresql = %pg_minor_version 104 +Requires: glibc-locale 105 +Provides: postgresql-server = %pg_minor_version 106 + 107 +%package docs 108 +License: BSD 3-Clause 109 +Summary: HTML Documentation for PostgreSQL 110 +Group: Productivity/Databases/Tools 111 + 112 +%description docs 113 +PostgreSQL is an advanced object-relational database management system 114 +that supports an extended subset of the SQL standard, including 115 +transactions, foreign keys, subqueries, triggers, and user-defined 116 +types and functions. 117 + 118 +This package contains the HTML documentation for PostgreSQL. The start 119 +page is: file:///usr/share/doc/packages/postgresql/html/index.html . 120 +Manual pages for the PostgreSQL SQL statements can be found in the 121 +postgresql package. 122 + 123 + 124 + 125 +Authors: 126 +-------- 127 + Marc G. Fournier <scrappy@hub.org> 128 + Tom Lane <tgl@sss.pgh.pa.us> 129 + Vadim B. Mikheev <vadim4o@yahoo.com> 130 + Bruce Momjian <pgman@candle.pha.pa.us> 131 + Jan Wieck <JanWieck@Yahoo.com> 132 + 133 +%package contrib 134 +License: BSD 3-Clause 135 +Summary: Contributed Extensions and Additions to PostgreSQL 136 +Group: Productivity/Databases/Tools 137 +Requires: postgresql-server = %pg_minor_version 138 + 139 +%description contrib 140 +PostgreSQL is an advanced object-relational database management system 141 +that supports an extended subset of the SQL standard, including 142 +transactions, foreign keys, subqueries, triggers, and user-defined 143 +types and functions. 144 + 145 +The postgresql-contrib package includes extensions and additions that 146 +are distributed along with the PostgreSQL sources, but are not (yet) 147 +officially part of the PostgreSQL core. 148 + 149 +Documentation for the modules contained in this package can be found in 150 +/usr/share/doc/packages/postgresql/contrib. 151 + 152 + 153 + 154 +Authors: 155 +-------- 156 + Marc G. Fournier <scrappy@hub.org> 157 + Tom Lane <tgl@sss.pgh.pa.us> 158 + Vadim B. Mikheev <vadim4o@yahoo.com> 159 + Bruce Momjian <pgman@candle.pha.pa.us> 160 + Jan Wieck <JanWieck@Yahoo.com> 161 + 162 +%description server 163 +PostgreSQL is an advanced object-relational database management system 164 +that supports an extended subset of the SQL standard, including 165 +transactions, foreign keys, sub-queries, triggers, and user-defined 166 +types and functions. 167 + 168 +This package includes the programs needed to create and run a 169 +PostgreSQL server, which will in turn allow you to create and maintain 170 +PostgreSQL databases. 171 + 172 + 173 + 174 +Authors: 175 +-------- 176 + Marc G. Fournier <scrappy@hub.org> 177 + Tom Lane <tgl@sss.pgh.pa.us> 178 + Vadim B. Mikheev <vadim4o@yahoo.com> 179 + Bruce Momjian <pgman@candle.pha.pa.us> 180 + Jan Wieck <JanWieck@Yahoo.com> 181 + 182 +%package devel 183 +License: BSD 3-Clause 184 +Summary: PostgreSQL development header files and libraries 185 +Group: Productivity/Databases/Tools 186 +Requires: postgresql-libs = %pg_minor_version 187 + 188 +%description devel 189 +PostgreSQL is an advanced object-relational database management system 190 +that supports an extended subset of the SQL standard, including 191 +transactions, foreign keys, subqueries, triggers, and user-defined 192 +types and functions. 193 + 194 +This package contains the header files and libraries needed to compile 195 +C applications which will directly interact with a PostgreSQL database 196 +management server and the ECPG Embedded C Postgres preprocessor. You 197 +need to install this package if you want to develop applications in C 198 +which will interact with a PostgreSQL server. 199 + 200 + 201 |