2024-01-05 23:54:34 +01:00
|
|
|
Name: indent
|
2024-01-05 23:54:35 +01:00
|
|
|
Version: 2.2.13
|
2024-01-05 23:54:34 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A flexible tool to indent C programs
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 23:54:35 +01:00
|
|
|
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
|
2024-01-05 23:54:34 +01:00
|
|
|
Patch: %{name}-2.2.9-gcc4fix.patch
|
|
|
|
Patch1: indent-2.2.11-texinfo-5.0.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 23:54:34 +01:00
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: tetex
|
|
|
|
Requires(post):%{__install_info}
|
2024-01-05 23:54:34 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-01-05 23:54:35 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 23:54:34 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 23:54:34 +01:00
|
|
|
#%patch -p1
|
|
|
|
#%patch1 -p1
|
2024-01-05 23:54:34 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info %{name}.info
|
2024-01-05 23:54:35 +01:00
|
|
|
:
|
2024-01-05 23:54:34 +01:00
|
|
|
|
|
|
|
%preun
|
|
|
|
%uninstall_info %{name}.info
|
2024-01-05 23:54:35 +01:00
|
|
|
:
|
2024-01-05 23:54:34 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/indent
|
|
|
|
%{_datadir}/info/*
|
2024-01-05 23:54:35 +01:00
|
|
|
%dir %{_docdir}/indent
|
|
|
|
%{_docdir}/indent/indent.html
|
2024-01-05 23:54:34 +01:00
|
|
|
%{_datadir}/man/man1/*
|
2024-01-05 23:54:35 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#ChangeLog* NEWS README
|
2024-01-05 23:54:34 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:54:35 +01:00
|
|
|
* Thu Mar 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.13-1mamba
|
|
|
|
- update to 2.2.13
|
|
|
|
|
2024-01-05 23:54:34 +01:00
|
|
|
* Mon Jul 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.12-1mamba
|
|
|
|
- update to 2.2.12
|
|
|
|
|
2024-01-05 23:54:34 +01:00
|
|
|
* Tue Jan 29 2013 Automatic Build System <autodist@mambasoft.it> 2.2.11-1mamba
|
|
|
|
- update to 2.2.11
|
|
|
|
|
|
|
|
* Sun Jul 08 2012 Automatic Build System <autodist@mambasoft.it> 2.2.10-1mamba
|
|
|
|
- update to 2.2.10
|
|
|
|
|
|
|
|
* Tue Dec 11 2007 Aleph0 <aleph0@openmamba.org> 2.2.9-4mamba
|
|
|
|
- fixed license
|
|
|
|
|
|
|
|
* Wed Sep 28 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.2.9-3qilnx
|
|
|
|
- specfile fixes: use %%find_lang, install/uninstall info files
|
|
|
|
|
|
|
|
* Mon Sep 26 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.2.9-2qilnx
|
|
|
|
- bug with gcc4 fixed
|
|
|
|
|
|
|
|
* Thu Feb 12 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.2.9-1qilnx
|
|
|
|
- first build
|