DISTPG-348-pg_stat_monitor-Update-directory-structure-for-Debian-packaging-files

This commit is contained in:
Vadim Yalovets
2021-11-30 14:03:13 +02:00
committed by Hamid Akhtar
parent d05f6d8e3b
commit e9ee3b8107
10 changed files with 0 additions and 0 deletions

View File

@@ -1,5 +0,0 @@
percona-pg-stat-monitor (0.0.1-1) unstable; urgency=medium
* Initial build.
-- Oleksandr Miroshnychenko <alex.miroshnychenko@percona.com> Thu, 19 Dec 2019 19:20:11 +0100

View File

@@ -1 +0,0 @@
9

View File

@@ -1,20 +0,0 @@
Source: percona-pg-stat-monitor
Section: database
Priority: optional
Maintainer: Percona Development Team <info@percona.com>
Build-Depends:
debhelper (>= 9),
percona-postgresql-server-dev-all (>= 153~),
Package: percona-pg-stat-monitor@@PG_REL@@
Architecture: any
Depends:
percona-postgresql-@@PG_REL@@ | postgresql-@@PG_REL@@,
${misc:Depends},
${shlibs:Depends},
Description: The pg_stat_monitor is statistics collector tool
based on PostgreSQL's contrib module "pg_stat_statements".
.
pg_stat_monitor is developed on the basis of pg_stat_statments
as more advanced replacement for pg_stat_statment.
It provides all the features of pg_stat_statment plus its own feature set.

View File

@@ -1,20 +0,0 @@
Source: percona-pg-stat-monitor
Section: database
Priority: optional
Maintainer: Percona Development Team <info@percona.com>
Build-Depends:
debhelper (>= 9),
percona-postgresql-server-dev-all (>= 153~),
Package: percona-pg-stat-monitor@@PG_REL@@
Architecture: any
Depends:
percona-postgresql-@@PG_REL@@ | postgresql-@@PG_REL@@,
${misc:Depends},
${shlibs:Depends},
Description: The pg_stat_monitor is statistics collector tool
based on PostgreSQL's contrib module "pg_stat_statements".
.
pg_stat_monitor is developed on the basis of pg_stat_statments
as more advanced replacement for pg_stat_statment.
It provides all the features of pg_stat_statment plus its own feature set.

View File

@@ -1,27 +0,0 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: PostgreSQL
Source: https://github.com/percona/pg_stat_monitor
pg_stat_monitor - Statistics collector for PostgreSQL.
Portions Copyright © 2018-2020, Percona LLC and/or its affiliates
Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
Portions Copyright (c) 1994, The Regents of the University of California
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose, without fee, and without a written agreement is
hereby granted, provided that the above copyright notice and this paragraph and
the following two paragraphs appear in all copies.
IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR DIRECT,
INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE
COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND
THE COPYRIGHT HOLDER HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

View File

@@ -1 +0,0 @@
9.3+

View File

@@ -1,28 +0,0 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# Using pg_buildext
include /usr/share/postgresql-common/pgxs_debian_control.mk
export USE_PGXS=1
%:
dh $@
override_dh_auto_build:
+pg_buildext clean . build-%v
+pg_buildext build . build-%v
override_dh_auto_test:
# nothing to do here
override_dh_auto_install:
+pg_buildext install . build-%v percona-pg-stat-monitor@@PG_REL@@
override_dh_installdocs:
dh_installdocs --all README.*
override_dh_auto_clean:
rm -rf results/* regression.*

View File

@@ -1 +0,0 @@
3.0 (quilt)

View File

@@ -1,3 +0,0 @@
# don't bug people uploading from @work
source: changelog-should-mention-nmu
source: source-nmu-has-incorrect-version-number

View File

@@ -1,67 +0,0 @@
%global sname percona-pg_stat_monitor
%global pgrel @@PG_REL@@
%global rpm_release @@RPM_RELEASE@@
%global pginstdir /usr/pgsql-@@PG_REL@@/
Summary: Statistics collector for PostgreSQL
Name: %{sname}%{pgrel}
Version: @@VERSION@@
Release: %{rpm_release}%{?dist}
License: PostgreSQL
Source0: percona-pg-stat-monitor%{pgrel}-%{version}.tar.gz
URL: https://github.com/Percona-Lab/pg_stat_monitor
BuildRequires: percona-postgresql%{pgrel}-devel
Requires: postgresql-server
Provides: percona-pg-stat-monitor%{pgrel}
Epoch: 1
Packager: Percona Development Team <https://jira.percona.com>
Vendor: Percona, Inc
%description
The pg_stat_monitor is statistics collector tool
based on PostgreSQL's contrib module "pg_stat_statements".
.
pg_stat_monitor is developed on the basis of pg_stat_statments
as more advanced replacement for pg_stat_statment.
It provides all the features of pg_stat_statment plus its own feature set.
%prep
%setup -q -n percona-pg-stat-monitor%{pgrel}-%{version}
%build
sed -i 's:PG_CONFIG = pg_config:PG_CONFIG = /usr/pgsql-%{pgrel}/bin/pg_config:' Makefile
%{__make} USE_PGXS=1 %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} USE_PGXS=1 %{?_smp_mflags} install DESTDIR=%{buildroot}
%{__install} -d %{buildroot}%{pginstdir}/share/extension
%{__install} -m 755 README.md %{buildroot}%{pginstdir}/share/extension/README-pg_stat_monitor
%clean
%{__rm} -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(755,root,root,755)
%doc %{pginstdir}/share/extension/README-pg_stat_monitor
%{pginstdir}/lib/pg_stat_monitor.so
%{pginstdir}/share/extension/pg_stat_monitor--*.sql
%{pginstdir}/share/extension/pg_stat_monitor.control
%{pginstdir}/lib/bitcode/pg_stat_monitor*.bc
%{pginstdir}/lib/bitcode/pg_stat_monitor/*.bc
%changelog
* Wed Nov 17 2021 Evgeniy Patlan <evgeniy.patlan@percona.com> - 1.0.0-1
- Initial build