2005-08-04 15:42:26 +00:00
|
|
|
Name: highlight
|
|
|
|
Summary: Universal source code to formatted text converter
|
2008-02-10 19:51:59 +00:00
|
|
|
Version: 2.6.8
|
|
|
|
Release: 1%{?dist}
|
2005-08-04 15:38:30 +00:00
|
|
|
|
2005-08-04 15:42:26 +00:00
|
|
|
Group: Development/Tools
|
2007-08-08 18:01:42 +00:00
|
|
|
License: GPLv2
|
2005-08-04 15:38:30 +00:00
|
|
|
|
2005-08-04 15:42:26 +00:00
|
|
|
URL: http://www.andre-simon.de/
|
2005-11-01 15:55:32 +00:00
|
|
|
Source0: http://www.andre-simon.de/zip/%{name}-%{version}.tar.gz
|
2007-07-10 18:38:16 +00:00
|
|
|
Patch1: highlight-2.6.1-makefile.patch
|
2008-01-21 17:31:13 +00:00
|
|
|
Patch3: highlight-2.6.7-gcc43.patch
|
2005-08-04 15:38:30 +00:00
|
|
|
|
2005-08-04 15:42:26 +00:00
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
|
2005-08-04 15:38:30 +00:00
|
|
|
|
|
|
|
%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
|
2005-11-01 15:55:32 +00:00
|
|
|
%setup -q
|
2007-07-10 18:38:16 +00:00
|
|
|
%patch1 -p1 -b .mak
|
2008-01-21 17:31:13 +00:00
|
|
|
%patch3 -p1 -b .gcc43
|
2005-08-04 15:38:30 +00:00
|
|
|
|
|
|
|
%build
|
2008-01-21 17:31:13 +00:00
|
|
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=
|
2005-08-04 15:38:30 +00:00
|
|
|
|
|
|
|
%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/
|
2005-08-04 15:42:26 +00:00
|
|
|
%{_mandir}/man1/highlight.1*
|
2005-08-04 15:38:30 +00:00
|
|
|
|
2007-07-10 18:38:16 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/highlight/
|
2005-08-08 18:18:05 +00:00
|
|
|
|
2005-08-04 15:42:26 +00:00
|
|
|
%doc ChangeLog AUTHORS README* COPYING TODO examples/
|
2005-08-04 15:38:30 +00:00
|
|
|
|
|
|
|
%changelog
|
2008-02-10 19:51:59 +00:00
|
|
|
* Sun Feb 10 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.6.8-1
|
|
|
|
- New upstream release
|
|
|
|
|
2008-01-21 17:38:24 +00:00
|
|
|
* Mon Jan 21 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.6.7-2
|
2008-01-21 17:31:13 +00:00
|
|
|
- New upstream release
|
|
|
|
- Fix gcc-4.3 issues
|
|
|
|
|
2007-12-11 19:34:04 +00:00
|
|
|
* Tue Dec 11 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.6.6-1
|
|
|
|
- New upstream release
|
|
|
|
|
2007-10-29 19:37:19 +00:00
|
|
|
* Mon Oct 29 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.6.5-1
|
|
|
|
- New upstream release
|
|
|
|
|
2007-09-16 19:17:22 +00:00
|
|
|
* Sun Sep 16 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.6.4-1
|
|
|
|
- New upstream release
|
|
|
|
|
2007-09-11 19:29:48 +00:00
|
|
|
* Tue Sep 11 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.6.3-1
|
|
|
|
- New upstream release
|
|
|
|
|
2007-08-09 15:20:43 +00:00
|
|
|
* Thu Aug 9 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.6.2-1
|
|
|
|
- New upstream release
|
|
|
|
|
2007-08-08 18:01:42 +00:00
|
|
|
* Wed Aug 8 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.6.1-2
|
|
|
|
- Changing license tag
|
|
|
|
|
2007-07-10 18:38:16 +00:00
|
|
|
* Tue Jul 10 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.6.1-1
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
* Tue Feb 6 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.4.8-2
|
2007-02-06 16:19:17 +00:00
|
|
|
- fir rpmopt bug (#227292)
|
|
|
|
|
2006-10-24 17:29:10 +00:00
|
|
|
* Mon Oct 23 2006 Jochen Schmitt <Jochen herr-schmitt de> 2.4.8-1
|
|
|
|
- New upstream release
|
|
|
|
|
2006-09-03 19:29:02 +00:00
|
|
|
* Sun Sep 3 2006 Jochen Schmitt <Jochen herr-schmitt de> 2.4.7-2
|
|
|
|
- Rebuilt for FC-6
|
|
|
|
|
2006-07-04 19:00:09 +00:00
|
|
|
* Tue Jul 4 2006 Jochen Schmitt <Jochen herr-schmitt de> 2.4.7-1
|
|
|
|
- New upstream release
|
|
|
|
|
2006-03-22 17:22:58 +00:00
|
|
|
* Wed Mar 22 2006 Jochen Schmitt <Jochen herr-schmitt de> 2.4.5-2
|
2006-03-22 16:31:13 +00:00
|
|
|
- New upstream relase
|
2006-03-22 17:22:58 +00:00
|
|
|
- Add gcc41 patch
|
2006-03-22 16:31:13 +00:00
|
|
|
|
2006-03-15 16:28:28 +00:00
|
|
|
* Wed Mar 15 2006 Jochen Schmitt <Jochen herr-schmitt de> 2.4.4-2
|
2006-03-22 16:31:13 +00:00
|
|
|
- Add fixcodegen patch from Eric Hopper #184245
|
2006-03-15 16:28:28 +00:00
|
|
|
|
2006-03-12 20:09:47 +00:00
|
|
|
* Sun Mar 12 2006 Jochen Schmitt <Jochen herr-schmitt de> 2.4.4-1
|
|
|
|
- New upstream release
|
|
|
|
- Adapt rpmopt patch to new upstream release
|
|
|
|
|
2006-02-12 19:21:35 +00:00
|
|
|
* Sun Feb 12 2006 Jochen Schmitt <Jochen herr-schmitt de> 2.4.3-2
|
|
|
|
- Rebuilt for FC5
|
|
|
|
|
2005-11-01 15:55:32 +00:00
|
|
|
* Tue Nov 1 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4.3-1
|
|
|
|
- New upstream release
|
|
|
|
|
2005-10-11 17:16:37 +00:00
|
|
|
* Tue Oct 11 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4.2-3
|
|
|
|
- Fix typo in highlight-2.4-rpmoptflags.patch
|
|
|
|
|
2005-10-10 17:05:39 +00:00
|
|
|
* Mon Oct 10 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4.2-2
|
|
|
|
- Use -DUSE_FN_MATCH
|
|
|
|
|
|
|
|
* Sun Oct 9 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4.2-1
|
2005-10-09 20:32:57 +00:00
|
|
|
- New upstream release
|
|
|
|
|
2005-08-10 19:31:21 +00:00
|
|
|
* Wed Aug 10 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4.1-6
|
|
|
|
- Rebuilt for FC-4/FC-3
|
|
|
|
|
2005-08-09 14:41:22 +00:00
|
|
|
* Tue Aug 9 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4-1-5
|
|
|
|
- Fix #165302
|
|
|
|
|
2005-08-08 18:18:05 +00:00
|
|
|
* Mon Aug 8 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4.1-4
|
|
|
|
- Move extension.conf and scriptre.conf to /etc/highlight
|
|
|
|
|
2005-08-04 15:38:30 +00:00
|
|
|
* Wed Aug 3 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4.1-3
|
|
|
|
- Remove leading 'A' from summary line
|
|
|
|
|
|
|
|
* Wed Aug 3 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4.1-2
|
|
|
|
- Add rpmoptflags patch from Tom Callaway
|
|
|
|
|
|
|
|
* Wed Aug 3 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4.1-1
|
|
|
|
- Change versioning schema
|
|
|
|
- Add suggested changes from Oliver
|
|
|
|
|
|
|
|
* Sun Jul 24 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4-1
|
|
|
|
- Initial build
|
|
|
|
|