2005-03-05 19:28:28 +00:00
|
|
|
|
Summary: Produces a document with syntax highlighting
|
|
|
|
|
Name: source-highlight
|
|
|
|
|
Version: 1.9
|
2005-04-06 22:13:32 +00:00
|
|
|
|
Release: 3
|
|
|
|
|
|
2005-03-05 19:28:28 +00:00
|
|
|
|
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)
|
2004-11-08 05:21:35 +00:00
|
|
|
|
BuildRequires: bison, flex
|
|
|
|
|
|
|
|
|
|
%description
|
2005-03-05 19:28:28 +00:00
|
|
|
|
This program, given a source file, produces a document with syntax
|
2004-11-08 05:21:35 +00:00
|
|
|
|
highlighting. At the moment this package can handle :
|
|
|
|
|
* Java
|
|
|
|
|
* C/C++
|
|
|
|
|
* Prolog
|
|
|
|
|
* Perl
|
|
|
|
|
* Php3 new
|
|
|
|
|
as source languages, and HTML as output format.
|
2005-03-05 19:28:28 +00:00
|
|
|
|
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).
|
2004-11-08 05:21:35 +00:00
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
rm -fr $RPM_BUILD_ROOT%{_datadir}/doc/
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr (-,root,root)
|
|
|
|
|
%{_bindir}/cpp2html
|
|
|
|
|
%{_bindir}/java2html
|
|
|
|
|
%{_bindir}/source-highlight
|
|
|
|
|
%{_bindir}/source-highlight-cgi
|
|
|
|
|
%{_bindir}/src-hilite-lesspipe.sh
|
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2005-04-06 22:13:32 +00:00
|
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
2004-11-08 05:21:35 +00:00
|
|
|
|
* Tue Jun 22 2004 Adrian Reber <adrian@lisas.de> - 0:1.9-0.fdr.2
|
|
|
|
|
- added the Epoch: 0
|
|
|
|
|
|
|
|
|
|
* Tue Jun 22 2004 Adrian Reber <adrian@lisas.de> - 1.9-0.fdr.1
|
|
|
|
|
- removed mandrake specific macros
|
|
|
|
|
|
|
|
|
|
* Thu Jun 17 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.9-1mdk
|
|
|
|
|
- 1.9
|
|
|
|
|
|
|
|
|
|
* Wed Jan 07 2004 Per <EFBFBD>yvind Karlsen <peroyvind@linux-mandrake.com> 1.8-1mdk
|
|
|
|
|
- 1.8
|
|
|
|
|
- drop Prefix tag
|
|
|
|
|
- clean out redundant buildrequires
|
|
|
|
|
- rm -rf $RPM_BUILD_ROOT at the beginning of %%install, not %%prep
|
|
|
|
|
- use %%makeinstall_std macro
|
|
|
|
|
- cosmetics
|
|
|
|
|
|
|
|
|
|
* Wed Mar 26 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.7-1mdk
|
|
|
|
|
- 1.7
|
|
|
|
|
|
|
|
|
|
* Sat Feb 01 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.6.3-1mdk
|
|
|
|
|
- 1.6.3
|
|
|
|
|
|
|
|
|
|
* Wed Jan 22 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.6.2-1mdk
|
|
|
|
|
- 1.6.2
|
|
|
|
|
|
|
|
|
|
* Sat Nov 23 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.6.1-1mdk
|
|
|
|
|
- 1.6.1
|
|
|
|
|
- fix unpackaged files
|
|
|
|
|
|
|
|
|
|
* Thu Sep 05 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.5-2mdk
|
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.5-1mdk
|
|
|
|
|
- 1.5
|
|
|
|
|
|
|
|
|
|
* Wed Jun 26 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.4-1mdk
|
|
|
|
|
- obsoletes java2html & cpp2html
|