|
|
f88e6e3 |
%global version_tag PG_VIEW_1_4_0
|
|
|
2f11ce6 |
Name: pg_view
|
|
|
f88e6e3 |
Version: 1.4.0
|
|
|
bea8b89 |
Release: 2%{?dist}
|
|
|
2f11ce6 |
Summary: Command-line tool to display the state of the PostgreSQL processes
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
License: ASL 2.0
|
|
|
2f11ce6 |
URL: https://github.com/zalando/pg_view
|
|
|
397a8f8 |
Source0: https://github.com/zalando/pg_view/archive/%{version_tag}.tar.gz
|
|
|
c615a6c |
Patch0: pg_view-python3-shebang.patch
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
BuildArch: noarch
|
|
|
2f11ce6 |
|
|
|
c615a6c |
Requires: python3-psycopg2
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
%description
|
|
|
2f11ce6 |
pg_view is a command-line tool to display the state of the PostgreSQL processes.
|
|
|
2f11ce6 |
It shows the per-process statistics combined with pg_stat_activity output
|
|
|
2f11ce6 |
for the processes that have the rows there, global system stats,
|
|
|
2f11ce6 |
per-partition information and the memory stats.
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
%prep
|
|
|
397a8f8 |
%setup -qn %{name}-%{version_tag}
|
|
|
2f11ce6 |
%patch0
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
%build
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
%install
|
|
|
397a8f8 |
install -D -p -m 755 %{_builddir}/%{name}-%{version_tag}/pg_view.py \
|
|
|
2f11ce6 |
%{buildroot}%{_bindir}/pg_view
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
%files
|
|
|
397a8f8 |
%doc CHANGELOG LICENSE README.rst images
|
|
|
2f11ce6 |
%{_bindir}/pg_view
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
%changelog
|
|
|
bea8b89 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
|
|
bea8b89 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
bea8b89 |
|
|
|
f88e6e3 |
* Fri Sep 08 2017 Lorenzo Dalrio <lorenzo.dalrio@gmail.com> - 1.4.0-1
|
|
|
f88e6e3 |
- Update to 1.4.0
|
|
|
f88e6e3 |
|
|
|
5f374d2 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
|
|
|
5f374d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
5f374d2 |
|
|
|
18c2203 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
|
|
18c2203 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
18c2203 |
|
|
|
8233415 |
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 1.3.0-3
|
|
|
8233415 |
- Rebuild for Python 3.6
|
|
|
8233415 |
|
|
|
c615a6c |
* Wed Feb 17 2016 Lorenzo Dalrio <lorenzo.dalrio@gmail.com> - 1.3.0-2
|
|
|
c615a6c |
- Switch to python3 (#1308552)
|
|
|
c615a6c |
|
|
|
397a8f8 |
* Wed Feb 10 2016 Lorenzo Dalrio <lorenzo.dalrio@gmail.com> - 1.3.0-1
|
|
|
397a8f8 |
- Update to 1.3.0
|
|
|
397a8f8 |
|
|
|
fba52a8 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4.20141118git11c942e
|
|
|
fba52a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
fba52a8 |
|
|
|
f8625d9 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3.20141118git11c942e
|
|
|
f8625d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
f8625d9 |
|
|
|
2f11ce6 |
* Thu Nov 20 2014 Lorenzo Dalrio <lorenzo.dalrio@gmail.com> - 1.2.0-2.20141118git11c942e
|
|
|
2f11ce6 |
- Patched shebang to point to /usr/bin/python2 explicitly.
|
|
|
2f11ce6 |
- Corrected package version to reflect script version.
|
|
|
2f11ce6 |
|
|
|
2f11ce6 |
* Thu Nov 20 2014 Lorenzo Dalrio <lorenzo.dalrio@gmail.com> - 1.2.0-1.20141118git11c942e
|
|
|
2f11ce6 |
- Initial release.
|