diff --git a/.cvsignore b/.cvsignore index e69de29..a77a263 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +indent-2.2.5.tar.gz diff --git a/indent.spec b/indent.spec new file mode 100644 index 0000000..661471b --- /dev/null +++ b/indent.spec @@ -0,0 +1,103 @@ +Summary: A GNU program for formatting C code. +Name: indent +Version: 2.2.5 +Release: 6 +License: GPL +Group: Applications/Text +URL: http://www.gnu.org/software/indent/ +Source: ftp://ftp.gnu.org/pub/gnu/indent-%{version}.tar.gz +Prereq: /sbin/install-info +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Indent is a GNU program for beautifying C code, so that it is easier to +read. Indent can also convert from one C writing style to a different +one. Indent understands correct C syntax and tries to handle incorrect +C syntax. + +Install the indent package if you are developing applications in C and +you want a program to format your code. + +%prep +%setup -q + +%build + +%configure +make + +%install +rm -rf $RPM_BUILD_ROOT + +%makeinstall +rm -f $RPM_BUILD_ROOT/%{_infodir}/dir +gzip -9nf $RPM_BUILD_ROOT/%{_infodir}/indent.info* + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/install-info %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code." + +%preun +if [ "$1" = 0 ]; then + /sbin/install-info --delete %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code." + +fi + +%files +%defattr(-,root,root) +/usr/bin/indent +%{_mandir}/*/* +%{_infodir}/* + + +%changelog +* Fri Jul 21 2000 Trond Eivind Glomsrød +- rebuild + +* Thu Jul 13 2000 Prospector +- automatic rebuild + +* Thu Jun 08 2000 Trond Eivind Glomsrød +- use %%configure, %%makeinstall, %%{_infodir}, %%{_mandir} + and %%{_tmppath} +- don't use %%{_prefix} + +* Wed May 10 2000 Trond Eivind Glomsrød +- added URL +- remove manual stripping + + +* Thu Feb 03 2000 Cristian Gafton +- man pages are compressed + +* Thu Jan 20 2000 Bill Nottingham +- 2.2.5 + +* Mon Jul 26 1999 Bill Nottingham +- 2.2.0 + +* Fri Jul 16 1999 Bill Nottingham +- update to 2.1.1 + +* Sun May 30 1999 Jeff Johnson +- update to 1.10.0. + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 11) + +* Fri Dec 18 1998 Bill Nottingham +- build for 6.0 tree + +* Thu Aug 13 1998 Jeff Johnson +- build root + +* Thu May 07 1998 Prospector System +- translations modified for de, fr, tr + +* Tue Oct 21 1997 Otto Hammersmith +- use install-info + +* Thu Jul 10 1997 Erik Troan +- built against glibc diff --git a/sources b/sources index e69de29..a7f265f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +24e09d442c451ae465b6737129699d69 indent-2.2.5.tar.gz