Rebase onto 1.5
Add Build requirement autoconf Add new patch
This commit is contained in:
parent
dfc5e11b32
commit
58fa71a440
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
hexedit-1.2.12.src.tgz
|
||||
/hexedit-1.2.13.src.tgz
|
||||
/1.5.tar.gz
|
||||
|
@ -10,14 +10,3 @@ diff -up hexedit/Makefile-build.in~ hexedit/Makefile-build.in
|
||||
install -d -m 755 usr/man/man1
|
||||
install -m 644 $(PRODUCT).1 usr/man/man1
|
||||
tar cfz $(DYNAMICBIN) usr
|
||||
diff -up hexedit/Makefile.in~ hexedit/Makefile.in
|
||||
--- hexedit/Makefile.in~ 2010-02-04 17:20:52.000000000 +0200
|
||||
+++ hexedit/Makefile.in 2013-03-26 17:14:26.217769520 +0200
|
||||
@@ -42,6 +42,6 @@ distclean: clean
|
||||
|
||||
install: $(PRODUCT)
|
||||
$(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
|
||||
- $(INSTALL) -s -m 755 $(PRODUCT) $(DESTDIR)$(bindir)
|
||||
+ $(INSTALL) -m 755 $(PRODUCT) $(DESTDIR)$(bindir)
|
||||
$(INSTALL) -d -m 755 $(DESTDIR)$(mandir)/man1
|
||||
$(INSTALL) -m 644 $(PRODUCT).1 $(DESTDIR)$(mandir)/man1
|
||||
|
21
hexedit.spec
21
hexedit.spec
@ -1,19 +1,20 @@
|
||||
Summary: A hexadecimal file viewer and editor
|
||||
Name: hexedit
|
||||
Version: 1.2.13
|
||||
Release: 19%{?dist}
|
||||
Version: 1.5
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
|
||||
URL: http://rigaux.org/hexedit.html
|
||||
Source: http://rigaux.org/%{name}-%{version}.src.tgz
|
||||
Source: https://github.com/pixel/%{name}/archive/%{version}.tar.gz
|
||||
|
||||
Patch1: hexedit-1.2.13-config.patch
|
||||
# Document --color option. Sent upstream 2013-04-05.
|
||||
Patch2: hexedit-man-page-color.patch
|
||||
Patch2: hexedit-1.5.patch
|
||||
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: autoconf
|
||||
|
||||
%description
|
||||
Hexedit shows a file both in ASCII and in hexadecimal. The file can be a device
|
||||
@ -21,12 +22,13 @@ as the file is read a piece at a time. Hexedit can be used to modify the file
|
||||
and search through it.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%patch1 -p1 -b .config
|
||||
%patch2 -p1 -b .color
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure
|
||||
make %{_smp_mflags}
|
||||
|
||||
@ -37,11 +39,16 @@ make install \
|
||||
INSTALL='install -p'
|
||||
|
||||
%files
|
||||
%doc hexedit-%{version}.lsm COPYING Changes
|
||||
%doc hexedit.lsm COPYING Changes
|
||||
%{_bindir}/hexedit
|
||||
%{_mandir}/man1/hexedit.1*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 16 2021 Filip Januš <fjanus@redhat.com> - 1.5-1
|
||||
- Nwe upstream version 1.5
|
||||
- Add patch to solve inconsistency between configure.ac and filename
|
||||
- Add Build requirement autoconf
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user