- updated to 1.11
- included the documentation - optimised the %%descritpion
This commit is contained in:
parent
3473f3e118
commit
62310ca14e
@ -1 +1 @@
|
||||
source-highlight-1.9.tar.gz
|
||||
source-highlight-1.11.tar.gz
|
||||
|
@ -1,11 +1,10 @@
|
||||
Summary: Produces a document with syntax highlighting
|
||||
Name: source-highlight
|
||||
Version: 1.9
|
||||
Release: 3
|
||||
|
||||
Version: 1.11
|
||||
Release: 1
|
||||
Group: Development/Tools
|
||||
License: GPL
|
||||
Source: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
|
||||
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
|
||||
@ -13,16 +12,9 @@ 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user