update to 2.2.13 [release 2.2.13-1mamba;Thu Mar 30 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 23:54:35 +01:00
parent 4452485057
commit aab70168fd

View File

@ -1,14 +1,14 @@
Name: indent
Version: 2.2.12
Version: 2.2.13
Release: 1mamba
Summary: A flexible tool to indent C programs
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.gnu.org/directory/GNU/indent.html
Source: http://ftp.de.debian.org/debian/pool/main/i/indent/indent_%{version}.orig.tar.xz
#Source: http://ftp.gnu.org/gnu/indent/indent-%{version}.tar.gz
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://directory.fsf.org/wiki/GNU/indent
Source: https://ftp.gnu.org/gnu/indent/indent-%{version}.tar.xz
#Source: http://ftp.de.debian.org/debian/pool/main/i/indent/indent_%{version}.orig.tar.xz
Patch: %{name}-2.2.9-gcc4fix.patch
Patch1: indent-2.2.11-texinfo-5.0.patch
License: GPL
@ -18,14 +18,13 @@ BuildRequires: glibc-devel
BuildRequires: gettext-devel
BuildRequires: tetex
Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME: 'texi2pdf' missing
%description
Indent changes the appearance of a C program by inserting or deleting whitespace.
It also has options for controlling the alignment of braces and declarations, program indenting, formatting of both C and C++ comments, and other stylistic parameters.
%debug_package
%prep
%setup -q
#%patch -p1
@ -41,15 +40,13 @@ It also has options for controlling the alignment of braces and declarations, pr
%find_lang %{name}
# remove duplicate file
rm %{buildroot}%{_prefix}/doc/indent/indent.html
%post
%install_info %{name}.info
:
%preun
%uninstall_info %{name}.info
exit 0
:
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -57,13 +54,17 @@ exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/indent
#%{_bindir}/texinfo2man
%{_datadir}/info/*
%dir %{_docdir}/indent
%{_docdir}/indent/indent.html
%{_datadir}/man/man1/*
%doc AUTHORS COPYING doc/indent.html
#ChangeLog* NEWS README doc/indent.html
%doc AUTHORS COPYING
#ChangeLog* NEWS README
%changelog
* Thu Mar 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.13-1mamba
- update to 2.2.13
* Mon Jul 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.12-1mamba
- update to 2.2.12