From 62310ca14ecdc0d15ff37964d5d0fc972b389cb3 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Wed, 11 May 2005 07:25:31 +0000 Subject: [PATCH] - updated to 1.11 - included the documentation - optimised the %%descritpion --- .cvsignore | 2 +- source-highlight.spec | 42 ++++++++++++++++++++---------------------- sources | 2 +- 3 files changed, 22 insertions(+), 24 deletions(-) diff --git a/.cvsignore b/.cvsignore index aec67f7..39bcb39 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -source-highlight-1.9.tar.gz +source-highlight-1.11.tar.gz diff --git a/source-highlight.spec b/source-highlight.spec index 0ed3b65..07c546d 100644 --- a/source-highlight.spec +++ b/source-highlight.spec @@ -1,28 +1,20 @@ -Summary: Produces a document with syntax highlighting -Name: source-highlight -Version: 1.9 -Release: 3 - -Group: Development/Tools -License: GPL -Source: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz -URL: http://www.gnu.org/software/src-highlite/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: bison, flex +Summary: Produces a document with syntax highlighting +Name: source-highlight +Version: 1.11 +Release: 1 +Group: Development/Tools +License: GPL +Source: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-1.11.tar.gz +URL: http://www.gnu.org/software/src-highlite/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: bison, flex %description This program, given a source file, produces a document with syntax highlighting. At the moment this package can handle : -* Java -* C/C++ -* Prolog -* Perl -* Php3 new -as source languages, and HTML as output format. -NOTICE: now the name of the program is source-highlight: there are no two -separate programs, namely java2html and cpp2html, anymore. However there -are two shell scripts with the same name in order to facilitate the -migration (however their use is not advised). +Java, Javascript, C/C++, Prolog, Perl, Php3, Python, Flex, ChangeLog, Ruby, +Lua, Caml, Sml and Log as source languages, and HTML, XHTML and ANSI color +escape sequences as output format. %prep %setup -q @@ -35,13 +27,14 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT -rm -fr $RPM_BUILD_ROOT%{_datadir}/doc/ +mv $RPM_BUILD_ROOT%{_datadir}/doc/ docs %clean rm -rf $RPM_BUILD_ROOT %files %defattr (-,root,root) +%doc docs/source-highlight/* %{_bindir}/cpp2html %{_bindir}/java2html %{_bindir}/source-highlight @@ -51,6 +44,11 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/* %changelog +* Wed May 11 2005 Adrian Reber - 1.11-1 +- updated to 1.11 +- included the documentation +- optimised the %%descritpion + * Fri Apr 7 2005 Michael Schwendt - rebuilt diff --git a/sources b/sources index 21e490d..3ab6d19 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -88e1ecd5c4c37104ed98c0674f630656 source-highlight-1.9.tar.gz +4d044e7fb4593e9214f64bedad42ea09 source-highlight-1.11.tar.gz