import hexedit-1.6-1.el9

c9 imports/c9/hexedit-1.6-1.el9
CentOS Sources 2 years ago committed by MSVSphere Packaging Team
commit 0900177309

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/hexedit-1.6.tar.gz

@ -0,0 +1 @@
561e967aecff92a487614ed0f98f917949b39ac4 SOURCES/hexedit-1.6.tar.gz

@ -0,0 +1,12 @@
diff -up hexedit/Makefile-build.in~ hexedit/Makefile-build.in
--- hexedit/Makefile-build.in~ 2008-11-07 17:50:57.000000000 +0200
+++ hexedit/Makefile-build.in 2013-03-26 17:14:29.755829478 +0200
@@ -23,7 +23,7 @@ FROMINFILES = hexedit-$(VERSION).lsm hex
dynamic:
$(MAKE) $(PRODUCT)
install -d -m 755 usr/bin
- install -s -m 755 $(PRODUCT) usr/bin
+ install -m 755 $(PRODUCT) usr/bin
install -d -m 755 usr/man/man1
install -m 644 $(PRODUCT).1 usr/man/man1
tar cfz $(DYNAMICBIN) usr

@ -0,0 +1,47 @@
Author:Filip Januš <fjanus@redhat.com>
This patch fixs inconsistency between filename and configure.ac
diff -ur hexedit-1.6.old/configure.ac hexedit-1.6/configure.ac
--- hexedit-1.6.old/configure.ac 2022-04-22 09:06:10.000000000 +0100
+++ hexedit-1.6/configure.ac 2022-05-02 22:30:54.942894809 +0100
@@ -15,7 +15,7 @@
VERSION=TheVERSION
INCL=hexedit.h
SRCS="hexedit.c display.c mark.c page.c file.c interact.c misc.c search.c"
-OTHER="COPYING Changes TODO install-sh configure config.h.in hexedit.1 hexedit-TheVERSION.lsm Makefile.in configure.ac Makefile-build.in"
+OTHER="COPYING Changes TODO install-sh configure config.h.in hexedit.1 hexedit.lsm Makefile.in configure.ac Makefile-build.in"
AC_SUBST(PRODUCT)
AC_SUBST(VERSION)
AC_SUBST(INCL)
@@ -74,5 +74,5 @@
#endif
)
-AC_CONFIG_FILES([Makefile Makefile-build hexedit.1])
+AC_CONFIG_FILES([Makefile Makefile-build hexedit.1 hexedit.lsm])
AC_OUTPUT
Only in hexedit-1.6: configure.ac~
Only in hexedit-1.6: configure.ac.orig
Only in hexedit-1.6: configure.ac.rej
diff -ur hexedit-1.6.old/hexedit.lsm.in hexedit-1.6/hexedit.lsm.in
--- hexedit-1.6.old/hexedit.lsm.in 2022-04-22 09:06:10.000000000 +0100
+++ hexedit-1.6/hexedit.lsm.in 2022-05-02 22:30:07.618550082 +0100
@@ -1,6 +1,6 @@
Begin3
Title: hexedit
-Version: TheVERSION
+Version: @VERSION@
Entered-date: 10SEP98
Description: view and edit files in hexadecimal or in ASCII.
hexedit shows a file both in ASCII and in hexadecimal.
@@ -13,8 +13,8 @@
Author: pixel@rigaux.org (Pixel)
Maintained-by: pixel@rigaux.org (Pixel)
Primary-site: sunsite.unc.edu /pub/Linux/utils/file/hex
- 39kB hexedit-VERSION.src.tgz
- 14kB hexedit-VERSION.bin.i386.dynamic.tgz
+ 39kB hexedit-@VERSION@.src.tgz
+ 14kB hexedit-@VERSION@.bin.i386.dynamic.tgz
Original-site: rigaux.org /
Platforms: Linux Unix SunOS Solaris SGI curses
Copying-policy: GPL

