1.11: 2024-02-07::
Ship 6 bytes of address ratrher than 4, files run bigger these days.
Update to modern C style standard.
1.10: 2019-06-12::
Name changed to hexd to avoid collision with BSD hexdump.
License changed to BSD-2-clause.
1.9: 2015-04-02::
Administrivial release; Gitorious is dying, project metadata must change.
1.8: 2012-12-03::
Use C99 bools. Code passes cppcheck audit. Added a regression test.
1.7: 2010-10-20::
Code fully ANSIfied. License changed to BSD. RPM spec removed.
1.6: 2003-12-29::
Source RPMs no longer depend on --define myversion
1.5: 2003-12-26::
Name changed to 'hexd'.
- deleted patches
- hex-1.4.diff (renamed)
- added patches
+ hex.diff
OBS-URL: https://build.opensuse.org/package/show/Base:System/hex?expand=0&rev=14
54 lines
1.5 KiB
RPMSpec
54 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package hex
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: hex
|
|
Version: 1.11
|
|
Release: 0
|
|
Summary: Yet Another Hex Dumper
|
|
License: BSD-3-Clause
|
|
Group: Development/Tools/Other
|
|
URL: http://www.catb.org/~esr/hexd/index.html
|
|
Source: http://www.catb.org/~esr/hexd/hexd-1.11.tar.gz
|
|
Patch0: %{name}.diff
|
|
BuildRequires: rubygem(asciidoctor)
|
|
Provides: util-linux:%{_bindir}/hex
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
A hex dumper that does CP/M and EBCDIC formatting and has
|
|
internationalization support.
|
|
|
|
%prep
|
|
%autosetup -p1 -n hexd-%{version}
|
|
|
|
%build
|
|
make %{?_smp_mflags} clean
|
|
make CFLAGS="%{optflags} -Wall" CC="gcc" %{?_smp_mflags}
|
|
|
|
%install
|
|
mkdir -p %{buildroot}{%{_mandir}/man1,%{_bindir}}
|
|
make install DESTDIR=%{buildroot} MANDIR=%{_mandir}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README NEWS.adoc
|
|
%doc %{_mandir}/man?/*
|
|
%{_bindir}/hex
|
|
|
|
%changelog
|