diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 index ae265e6..492bf8a --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /pg_filedump-*.tar.gz +/REL_14_0.tar.gz +/REL_16_0.tar.gz diff --git a/pg_filedump.1 b/pg_filedump.1 deleted file mode 100644 index 93a58d4..0000000 --- a/pg_filedump.1 +++ /dev/null @@ -1,64 +0,0 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1. -.TH PG_FILEDUMP "1" "April 2014" "pg_filedump 9.3.0" "User Commands" -.SH NAME -pg_filedump \- PostgreSQL heap/index/control file dumper -.SH SYNOPSIS -.B pg_filedump -[\fI-abcdfhixy\fR] [\fI-R startblock \fR[\fIendblock\fR]] [\fI-S blocksize\fR] \fIfile\fR -.SH DESCRIPTION -Display formatted contents of a PostgreSQL heap/index/control file. -.SS "The following options are valid for heap and index files:" -.TP -\fB\-a\fR -Display absolute addresses when formatting (Block header -information is always block relative) -.TP -\fB\-b\fR -Display binary block images within a range (Option will turn -off all formatting options) -.TP -\fB\-d\fR -Display formatted block content dump (Option will turn off -all other formatting options) -.TP -\fB\-f\fR -Display formatted block content dump along with interpretation -.TP -\fB\-h\fR -Display this information -.TP -\fB\-i\fR -Display interpreted item details -.TP -\fB\-R\fR -Display specific block ranges within the file (Blocks are -indexed from 0) -.IP -[startblock]: block to start at -[endblock]: block to end at -.IP -A startblock without an endblock will format the single block -.TP -\fB\-S\fR -Force block size to [blocksize] -.TP -\fB\-x\fR -Force interpreted formatting of block items as index items -.TP -\fB\-y\fR -Force interpreted formatting of block items as heap items -.SS "The following options are valid for control files:" -.TP -\fB\-c\fR -Interpret the file listed as a control file -.TP -\fB\-f\fR -Display formatted content dump along with interpretation -.TP -\fB\-S\fR -Force block size to [blocksize] -.SH OTHERS -This manual page was generated from pg_filedump help output (\fB-h\fR) by -help2man(1). -.SH "REPORTING BUGS" -Report bugs to diff --git a/rhdb-utils.spec b/rhdb-utils.spec index 9e087b1..ac4cd31 100644 --- a/rhdb-utils.spec +++ b/rhdb-utils.spec @@ -3,62 +3,106 @@ # , Tom Lane # Copyright (C) 2002-2012 Red Hat, Inc. +%global tarballname REL_16_0 + Summary: Miscellaneous utilities for PostgreSQL - Red Hat Edition Name: rhdb-utils -Version: 13.1 -Release: 1%{?dist} -# URL: http://pgfoundry.org/projects/pgfiledump/ -URL: https://wiki.postgresql.org/wiki/Pg_filedump -License: GPLv2+ +Version: 16.0 +Release: 7%{?dist} +URL: https://github.com/df7cb/pg_filedump +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later BuildRequires: make BuildRequires: clang -BuildRequires: postgresql-server-devel, postgresql-static, libpq-devel +BuildRequires: postgresql-server-devel, postgresql-static +BuildRequires: lz4-devel -# This is kind of work-around; even though we don't install PostgreSQL server -# modules in this package, we still want to depend on the major version of -# PostgreSQL server (or rather we want to be notified that new rebuild is needed -# for new major version of PostgreSQL) -%{?postgresql_module_requires} +Source0: https://github.com/df7cb/pg_filedump/archive/refs/tags/%{tarballname}.tar.gz -Provides: pg_filedump = %version-%release +Requires(pre): postgresql-server -# Source0: http://pgfoundry.org/frs/download.php/3391/pg_filedump-%%{version}.tar.gz -%global tarballname pg_filedump-REL_13_1-9c9700e - -# Download by wget --content-disposition \ -# 'https://git.postgresql.org/gitweb/?p=pg_filedump.git;a=snapshot;h=REL_13_1;sf=tgz' -Source0: %tarballname.tar.gz -Source1: pg_filedump.1 +Provides: pg_filedump = %{version}-%{release} %description This package contains miscellaneous, non-graphical tools originally developed for PostgreSQL - Red Hat Edition. - %prep -%autosetup -n %tarballname -p1 - +%autosetup -n pg_filedump-%{tarballname} -p1 %build make %{?_smp_mflags} PG_CONFIG=%_bindir/pg_server_config - %install mkdir -p ${RPM_BUILD_ROOT}%{_bindir} install -p -m 755 pg_filedump ${RPM_BUILD_ROOT}%{_bindir} -mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 -install -p -m 0644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_mandir}/man1 - %files %{_bindir}/pg_filedump -%doc README.pg_filedump -%{_mandir}/man1/pg_filedump.1* +%doc README.pg_filedump.md %changelog -* Wed Jan 13 2021 Patrik Novotný - 13.1-1 +* Fri Jul 25 2025 Fedora Release Engineering - 16.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sat Jan 18 2025 Fedora Release Engineering - 16.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Fri Jul 26 2024 Miroslav Suchý - 16.0-5 +- convert license to SPDX + +* Fri Jul 19 2024 Fedora Release Engineering - 16.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 16.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 16.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Nov 30 2023 Filip Janus - 16.0-1 +- Update to 16.0 +- Fix requires section fro demodularized version of postgresql + +* Fri Jul 21 2023 Fedora Release Engineering - 14.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jan 20 2023 Fedora Release Engineering - 14.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Nov 16 2022 Ondřej Sloup - 14.1-2 +- Rebuild for new PostgreSQL 15 + +* Tue Oct 25 2022 Ondrej Sloup - 14.1-1 +- Rebase to the latest upstream version + +* Thu Aug 04 2022 Ondrej Sloup - 14.0-7 +- Fix lz4-devel build requirement +- Change source links +- Remove not updated manual page +- Change globals to make future updates easier + +* Sat Jul 23 2022 Fedora Release Engineering - 14.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 14.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jan 06 2022 Filip Januš - 14.0-2 +- Update to postgresql 14 + +* Wed Jan 05 2022 Filip Januš - 14.0-1 +- Update to 14.0 + +* Mon Aug 09 2021 Honza Horak - 13.1-3 +- Leave the libpq package to be pulled in by postgresql-server-devel + +* Fri Jul 23 2021 Fedora Release Engineering - 13.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Patrik Novotný - 13.1-1 - Rebase for postgresql 13.1 * Wed Jan 27 2021 Fedora Release Engineering - 12.0-4 diff --git a/sources b/sources old mode 100644 new mode 100755 index 210c7c3..1b705be --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pg_filedump-REL_13_1-9c9700e.tar.gz) = 4d1dcf51012f263c6a8dbe52f1ed1272f639ddf73317230e0e837c997c059435f5a83e7a90b06e63fb1cc618437682c5bb0e632a2cc79c345af4e779c7e1ce0c +SHA512 (REL_16_0.tar.gz) = ed37230ca0cc1a4b3cc85df8437e56166637ac364dae5a65d0372bc70b7f8d7b67cef18587dbd4ffb85c33a12dee7ba0901ee7510224a9cb3b318163fa0e9b36