File untex.spec of Package untex
#
# spec file for package untex
#
# 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: untex
Version: 1.3
Release: 0
Summary: Command to strip LaTeX commands from input
License: GPL-2.0-or-later
URL: https://www.ctan.org/pkg/untex
Source: %{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE fix-install-path.patch svalx@svalx.net -- fixing install paths
Patch1: fix-install-path.patch
# PATCH-FIX-UPSTREAM fix-implicit-declarations.patch svalx@svalx.net -- The ability to build in gcc >= 14
Patch2: fix-implicit-declarations.patch
%description
Like detex untex removes some LaTeX commands from the files listed in the
arguments (or standard input) and prints the output to standard output.
Has some alternative options, and the source code too, of course.
%prep
%autosetup
%build
%make_build
%install
%make_install
%files
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog