1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222
|
# -*- mode: rpm-spec-mode; encoding: utf-8; -*-
# Pass '--without docs' to rpmbuild if you don't want the documentation to be build
Summary: pspg: a unix pager optimized for psql
Name: pspg
Version: 5.8.14
Release: 0%{?dist}
License: BSD
Group: Development/Tools
Vendor: Pavel Stehule <pavel.stehule@gmail.com>
URL: https://github.com/okbob/pspg
Source: https://github.com/okbob/pspg/archive/%{version}.tar.gz
BuildRequires: ncurses-devel readline-devel libpq-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ncurses readline libpq
%description
psps is a unix pager optimized for psql. It can freeze rows, freeze
columns, and lot of color themes are included.
%prep
%setup -q -n pspg
%build
%configure
CFLAGS="$RPM_OPT_FLAGS"
%{__make} %{_smp_mflags} \
prefix=%{_prefix} \
all
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
CFLAGS="$RPM_OPT_FLAGS"
%{__make} %{_smp_mflags} DESTDIR=$RPM_BUILD_ROOT \
prefix=%{_prefix} bindir=%{_bindir} mandir=%{_mandir} \
install
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/*
%changelog
* Thu Dec 22 2022 Pavel Stehule <pavel.stehule@gmail.com>
- pspg can be compiled (and used) with pdcursesmod
* Mon Nov 28 2022 Pavel Stehule <pavel.stehule@gmail.com>
- support direct true color mode
* Fri Now 4 2022 Pavel Stehule <pavel.stehule@gmail.com>
- column scroll left, column scroll right
* Tue Aug 2 2022 Pavel Stehule <pavel.stehule@gmail.com>
- allow to set esc delay interval
* Tue Nov 2 2021 Pavel Stehule <pavel.stehule@gmail.com>
- new visual effects --highlight-odd-rec and --hide-header-line
- possibility to read SQLcl (Oracle) tables in ANSICONSOLE format
- support streaming mode over files on BSD like systems (kqueue support)
- one char horizontal scrolling
* Wed Oct 13 2021 Pavel Stehule <pavel.stehule@gmail.com>
- custom themes
- fix pasting to clipboard on macos
* Fri Jul 30 2021 Pavel Stehule <pavel.stehule@gmail.com>
- using stream mode as default for PIPE source was bad idea.
I reverted it.
* Thu Jul 29 2021 Pavel Stehule <pavel.stehule@gmail.com>
- the option --stream is implicit for PIPE. If you use
pspg as page for PSQL_WATCH_PAGER, there is not necessity
to explicitly use option --stream
* Mon Jul 26 2021 Pavel Stehule <pavel.stehule@gmail.com>
- progressive load - instead complete load on start, now
pspg loads 500 rows, 2000 rows, 2000 rows, ... so first
rows can be displayed quickly.
- now, pspg can format texts produced by psql's help
- fix few bugs
* Fri Jul 16 2021 Pavel Stehule <pavel.stehule@gmail.com>
- new functionality "Ctrl O" - temp switch to primary screen
- total rewrite input events processing
* Sat Jun 26 2021 Pavel Stehule <pavel.stehule@gmail.com>
- new option --no-last-row-search
- code cleaning
* Sun May 30 2021 Pavel Stehule <pavel.stehule@gmail.com>
- new light PaperColor theme
- possibility to set nullstr used by export routines
- introduction interactive command line and backslash commands
- \save, \copy, \theme, \quit, \order, \orderd and \search commands
- possibility to push export output to some program by using pipe
* Sat Apr 17 2021 Pavel Stehule <pavel.stehule@gmail.com>
- --menu-always ensure active top bar menu all time
- modify theme 9
- fix detection of last row of table when border = 1
* Tue Mar 23 2021 Pavel Stehule <pavel.stehule@gmail.com>
- fix stream mode on apple (/dev/tty dosn't work with poll function)
- new query stream mode - queries for pg client are read from stream
* Fri Mar 19 2021 Pavel Stehule <pavel.stehule@gmail.com>
- for some cases the multiline values are exported as one value
* Sun Feb 7 2021 Pavel Stehule <pavel.stehule@gmail.com>
- main window has vertical scrollbar
* Fri Jan 29 2021 Pavel Stehule <pavel.stehule@gmail.com>
- enhancing mouse usage by support xterm mouse mode 1002
* Sat Jan 16 2021 Pavel Stehule <pavel.stehule@gmail.com>
- possibility to export to clipboard or file in CSV, TSVC, formatted text and INSERT formats
* Tue May 19 2020 Pavel Stehule <pavel.stehule@gmail.com>
- code cleaning
- option skip-columns-like
- column names dynamic positioning
* Mon Apr 6 2020 Pavel Stehule <pavel.stehule@gmail.com>
- streaming mode for file (requires inotify)
- named pipe can be source stream
* Fri Mar 27 2020 Pavel Stehule <pavel.stehule@gmail.com>
- integration inotify check of input file
* Thu Dec 12 2019 Pavel Stehule <pavel.stehule@gmail.com>
- possibility to specify NULL string
* Sun Nov 24 2019 Pavel Stehule <pavel.stehule@gmail.com>
- tsv format suppport
* Fri Nov 15 2019 Pavel Stehule <pavel.stehule@gmail.com>
- fix entering string on CentOS 7.7
- try to process -F without ncurses start
- infrastructure cleaning
* Mon Nov 4 2019 Pavel Stehule <pavel.stehule@gmail.com>
- materialize dependency on libpq
- add internal performance diagnostics
- few micro optimizations
* Sun Oct 27 2019 Pavel Stehule <pavel.stehule@gmail.com>
- non interactive mode for csv
- possibility to take data from query
- watch mode
* Wed Oct 9 2019 Pavel Stehule <pavel.stehule@gmail.com>
- better handling Escape and sigint signal
- more comfortable usage of readline input
* Wed Sep 25 2019 Pavel Stehule <pavel.stehule@gmail.com>
- pspg can be used as csv viewer
* Sun Sep 8 2019 Pavel Stehule <pavel.stehule@gmail.com>
- complete support (with multilines) of sort over columns with numeric values
* Thu Sep 5 2019 Pavel Stehule <pavel.stehule@gmail.com>
- initial possibility to sort by numeric column
* Sun Sep 1 2019 Pavel Stehule <pavel.stehule@gmail.com>
- column search
* Sat Aug 24 2019 Pavel Stehule <pavel.stehule@gmail.com>
- vertical (column) cursor support
* Wed Jul 24 2019 Pavel Stehule <pavel.stehule@gmail.com>
- fix minor issues - left scrolling and theme changing
* Mon Apr 8 2019 Pavel Stehule <pavel.stehule@gmail.com>
- fix minor issue related to draw menu, when terminal is resized
* Thu Mar 21 2019 Pavel Stehule <pavel.stehule@gmail.com>
- use higher 8 colours when it is possible (fix Fodora 30 issue)
- new themes
- new options: bold labels, bold cursors
* Mon Sep 10 2018 Pavel Stehule <pavel.stehule@gmail.com>
- possibility to show line numbers and hide cursor, menu and status bar
- new themes
- fix some bugs
* Thu Jul 19 2018 Pavel Stehule <pavel.stehule@gmail.com>
- menu support
- new themes
* Thu Apr 26 2018 Pavel Stehule <pavel.stehule@gmail.com>
- compile with readline when it is available - history support
- fix some bugs
* Fri Mar 16 2018 Pavel Stehule <pavel.stehule@gmail.com>
- lot of bugfixes related to searching
- code cleaning
- 8bit encoding support
* Sun Feb 11 2018 Pavel Stehule <pavel.stehule@gmail.com>
- fix few crash related when searching was used
* Fri Jan 12 2017 Pavel Stehule <pavel.stehule@gmail.com>
- possibility to replace ascii art by unicode
* Thu Dec 28 2017 Pavel Stehule <pavel.stehule@gmail.com>
- bookmarks
- searching is much better now
* Fri Dec 15 2017 Pavel Stehule <pavel.stehule@gmail.com>
- case insensitive searching
* Fri Dec 1 2017 Pavel Stehule <pavel.stehule@gmail.com>
- less like status bar
* Sat Nov 25 2017 Pavel Stehule <pavel.stehule@gmail.com>
- lot of fixes and new features
* Wed Sep 13 2017 Pavel Stehule <pavel.stehule@gmail.com>
- initial version
|