indent/indent.spec

88 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: indent
Version: 2.2.13
Release: 1mamba
Summary: A flexible tool to indent C programs
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
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
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: gettext-devel
BuildRequires: tetex
Requires(post):%{__install_info}
%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
#%patch1 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%post
%install_info %{name}.info
:
%preun
%uninstall_info %{name}.info
:
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/indent
%{_datadir}/info/*
%dir %{_docdir}/indent
%{_docdir}/indent/indent.html
%{_datadir}/man/man1/*
%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
* 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