|
|
|
@ -1,7 +1,8 @@
|
|
|
|
|
Summary: A GNU program for formatting C code.
|
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
Summary: A GNU program for formatting C code
|
|
|
|
|
Name: indent
|
|
|
|
|
Version: 2.2.9
|
|
|
|
|
Release: 15%{?dist}
|
|
|
|
|
Release: 16%{?dist}
|
|
|
|
|
License: GPL
|
|
|
|
|
Group: Applications/Text
|
|
|
|
|
URL: http://www.gnu.org/software/indent/
|
|
|
|
@ -13,9 +14,10 @@ Patch4: indent-2.2.9-cdw.patch
|
|
|
|
|
Patch5: indent-2.2.9-lcall.patch
|
|
|
|
|
Patch6: indent-2.2.9-zh_TW.patch
|
|
|
|
|
Patch7: indent-2.2.9-man.patch
|
|
|
|
|
Prereq: /sbin/install-info
|
|
|
|
|
BuildRequires: gettext texinfo
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Indent is a GNU program for beautifying C code, so that it is easier to
|
|
|
|
@ -52,7 +54,9 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir $RPM_BUILD_ROOT/usr/bin/texinfo2man \
|
|
|
|
|
%find_lang %name
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
echo ====================TESTING=========================
|
|
|
|
|
make -C regression
|
|
|
|
|
echo ====================TESTING END=====================
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
@ -62,7 +66,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
if [ "$1" = 0 ]; then
|
|
|
|
|
/sbin/install-info --delete %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code." || :
|
|
|
|
|
/sbin/install-info --delete %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code." || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
@ -73,8 +77,12 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Feb 2 2007 Petr Machata <pmachata@redhat.com> - 2.2.9-16
|
|
|
|
|
- Tidy up the specfile per rpmlint comments
|
|
|
|
|
- Use utf-8 and fix national characters in contributor's names
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2007 Petr Machata <pmachata@redhat.com> - 2.2.9-15
|
|
|
|
|
- Ville Skytta: patch for non-failing %%post, %%preun
|
|
|
|
|
- Ville Skyttä: patch for non-failing %%post, %%preun
|
|
|
|
|
- Resolves: #223703
|
|
|
|
|
|
|
|
|
|
* Mon Jul 17 2006 Karsten Hopp <karsten@redhat.de> 2.2.9-14
|
|
|
|
@ -153,7 +161,7 @@ fi
|
|
|
|
|
* Thu Apr 25 2002 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- update to 2.2.8
|
|
|
|
|
|
|
|
|
|
* Wed Feb 27 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.7-3
|
|
|
|
|
* Wed Feb 27 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.7-3
|
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
@ -170,18 +178,18 @@ fi
|
|
|
|
|
* Sun Nov 19 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- update to 2.2.6
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
|
|
* Fri Jul 21 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 08 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
|
|
* Thu Jun 08 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
|
|
- use %%configure, %%makeinstall, %%{_infodir}, %%{_mandir}
|
|
|
|
|
and %%{_tmppath}
|
|
|
|
|
- don't use %%{_prefix}
|
|
|
|
|
|
|
|
|
|
* Wed May 10 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
|
|
* Wed May 10 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
|
|
- added URL
|
|
|
|
|
- remove manual stripping
|
|
|
|
|
|
|
|
|
|