2024-01-05 23:54:34 +01:00
|
|
|
Name: indent
|
2024-01-05 23:54:35 +01:00
|
|
|
Version: 2.2.13
|
2024-04-19 16:06:28 +02:00
|
|
|
Release: 2mamba
|
2024-01-05 23:54:34 +01:00
|
|
|
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>
|
2024-04-19 16:06:28 +02:00
|
|
|
URL: https://www.gnu.org/software/indent/
|
2024-01-05 23:54:35 +01:00
|
|
|
Source: https://ftp.gnu.org/gnu/indent/indent-%{version}.tar.xz
|
2024-01-05 23:54:34 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
2024-04-19 16:06:28 +02:00
|
|
|
rm -f %{buildroot}%{_datadir}/info/dir
|
|
|
|
|
2024-01-05 23:54:34 +01:00
|
|
|
%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
|
2024-04-19 16:06:28 +02:00
|
|
|
%{_datadir}/info/%{name}.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
|
2024-01-05 23:54:34 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-04-19 16:06:28 +02:00
|
|
|
* Fri Apr 19 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.13-2mamba
|
|
|
|
- remove info/dir
|
|
|
|
|
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
|