functions like usleep are properly declared by glibc and GCC 14 does not error out because of calling undeclared functions. If the request is OK, please forward it to Factory soon so that the package is ready when we switch dthe default compiler. Thanks! OBS-URL: https://build.opensuse.org/package/show/editors/dhex?expand=0&rev=12
53 lines
1.6 KiB
RPMSpec
53 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package dhex
|
|
#
|
|
# 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: dhex
|
|
Version: 0.69
|
|
Release: 0
|
|
Summary: Hexeditor with a Diff-mode for ncurses
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/File utilities
|
|
URL: http://www.dettus.net/dhex/
|
|
Source0: http://www.dettus.net/%{name}/%{name}_%{version}.tar.gz
|
|
Source1: dhex-themes.tar.bz2
|
|
BuildRequires: ncurses-devel
|
|
|
|
%description
|
|
DHEX is just another Hexeditor with a Diff mode for ncurses. It makes
|
|
heavy use of colors and is themeable.
|
|
|
|
%prep
|
|
%setup -qn %{name}_%{version} -a1
|
|
|
|
%build
|
|
make %{?_smp_mflags} CFLAGS="%{optflags} -std=c99 -D_DEFAULT_SOURCE"
|
|
|
|
%install
|
|
install -Dm 0755 %{name} %{buildroot}%{_bindir}/%{name}
|
|
install -dm 0755 %{buildroot}%{_mandir}/{man1,man5}
|
|
install -pm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/
|
|
install -pm 0644 %{name}*.5 %{buildroot}%{_mandir}/man5/
|
|
|
|
%files
|
|
%license gpl.txt
|
|
%doc README.txt themes todo.txt
|
|
%{_bindir}/%{name}
|
|
%{_mandir}/man?/*
|
|
|
|
%changelog
|