2007-01-15 23:16:37 +00:00
|
|
|
#
|
2011-10-04 16:11:37 +00:00
|
|
|
# spec file for package hex
|
2007-01-15 23:16:37 +00:00
|
|
|
#
|
2024-02-29 10:09:47 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-15 23:16:37 +00:00
|
|
|
#
|
2009-06-17 17:37:35 +00:00
|
|
|
# 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.
|
|
|
|
|
|
2024-02-29 10:09:47 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:16:37 +00:00
|
|
|
#
|
|
|
|
|
|
2009-06-17 17:37:35 +00:00
|
|
|
|
|
|
|
|
Name: hex
|
2024-02-29 10:09:47 +00:00
|
|
|
Version: 1.11
|
2015-02-22 19:18:51 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Yet Another Hex Dumper
|
2011-12-06 17:17:56 +00:00
|
|
|
License: BSD-3-Clause
|
2009-06-17 17:37:35 +00:00
|
|
|
Group: Development/Tools/Other
|
2024-02-29 10:09:47 +00:00
|
|
|
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)
|
2015-04-21 06:39:17 +00:00
|
|
|
Provides: util-linux:%{_bindir}/hex
|
2009-06-17 17:37:35 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:16:37 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A hex dumper that does CP/M and EBCDIC formatting and has
|
|
|
|
|
internationalization support.
|
|
|
|
|
|
|
|
|
|
%prep
|
2024-02-29 10:09:47 +00:00
|
|
|
%autosetup -p1 -n hexd-%{version}
|
2007-01-15 23:16:37 +00:00
|
|
|
|
|
|
|
|
%build
|
2015-04-21 06:39:17 +00:00
|
|
|
make %{?_smp_mflags} clean
|
|
|
|
|
make CFLAGS="%{optflags} -Wall" CC="gcc" %{?_smp_mflags}
|
2007-01-15 23:16:37 +00:00
|
|
|
|
|
|
|
|
%install
|
2015-04-21 06:39:17 +00:00
|
|
|
mkdir -p %{buildroot}{%{_mandir}/man1,%{_bindir}}
|
|
|
|
|
make install DESTDIR=%{buildroot} MANDIR=%{_mandir}
|
2007-01-15 23:16:37 +00:00
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2024-02-29 10:09:47 +00:00
|
|
|
%doc README NEWS.adoc
|
2007-01-15 23:16:37 +00:00
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
|
%{_bindir}/hex
|
|
|
|
|
|
2009-06-17 17:37:35 +00:00
|
|
|
%changelog
|