update code
This commit is contained in:
commit
2efd0f2411
23
hexedit-1.2.13-config.patch
Normal file
23
hexedit-1.2.13-config.patch
Normal file
@ -0,0 +1,23 @@
|
||||
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
|
||||
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
|
||||
BIN
hexedit-1.2.13.src.tgz
Normal file
BIN
hexedit-1.2.13.src.tgz
Normal file
Binary file not shown.
49
hexedit.spec
Normal file
49
hexedit.spec
Normal file
@ -0,0 +1,49 @@
|
||||
Name: hexedit
|
||||
Version: 1.2.13
|
||||
Release: 15
|
||||
Summary: hexedit - view and edit files in hexadecimal or in ASCII.
|
||||
License: GPLv2+
|
||||
URL: http://rigaux.org/hexedit.html
|
||||
Source0: http://rigaux.org/%{name}-%{version}.src.tgz
|
||||
|
||||
Patch0: hexedit-1.2.13-config.patch
|
||||
|
||||
BuildRequires: gcc ncurses-devel
|
||||
|
||||
%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. You can modify the file and search through it.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name} -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install INSTALL='install -p'
|
||||
|
||||
%check
|
||||
|
||||
%pre
|
||||
|
||||
%preun
|
||||
|
||||
%post
|
||||
|
||||
%postun
|
||||
|
||||
%files
|
||||
%doc %{name}-%{version}.lsm Changes
|
||||
%license COPYING
|
||||
%{_bindir}/hexedit
|
||||
|
||||
%files help
|
||||
%{_mandir}/man1/hexedit.1*
|
||||
|
||||
%changelog
|
||||
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2.13-15
|
||||
- Package init.
|
||||
Loading…
x
Reference in New Issue
Block a user