forked from okbob/pspg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pspg.spec
67 lines (52 loc) · 1.73 KB
/
pspg.spec
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
# -*- 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: 0.9.3
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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ncurses
%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
* 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