Updating link to change in openSUSE:Factory/postgresql revision 28.0
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=704e0e5417cd4d6cc9253d81175b2bf2
This commit is contained in:
parent
ab4914b726
commit
22a5f90312
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package postgresql (Version 8.4.3)
|
||||
# spec file for package postgresql-libs
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 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
|
||||
@ -15,6 +15,8 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: postgresql-libs
|
||||
%define _name postgresql
|
||||
%define libpq libpq5
|
||||
@ -26,7 +28,7 @@ BuildRequires: krb5-devel libxslt-devel
|
||||
BuildRequires: openldap2-devel openssl-devel
|
||||
Summary: Basic Clients and Utilities for PostgreSQL
|
||||
Version: 9.0.3
|
||||
Release: 2
|
||||
Release: 1
|
||||
%define pg_minor_version %(echo %version | sed -r 's/^([0-9]+\\.[0-9]+).*/\\1/')
|
||||
License: BSD3c(or similar)
|
||||
Group: Productivity/Databases/Tools
|
||||
@ -48,6 +50,7 @@ Patch4: postgresql-plperl.patch
|
||||
Url: http://www.postgresql.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: postgresql = %pg_minor_version
|
||||
|
||||
%description
|
||||
PostgreSQL is an advanced object-relational database management system
|
||||
that supports an extended subset of the SQL standard, including
|
||||
@ -61,6 +64,7 @@ HTML documentation for PostgreSQL can be found in the postgresql-docs
|
||||
package.
|
||||
|
||||
%package -n %libpq
|
||||
|
||||
License: BSD3c(or similar)
|
||||
Summary: Shared Libraries Required for PostgreSQL Clients
|
||||
Group: Productivity/Databases/Clients
|
||||
@ -80,6 +84,7 @@ This package provides the client library that most PostgreSQL client
|
||||
program or language bindings are using.
|
||||
|
||||
%package -n %libecpg
|
||||
|
||||
License: BSD3c(or similar)
|
||||
Summary: Shared Libraries Required for PostgreSQL Clients
|
||||
Group: Productivity/Databases/Clients
|
||||
@ -99,6 +104,7 @@ This package provides the runtime library of the embedded SQL C
|
||||
preprocessor for PostgreSQL.
|
||||
|
||||
%package -n %_name-devel
|
||||
|
||||
License: BSD3c(or similar)
|
||||
Summary: PostgreSQL development header files and libraries
|
||||
Group: Productivity/Databases/Tools
|
||||
@ -180,9 +186,13 @@ rm -f $(ls %buildroot/%_libdir/*.a | grep -F -v libpgport.a)
|
||||
%find_lang ecpglib6-%{pg_minor_version} %libecpg.lang
|
||||
%find_lang ecpg-%{pg_minor_version} %_name-devel.lang
|
||||
%find_lang pg_config-%{pg_minor_version} %_name-devel.lang
|
||||
|
||||
%post -n %libpq -p /sbin/ldconfig
|
||||
|
||||
%postun -n %libpq -p /sbin/ldconfig
|
||||
|
||||
%post -n %libecpg -p /sbin/ldconfig
|
||||
|
||||
%postun -n %libecpg -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package postgresql (Version 8.4.3)
|
||||
# spec file for package postgresql
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 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
|
||||
@ -15,8 +15,10 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: postgresql
|
||||
BuildRequires: gettext-devel zlib-devel ncurses-devel readline-devel
|
||||
BuildRequires: gettext-devel ncurses-devel readline-devel zlib-devel
|
||||
BuildRequires: pam-devel python-devel tcl-devel
|
||||
%if 0%{?suse_version} >= 1110
|
||||
BuildRequires: fdupes
|
||||
@ -33,7 +35,7 @@ BuildRequires: krb5-devel libxslt-devel
|
||||
BuildRequires: openldap2-devel openssl-devel
|
||||
Summary: Basic Clients and Utilities for PostgreSQL
|
||||
Version: 9.0.3
|
||||
Release: 2
|
||||
Release: 1
|
||||
%define pg_minor_version %(echo %version | sed -r 's/^([0-9]+\\.[0-9]+).*/\\1/')
|
||||
License: BSD3c(or similar)
|
||||
Group: Productivity/Databases/Tools
|
||||
@ -55,6 +57,7 @@ Patch4: postgresql-plperl.patch
|
||||
Url: http://www.postgresql.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: postgresql = %pg_minor_version
|
||||
|
||||
%description
|
||||
PostgreSQL is an advanced object-relational database management system
|
||||
that supports an extended subset of the SQL standard, including
|
||||
@ -68,6 +71,7 @@ HTML documentation for PostgreSQL can be found in the postgresql-docs
|
||||
package.
|
||||
|
||||
%package -n %libpq
|
||||
|
||||
License: BSD3c(or similar)
|
||||
Summary: Shared Libraries Required for PostgreSQL Clients
|
||||
Group: Productivity/Databases/Clients
|
||||
@ -87,6 +91,7 @@ This package provides the client library that most PostgreSQL client
|
||||
program or language bindings are using.
|
||||
|
||||
%package -n %libecpg
|
||||
|
||||
License: BSD3c(or similar)
|
||||
Summary: Shared Libraries Required for PostgreSQL Clients
|
||||
Group: Productivity/Databases/Clients
|
||||
@ -165,6 +170,7 @@ PostgreSQL server, which will in turn allow you to create and maintain
|
||||
PostgreSQL databases.
|
||||
|
||||
%package -n %_name-devel
|
||||
|
||||
License: BSD3c(or similar)
|
||||
Summary: PostgreSQL development header files and libraries
|
||||
Group: Productivity/Databases/Tools
|
||||
@ -381,9 +387,13 @@ exit 0
|
||||
groupadd -g 26 -o -r postgres >/dev/null 2>/dev/null || :
|
||||
useradd -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
|
||||
-c "PostgreSQL Server" -u 26 postgres 2>/dev/null || :
|
||||
|
||||
%post -n %libpq -p /sbin/ldconfig
|
||||
|
||||
%postun -n %libpq -p /sbin/ldconfig
|
||||
|
||||
%post -n %libecpg -p /sbin/ldconfig
|
||||
|
||||
%postun -n %libecpg -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
@ -497,6 +507,7 @@ rm -f %my_provides
|
||||
%_libdir/postgresql/plpython*.so
|
||||
|
||||
%if %buildall
|
||||
|
||||
%files -n %libpq -f %libpq.lang
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libpq.so.*
|
||||
@ -521,4 +532,5 @@ rm -f %my_provides
|
||||
%_datadir/postgresql/pg_service.conf.sample
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user