@ -0,0 +1,283 @@
%global forgeurl https://github.com/pixel/hexedit
Version: 1.6
%forgemeta
Summary: A hexadecimal file viewer and editor
Name: hexedit
Release: 1%{?dist}
License: GPLv2+
URL: http://rigaux.org/hexedit.html
Source: %{forgesource}
Patch1: hexedit-1.2.13-config.patch
# Document --color option. Sent upstream 2013-04-05.
Patch2: hexedit-1.6-fix-lsm.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
as the file is read a piece at a time. Hexedit can be used to modify the file
and search through it.
%prep
%forgesetup
%patch1 -p1 -b .config
%patch2 -p1
%build
./autogen.sh
%configure
make %{_smp_mflags}
%install
make install \
mandir=$RPM_BUILD_ROOT%{_mandir} \
bindir=$RPM_BUILD_ROOT%{_bindir} \
INSTALL='install -p'
%files
%doc hexedit.lsm COPYING Changes
%{_bindir}/hexedit
%{_mandir}/man1/hexedit.1*
%changelog
* Mon May 02 2022 Richard W.M. Jones <rjones@redhat.com> - 1.6-1
- New upstream version 1.6
resolves: rhbz#2081103
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.5-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.5-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* 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
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Feb 27 2018 Marek Skalický <mskalick@redhat.com> - 1.2.13-13
- Add missing BuildRequires: gcc/gcc-c++
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.13-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.13-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.13-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.13-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Apr 05 2013 Richard W.M. Jones <rjones@redhat.com> - 1.2.13-3
- Add patch to document --color option.
- Modernize the spec file.
* 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.
* Thu Mar 21 2013 Jon Ciesla <limburger@gmail.com> - 1.2.13-1
- Latest upstream.
- Config patch upstreamed.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Nov 26 2012 Richard W.M. Jones <rjones@redhat.com> - 1.2.12-15
- Fix URL and Source for new upstream location.
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Feb 12 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 1.2.12-9
- rebuild
* Mon Dec 17 2007 Jiri Moskovcak <jmoskovc@redhat.com> - 1.2.12-8
- minor spec file fixes
* Thu Nov 1 2007 Jiri Moskovcak <jmoskovc@redhat.com> - 1.2.12-7
- spec file cleanup
* Tue Sep 18 2007 Jiri Moskovcak <jmoskovc@redhat.com> 1.2.12-6
- changed to new upstream source tarbal with some minor fixes
* Fri Apr 06 2007 Jindrich Novy <jnovy@redhat.com> 1.2.12-5
- spec fixes
* Wed Nov 29 2006 Jindrich Novy <jnovy@redhat.com> 1.2.12-4
- fix URL, add dist tag
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.12-3.2.1
- rebuild
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.12-3.2
- bump again for double-long bug on ppc(64)
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.12-3.1
- rebuilt for new gcc4.1 snapshot and glibc changes
* Thu Jan 26 2006 Jindrich Novy <jnovy@redhat.com> 1.2.12-3
- rebuilt (#178824)
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Tue Oct 25 2005 Jindrich Novy <jnovy@redhat.com> 1.2.12-2
- rewrite %%description - the original one was a nonsense (#171685)
* Mon Oct 3 2005 Jindrich Novy <jnovy@redhat.com> 1.2.12-1
- update to 1.2.12
- new upstream release introduces "fruit salad" colored hexeditor ;-)
(try --color)
* Fri Mar 4 2005 Jindrich Novy <jnovy@redhat.com> 1.2.10-4
- rebuilt with gcc4
* Thu Feb 10 2005 Jindrich Novy <jnovy@redhat.com> 1.2.10-3
- remove -D_FORTIFY_SOURCE=2 from CFLAGS, present in RPM_OPT_FLAGS
* Wed Feb 9 2005 Jindrich Novy <jnovy@redhat.com> 1.2.10-2
- rebuilt with -D_FORTIFY_SOURCE=2
* Mon Aug 2 2004 Jindrich Novy <jnovy@redhat.com> 1.2.10-1
- updated to 1.2.10-1
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Sep 26 2003 Harald Hoyer <harald@redhat.de> 1.2.7-1
- update to 1.2.7
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue May 6 2003 Than Ngo <than@redhat.com> 1.2.4-1
- 1.2.4
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 1.2.2-7
- rebuild on all arches
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Tue Jun 18 2002 Than Ngo <than@redhat.com> 1.2.2-5
- don't forcibly strip binaries
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Thu Feb 28 2002 Than Ngo <than@redhat.com> 1.2.2-3
- rebuild in new inviroment
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Tue Nov 27 2001 Than Ngo <than@redhat.com> 1.2.2-1
- updated to 1.2.2
- fixed Url
* Thu Aug 9 2001 Than Ngo <than@redhat.com> 1.2.1-3
- install man page in correct place
* Tue Jul 31 2001 Than Ngo <than@redhat.com> 1.2.1-2
- fix bug #50488
* Tue Jun 26 2001 Than Ngo <than@redhat.com> 1.2.1-1
- update to 1.2.1
- Copyright -> License
- add some Buildprereqs
* Mon May 21 2001 Tim Powers <timp@redhat.com>
- built for the ldistro
* Fri Feb 9 2001 Tim Powers <timp@redhat.com>
- patched so that it doesn't segfault on ia64 (bug 26845)
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
- rebuilt
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
- rebuilt
* Wed Jun 7 2000 Tim Powers <timp@redhat.com>
- fixed man page location
- use %%makeinstall
- use predefined RPM macros wherever possible
- patched so that regular users can build
* Fri May 12 2000 Tim Powers <timp@redhat.com>
- rbeuilt for 7.0
- made so that man pages are gzipped by RPM (glob)
* Thu Jul 15 1999 Tim Powers <timp@redhat.com>
- updated source
- cleaned up %%build section. Now uses make install instead of install
blah....
-built for 6.1
* Tue Oct 06 1998 Michael Maher <mike@redhat.com>
- updated package
* Mon Jul 20 1998 Michael Maher <mike@redhat.com>
- built package
Loading…
Cancel
Save