indent/indent.spec

87 lines
2.2 KiB
RPMSpec

Name: indent
Version: 2.2.13
Release: 2mamba
Summary: A flexible tool to indent C programs
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnu.org/software/indent/
Source: https://ftp.gnu.org/gnu/indent/indent-%{version}.tar.xz
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
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
rm -f %{buildroot}%{_datadir}/info/dir
%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/%{name}.info*
%dir %{_docdir}/indent
%{_docdir}/indent/indent.html
%{_datadir}/man/man1/*
%doc AUTHORS COPYING
%changelog
* Fri Apr 19 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.13-2mamba
- remove info/dir
* 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