5bb6fea7ae
- bump to 10 OBS-URL: https://build.opensuse.org/request/show/525781 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=83
199 lines
6.7 KiB
RPMSpec
199 lines
6.7 KiB
RPMSpec
#
|
|
# spec file for package postgresql
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
%define defaultpackage postgresql10
|
|
|
|
Name: postgresql
|
|
Summary: Basic Clients and Utilities for PostgreSQL
|
|
License: PostgreSQL
|
|
Group: Productivity/Databases/Tools
|
|
Version: 10
|
|
Release: 0
|
|
Url: https://www.postgresql.org/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Requires: %defaultpackage
|
|
BuildArch: noarch
|
|
Source0: postgresql-bashprofile
|
|
|
|
|
|
%description
|
|
PostgreSQL is an advanced object-relational database management system
|
|
that supports an extended subset of the SQL standard, including
|
|
transactions, foreign keys, subqueries, triggers, and user-defined
|
|
types and functions.
|
|
|
|
This package contains the basic utility and client programs necessary
|
|
to maintain and work with local or remote PostgreSQL databases as well
|
|
as manual pages for the SQL commands that PostgreSQL supports. Full
|
|
HTML documentation for PostgreSQL can be found in the postgresql-docs
|
|
package.
|
|
|
|
%package server
|
|
Summary: The Programs Needed to Create and Run a PostgreSQL Server
|
|
Group: Productivity/Databases/Servers
|
|
Requires: %defaultpackage-server
|
|
|
|
%description server
|
|
PostgreSQL is an advanced object-relational database management system
|
|
that supports an extended subset of the SQL standard, including
|
|
transactions, foreign keys, sub-queries, triggers, and user-defined
|
|
types and functions.
|
|
|
|
This package includes the programs needed to create and run a
|
|
PostgreSQL server, which will in turn allow you to create and maintain
|
|
PostgreSQL databases.
|
|
|
|
%package docs
|
|
Summary: HTML Documentation for PostgreSQL
|
|
Group: Productivity/Databases/Tools
|
|
Requires: %defaultpackage-docs
|
|
|
|
%description docs
|
|
PostgreSQL is an advanced object-relational database management system
|
|
that supports an extended subset of the SQL standard, including
|
|
transactions, foreign keys, subqueries, triggers, and user-defined
|
|
types and functions.
|
|
|
|
This package contains the HTML documentation for PostgreSQL. The start
|
|
page is: file:///usr/share/doc/packages/postgresql/html/index.html .
|
|
Manual pages for the PostgreSQL SQL statements can be found in the
|
|
postgresql package.
|
|
|
|
%package contrib
|
|
Summary: Contributed Extensions and Additions to PostgreSQL
|
|
Group: Productivity/Databases/Tools
|
|
Requires: %defaultpackage-contrib
|
|
|
|
%description contrib
|
|
PostgreSQL is an advanced object-relational database management system
|
|
that supports an extended subset of the SQL standard, including
|
|
transactions, foreign keys, subqueries, triggers, and user-defined
|
|
types and functions.
|
|
|
|
The postgresql-contrib package includes extensions and additions that
|
|
are distributed along with the PostgreSQL sources, but are not (yet)
|
|
officially part of the PostgreSQL core.
|
|
|
|
Documentation for the modules contained in this package can be found in
|
|
/usr/share/doc/packages/postgresql/contrib.
|
|
|
|
%package devel
|
|
Summary: PostgreSQL development header files and libraries
|
|
Group: Productivity/Databases/Tools
|
|
Requires: %defaultpackage-devel
|
|
|
|
%description devel
|
|
PostgreSQL is an advanced object-relational database management system
|
|
that supports an extended subset of the SQL standard, including
|
|
transactions, foreign keys, subqueries, triggers, and user-defined
|
|
types and functions.
|
|
|
|
This package contains the header files and libraries needed to compile
|
|
C applications which will directly interact with a PostgreSQL database
|
|
management server and the ECPG Embedded C Postgres preprocessor. You
|
|
need to install this package if you want to develop applications in C
|
|
which will interact with a PostgreSQL server.
|
|
|
|
%package plperl
|
|
Summary: The PL/Tcl, PL/Perl, and PL/Python procedural languages for PostgreSQL
|
|
Group: Productivity/Databases/Servers
|
|
Requires: %defaultpackage-plperl
|
|
|
|
%description plperl
|
|
PostgreSQL is an advanced object-relational database management system
|
|
that supports an extended subset of the SQL standard, including
|
|
transactions, foreign keys, subqueries, triggers, and user-defined
|
|
types and functions.
|
|
|
|
This package contains the PL/Perl procedural language for PostgreSQL.
|
|
With this module one can use Perl to write stored procedures,
|
|
functions, and triggers.
|
|
|
|
%package plpython
|
|
Summary: The PL/Python Procedural Languages for PostgreSQL
|
|
Group: Productivity/Databases/Servers
|
|
Requires: %defaultpackage-plpython
|
|
|
|
%description plpython
|
|
PostgreSQL is an advanced object-relational database management system
|
|
that supports an extended subset of the SQL standard, including
|
|
transactions, foreign keys, subqueries, triggers, and user-defined
|
|
types and functions.
|
|
|
|
This package contains the PL/Python procedural language for PostgreSQL.
|
|
With this module one can use Python to write stored procedures,
|
|
functions, and triggers.
|
|
|
|
%package pltcl
|
|
Summary: PL/Tcl Procedural Language for PostgreSQL
|
|
Group: Productivity/Databases/Tools
|
|
Requires: %defaultpackage-pltcl
|
|
|
|
%description pltcl
|
|
PostgreSQL is an advanced object-relational database management system
|
|
that supports an extended subset of the SQL standard, including
|
|
transactions, foreign keys, subqueries, triggers, and user-defined
|
|
types and functions.
|
|
|
|
This package contains the PL/Tcl procedural language for PostgreSQL.
|
|
With thie module one can use Tcl to write stored procedures, functions,
|
|
and triggers.
|
|
|
|
%build
|
|
echo "This is a dummy package to provide a dependency on the default PostgreSQL version." > README
|
|
|
|
%install
|
|
mkdir -p %buildroot/var/lib/pgsql/
|
|
sed 's,@LIBDIR@,%_libdir,g' %{SOURCE0} > \
|
|
%buildroot/var/lib/pgsql/.bash_profile
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc README
|
|
|
|
%files server
|
|
%defattr(-,root,root,-)
|
|
%doc README
|
|
%attr(750,postgres,postgres) %dir /var/lib/pgsql
|
|
%attr(640,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile
|
|
|
|
%files docs
|
|
%defattr(-,root,root,-)
|
|
%doc README
|
|
|
|
%files contrib
|
|
%defattr(-,root,root,-)
|
|
%doc README
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%doc README
|
|
|
|
%files plperl
|
|
%defattr(-,root,root,-)
|
|
%doc README
|
|
|
|
%files plpython
|
|
%defattr(-,root,root,-)
|
|
%doc README
|
|
|
|
%files pltcl
|
|
%defattr(-,root,root,-)
|
|
%doc README
|
|
|
|
%changelog
|