Name: highlight Summary: Universal source code to formatted text converter Version: 2.4.7 Release: 1%{?dist} Group: Development/Tools License: GPL URL: http://www.andre-simon.de/ Source0: http://www.andre-simon.de/zip/%{name}-%{version}.tar.gz Patch1: highlight-2.4-makefile.patch # Patch2: highlight-2.4-rpmoptflags.patch Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) %description A utility that converts sourcecode to HTML, XHTML, RTF, LaTeX, TeX, XSL-FO, XML or ANSI escape sequences with syntax highlighting. It supports several programming and markup languages. Language descriptions are configurable and support regular expressions. The utility offers indentation and reformatting capabilities. It is easily possible to create new language definitions and colour themes. %prep %setup -q %patch1 -p1 # %patch2 -p1 %build make %{?_smp_mflags} LDFLAGS= %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/highlight %{_datadir}/highlight/ %{_mandir}/man1/highlight.1* %config /etc/highlight/ %doc ChangeLog AUTHORS README* COPYING TODO examples/ %changelog * Tue Jul 4 2006 Jochen Schmitt 2.4.7-1 - New upstream release * Wed Mar 22 2006 Jochen Schmitt 2.4.5-2 - New upstream relase - Add gcc41 patch * Wed Mar 15 2006 Jochen Schmitt 2.4.4-2 - Add fixcodegen patch from Eric Hopper #184245 * Sun Mar 12 2006 Jochen Schmitt 2.4.4-1 - New upstream release - Adapt rpmopt patch to new upstream release * Sun Feb 12 2006 Jochen Schmitt 2.4.3-2 - Rebuilt for FC5 * Tue Nov 1 2005 Jochen Schmitt 2.4.3-1 - New upstream release * Tue Oct 11 2005 Jochen Schmitt 2.4.2-3 - Fix typo in highlight-2.4-rpmoptflags.patch * Mon Oct 10 2005 Jochen Schmitt 2.4.2-2 - Use -DUSE_FN_MATCH * Sun Oct 9 2005 Jochen Schmitt 2.4.2-1 - New upstream release * Wed Aug 10 2005 Jochen Schmitt 2.4.1-6 - Rebuilt for FC-4/FC-3 * Tue Aug 9 2005 Jochen Schmitt 2.4-1-5 - Fix #165302 * Mon Aug 8 2005 Jochen Schmitt 2.4.1-4 - Move extension.conf and scriptre.conf to /etc/highlight * Wed Aug 3 2005 Jochen Schmitt 2.4.1-3 - Remove leading 'A' from summary line * Wed Aug 3 2005 Jochen Schmitt 2.4.1-2 - Add rpmoptflags patch from Tom Callaway * Wed Aug 3 2005 Jochen Schmitt 2.4.1-1 - Change versioning schema - Add suggested changes from Oliver * Sun Jul 24 2005 Jochen Schmitt 2.4-1 - Initial build