@ -1,7 +1,7 @@
Summary: A GNU program for formatting C code.
Summary: A GNU program for formatting C code.
Name: indent
Name: indent
Version: 2.2.6
Version: 2.2.7
Release: 2
Release: 3
License: GPL
License: GPL
Group: Applications/Text
Group: Applications/Text
URL: http://www.gnu.org/software/indent/
URL: http://www.gnu.org/software/indent/
@ -31,7 +31,8 @@ rm -rf $RPM_BUILD_ROOT
%makeinstall
%makeinstall
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
gzip -9nf $RPM_BUILD_ROOT/%{_infodir}/indent.info*
%find_lang %name
%clean
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
@ -42,17 +43,27 @@ rm -rf $RPM_BUILD_ROOT
%preun
%preun
if [ "$1" = 0 ]; then
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
fi
%files
%files -f %{name}.lang
%defattr(-,root,root)
%defattr(-,root,root)
/usr/bin/indent
/usr/bin/*
%{_mandir}/*/*
%{_mandir}/*/*
%{_infodir}/*
%{_infodir}/*
%changelog
%changelog
* 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>
- automated rebuild
* Fri Dec 28 2001 Florian La Roche <Florian.LaRoche@redhat.de>
- update to 2.2.7
- use find_lang for translations
- do not gzip man-page
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.
- Bump release + rebuild.