commit cd8703e55f8219897243166eec6f60fe0ed961e1 Author: Toshaan Bharvani Date: Tue Jul 16 11:16:42 2024 +0200 initial package creation Signed-off-by: Toshaan Bharvani diff --git a/SOURCES/.gitkeeper b/SOURCES/.gitkeeper new file mode 100644 index 0000000..e69de29 diff --git a/SPECS/pg_top.spec b/SPECS/pg_top.spec new file mode 100644 index 0000000..e8b2306 --- /dev/null +++ b/SPECS/pg_top.spec @@ -0,0 +1,178 @@ +Summary: 'top' for PostgreSQL process +Name: pg_top +Version: 4.1.0 +Release: 1%{?dist} +License: BSD +Source0: https://pg_top.gitlab.io/source/pg_top-4.1.0.tar.xz +URL: https://pg_top.gitlab.io/ +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: elfutils-libelf-devel +BuildRequires: libpq-devel +BuildRequires: readline-devel +BuildRequires: libbsd-devel +Requires: postgresql-server + +%undefine _hardened_build +%global debug_package %{nil} + +%description +pg_top is 'top' for PostgreSQL processes. See running queries, +query plans, issued locks, and table and index statistics. + +%prep +%autosetup + +%build +%cmake +%cmake_build + +%install +%cmake_install + +%files +%{_mandir}/man1/%{name}* +%{_bindir}/%{name} +%doc HISTORY.rst README.rst TODO Y2K +%license LICENSE + +%changelog +* Mon Jul 15 2024 Filipe Rosset - 4.1.0-1 +- Update to 4.1.0 fixes rhbz#2283330 + +* Thu Jan 25 2024 Fedora Release Engineering - 4.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 4.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 4.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jan 20 2023 Fedora Release Engineering - 4.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 4.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 4.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 4.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Mar 08 2021 Mikel Olasagasti Uranga - 4.0.0-1 +- Version update to 4.0.0 +- Change homepage +- Add BR on libbsd-devel + +* Mon Feb 08 2021 Pavel Raiskup - 3.7.0-18 +- rebuild for libpq ABI fix rhbz#1908268 + +* Wed Jan 27 2021 Fedora Release Engineering - 3.7.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 3.7.0-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Feb 13 2020 Filipe Rosset - 3.7.0-15 +- Fix FTBFS rhbz#1799861 + +* Thu Jan 30 2020 Fedora Release Engineering - 3.7.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 3.7.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 3.7.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 3.7.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Feb 19 2018 Itamar Reis Peixoto - 3.7.0-10 +- add gcc into buildrequires + +* Fri Feb 09 2018 Fedora Release Engineering - 3.7.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 3.7.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 3.7.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 3.7.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 3.7.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 3.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 3.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 3.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 21 2014 Filipe Rosset - 3.7.0-1 +- Rebuilt for new upstream version, spec cleanup +- Removed patches (already commited in upstream), fixes rhbz #991776 and #926327 + +* Sun Aug 04 2013 Fedora Release Engineering - 3.6.2-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 3.6.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 3.6.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 3.6.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 3.6.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Sep 26 2009 Alexey Torkhov - 3.6.2-8 +- Fix display of cumulative statistics (BZ#525763) + +* Fri Sep 25 2009 Itamar Reis Peixoto - 3.6.2-7 +- starting building for EPEL too + +* Sun Jul 26 2009 Fedora Release Engineering - 3.6.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jul 15 2009 Itamar Reis Peixoto - 3.6.2-5 +- fix buildrequires, systemtap-sdt-devel is required for + +* Thu Feb 26 2009 Fedora Release Engineering - 3.6.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Jan 21 2009 - Itamar Reis Peixoto - 3.6.2-3 +- include %%{optflags} during compilation. +- include DOC files, including license file +- fix %%defattr +- remove pointless patch +- include BR elfutils-libelf-devel + +* Wed Jan 21 2009 - Itamar Reis Peixoto - 3.6.2-2 +- Rebuild for Fedora 10 + +* Thu May 15 2008 - Devrim GUNDUZ 3.6.2-1 +- Update to 3.6.2 + +* Sat Apr 12 2008 - Devrim GUNDUZ 3.6.2-0.1.beta3 +- Rename to pg_top +- Update to 3.6.2 beta3 + +* Mon Mar 10 2008 - Devrim GUNDUZ 3.6.1-1 +- Update to 3.6.1 + +* Sun Jan 20 2008 - Devrim GUNDUZ 3.6.1-1.beta3 +- Update to 3.6.1-beta3 + +* Thu Dec 13 2007 - Devrim GUNDUZ 3.6.1-1.beta2 +- Initial RPM packaging for Fedora