Add patch to document --color option.

This commit is contained in:
Richard W.M. Jones 2013-04-05 17:31:29 +01:00
parent 83d295ff32
commit 5a014e6e13
2 changed files with 25 additions and 3 deletions

View File

@ -0,0 +1,13 @@
--- hexedit.old/hexedit.1 2013-03-01 22:07:04.000000000 +0000
+++ hexedit/hexedit.1 2013-04-05 17:25:48.875705378 +0100
@@ -17,6 +17,10 @@
.I "\-m, \-\-maximize"
Try to maximize the display.
.TP
+.I "\-\-color"
+Display colors.
+This feature is only available if your operating system supports it.
+.TP
.I "\-h, \-\-help"
Show the usage.
.SH COMMANDS (quickly)

View File

@ -1,12 +1,16 @@
Summary: A hexadecimal file viewer and editor
Name: hexedit
Version: 1.2.13
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+
Group: Applications/Editors
URL: http://rigaux.org/hexedit.html
Source: http://rigaux.org/%{name}-%{version}.src.tgz
Patch: hexedit-1.2.13-config.patch
Patch1: hexedit-1.2.13-config.patch
# Document --color option. Sent upstream 2013-04-05.
Patch2: hexedit-man-page-color.patch
BuildRequires: ncurses-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -17,7 +21,9 @@ and search through it.
%prep
%setup -q -n %{name}
%patch -p1 -b .config
%patch1 -p1 -b .config
%patch2 -p1 -b .color
%build
%configure
@ -38,6 +44,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*/*
%changelog
* Fri Apr 05 2013 Richard W.M. Jones <rjones@redhat.com> - 1.2.13-3
- Add patch to document --color option.
* Tue Mar 26 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.2.13-2
- Bring back config patch to fix -debuginfo, it hasn't been upstreamed yet.
- Drop empty TODO from docs.