2005-05-11 07:25:31 +00:00
|
|
|
|
Summary: Produces a document with syntax highlighting
|
|
|
|
|
Name: source-highlight
|
2007-09-16 19:46:15 +00:00
|
|
|
|
Version: 2.7
|
|
|
|
|
Release: 1%{?dist}
|
2005-05-11 07:25:31 +00:00
|
|
|
|
Group: Development/Tools
|
2007-09-16 19:46:15 +00:00
|
|
|
|
License: GPLv2+
|
|
|
|
|
Source0: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.7.tar.gz
|
|
|
|
|
Source1: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.7.tar.gz.sig
|
2005-05-11 07:25:31 +00:00
|
|
|
|
URL: http://www.gnu.org/software/src-highlite/
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2005-06-20 09:48:43 +00:00
|
|
|
|
BuildRequires: bison, flex, boost-devel
|
2005-10-17 10:11:25 +00:00
|
|
|
|
BuildRequires: help2man, ctags
|
2005-06-20 09:48:43 +00:00
|
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
|
Requires(postun): /sbin/install-info
|
2005-10-17 10:11:25 +00:00
|
|
|
|
Requires: ctags
|
2004-11-08 05:21:35 +00:00
|
|
|
|
|
|
|
|
|
%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 :
|
2005-05-11 07:25:31 +00:00
|
|
|
|
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.
|
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
|
|
|
|
|
|
2005-05-11 07:25:31 +00:00
|
|
|
|
mv $RPM_BUILD_ROOT%{_datadir}/doc/ docs
|
2005-08-03 14:11:58 +00:00
|
|
|
|
%{__sed} -i 's/\r//' docs/source-highlight/xhtml.css
|
2004-11-08 05:21:35 +00:00
|
|
|
|
|
2007-09-22 16:31:20 +00:00
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
|
2004-11-08 05:21:35 +00:00
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
2005-06-20 09:48:43 +00:00
|
|
|
|
%post
|
|
|
|
|
/sbin/install-info %{_infodir}/source-highlight.info \
|
|
|
|
|
%{_infodir}/dir 2>/dev/null || :
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
|
/sbin/install-info --delete %{_infodir}/source-highlight.info \
|
|
|
|
|
%{_infodir}/dir 2>/dev/null || :
|
|
|
|
|
fi
|
|
|
|
|
|
2004-11-08 05:21:35 +00:00
|
|
|
|
%files
|
|
|
|
|
%defattr (-,root,root)
|
2005-05-11 07:25:31 +00:00
|
|
|
|
%doc docs/source-highlight/*
|
2004-11-08 05:21:35 +00:00
|
|
|
|
%{_bindir}/cpp2html
|
|
|
|
|
%{_bindir}/java2html
|
|
|
|
|
%{_bindir}/source-highlight
|
2007-09-16 19:46:15 +00:00
|
|
|
|
%{_bindir}/check-regexp
|
2004-11-08 05:21:35 +00:00
|
|
|
|
%{_bindir}/src-hilite-lesspipe.sh
|
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
%{_mandir}/man1/*
|
2005-06-20 09:48:43 +00:00
|
|
|
|
%{_infodir}/source-highlight.info*
|
2004-11-08 05:21:35 +00:00
|
|
|
|
|
|
|
|
|
%changelog
|
2007-09-16 19:46:15 +00:00
|
|
|
|
* Sun Sep 16 2007 Adrian Reber <adrian@lisas.de> - 2.7-1
|
|
|
|
|
- updated to 2.7
|
|
|
|
|
- updated files section
|
|
|
|
|
- updated license
|
|
|
|
|
|
2007-08-20 10:14:02 +00:00
|
|
|
|
* Mon Aug 20 2007 Caolan McNamara <caolanm@redhat.com> - 2.4-2
|
|
|
|
|
- rebuild for boost rebuild
|
|
|
|
|
|
2006-09-15 21:45:46 +00:00
|
|
|
|
* Fri Sep 15 2006 Adrian Reber <adrian@lisas.de> - 2.4-1
|
|
|
|
|
- updated to 2.4
|
|
|
|
|
|
2006-06-23 18:13:04 +00:00
|
|
|
|
* Wed Mar 21 2006 Adrian Reber <adrian@lisas.de> - 2.3-2
|
|
|
|
|
- using a new url.lang to fix #195720
|
|
|
|
|
(https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=131352)
|
|
|
|
|
|
2006-03-13 01:39:39 +00:00
|
|
|
|
* Sun Mar 12 2006 Adrian Reber <adrian@lisas.de> - 2.3-1
|
|
|
|
|
- updated to 2.3
|
|
|
|
|
|
2005-10-17 10:11:25 +00:00
|
|
|
|
* Mon Oct 17 2005 Adrian Reber <adrian@lisas.de> - 2.2-1
|
|
|
|
|
- updated to 2.2
|
|
|
|
|
- added ctags BuildRequires and Requires
|
|
|
|
|
|
2005-08-31 10:24:13 +00:00
|
|
|
|
* Wed Aug 31 2005 Adrian Reber <adrian@lisas.de> - 2.1.2-1
|
|
|
|
|
- updated to 2.1.2
|
|
|
|
|
- removed boost-compile-fix patch
|
|
|
|
|
|
2005-08-25 17:37:24 +00:00
|
|
|
|
* Thu Aug 25 2005 Adrian Reber <adrian@lisas.de> - 2.1.1-2
|
|
|
|
|
- rebuilt due to boost's SONAME change (boost 1.33.0)
|
|
|
|
|
- added patch to compile with boost 1.33.0
|
|
|
|
|
|
2005-08-03 14:11:58 +00:00
|
|
|
|
* Wed Aug 03 2005 Adrian Reber <adrian@lisas.de> - 2.1.1-1
|
|
|
|
|
- updated to 2.1.1 (fixes #164861)
|
|
|
|
|
|
|
|
|
|
* Mon Aug 01 2005 Adrian Reber <adrian@lisas.de> - 2.1-1
|
|
|
|
|
- updated to 2.1
|
|
|
|
|
|
2005-06-20 09:48:43 +00:00
|
|
|
|
* Sun Jun 19 2005 Adrian Reber <adrian@lisas.de> - 2.0-1
|
|
|
|
|
- updated to 2.0
|
|
|
|
|
- added boost-devel, help2man to BR
|
|
|
|
|
- included info file
|
|
|
|
|
|
2005-05-11 07:25:31 +00:00
|
|
|
|
* Wed May 11 2005 Adrian Reber <adrian@lisas.de> - 1.11-1
|
|
|
|
|
- updated to 1.11
|
|
|
|
|
- included the documentation
|
|
|
|
|
- optimised the %%descritpion
|
|
|
|
|
|
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
|