- updated to 1.11

- included the documentation
- optimised the %%descritpion
This commit is contained in:
Adrian Reber 2005-05-11 07:25:31 +00:00
parent 3473f3e118
commit 62310ca14e
3 changed files with 22 additions and 24 deletions

View File

@ -1 +1 @@
source-highlight-1.9.tar.gz
source-highlight-1.11.tar.gz

View File

@ -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 <adrian@lisas.de> - 1.11-1
- updated to 1.11
- included the documentation
- optimised the %%descritpion
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt

View File

@ -1 +1 @@
88e1ecd5c4c37104ed98c0674f630656 source-highlight-1.9.tar.gz
4d044e7fb4593e9214f64bedad42ea09 source-highlight-1.11.tar.gz