Jochen Schmitt 33efd8
Name:           highlight
Jochen Schmitt 33efd8
Summary:        Universal source code to formatted text converter
4d2305
Jochen Schmitt 33efd8
Version:        3.13
Petr Machata 200ce4
Release:        2%{?dist}
cefe70
Jochen Schmitt 33efd8
Group:          Development/Tools
Jochen Schmitt 33efd8
License:        GPLv3
cefe70
Jochen Schmitt 33efd8
URL:            http://www.andre-simon.de/
Jochen Schmitt 33efd8
Source0:        http://www.andre-simon.de/zip/%{name}-%{version}.tar.bz2
Jochen Schmitt 33efd8
Patch1:         highlight-3.13-lua.patch
7b1127
Jochen Schmitt 33efd8
BuildRequires:  qt-devel >= 1:4.4
e1e7a4
BuildRequires:  lua-devel, boost-devel
Jochen Schmitt 33efd8
BuildRequires:  desktop-file-utils
cefe70
Jochen Schmitt 32f3f2
%{?filter_setup:
Jochen Schmitt 32f3f2
%filter_from_provides /^perl(/d;
Jochen Schmitt 32f3f2
%filter_from_requires /^perl(/d;
Jochen Schmitt 32f3f2
%filter_setup
Jochen Schmitt 32f3f2
}
Jochen Schmitt 32f3f2
cefe70
%description
cefe70
A utility that converts sourcecode to HTML, XHTML, RTF, LaTeX, TeX,
cefe70
XSL-FO, XML or ANSI escape sequences with syntax highlighting.
cefe70
It supports several programming and markup languages.
cefe70
Language descriptions are configurable and support regular expressions.
cefe70
The utility offers indentation and reformatting capabilities.
cefe70
It is easily possible to create new language definitions and colour themes.
cefe70
740211
%package gui
Jochen Schmitt 33efd8
Summary:        GUI for the hihghlight source code formatter
Jochen Schmitt 33efd8
Requires:       %{name} = %{version}-%{release}
740211
740211
%description gui
740211
A Qt-based GUI for the highlight source code formatter source.
740211
cefe70
%prep
Jochen Schmitt 20ea8b
%setup -q
Jochen Schmitt 33efd8
%patch1 -p1 -b .mk
cefe70
cefe70
%build
dcff49
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=
0f808b
rm -rf src/gui-qt/moc*
bf571c
make gui %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"  \
bf571c
                         QMAKE="qmake-qt4" \
bf571c
                         LDFLAGS=
cefe70
cefe70
%install
cefe70
make install DESTDIR=$RPM_BUILD_ROOT
cefe70
740211
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
740211
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
740211
740211
make install-gui DESTDIR=$RPM_BUILD_ROOT
740211
c8ae65
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/
c8ae65
740211
desktop-file-install \
740211
    --dir $RPM_BUILD_ROOT%{_datadir}/applications \
740211
   highlight.desktop
740211
cefe70
%files
cefe70
%defattr(-,root,root,-)
cefe70
%{_bindir}/highlight
cefe70
%{_datadir}/highlight/
d5eab8
%{_mandir}/man1/highlight.1*
cefe70
4a5cdc
%config(noreplace) %{_sysconfdir}/highlight/
eb1e13
d5eab8
%doc ChangeLog AUTHORS README* COPYING TODO examples/
cefe70
740211
%files gui
740211
%defattr(-,root,root,-)
740211
%{_bindir}/highlight-gui
740211
%{_datadir}/applications/highlight.desktop
740211
%{_datadir}/pixmaps/highlight.xpm
740211
cefe70
%changelog
Petr Machata 200ce4
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 3.13-2
Petr Machata 200ce4
- Rebuild for boost 1.54.0
Petr Machata 200ce4
Jochen Schmitt 33efd8
* Tue Feb 19 2013 Jochen Schmitt <jochen herr-schmitt="" de=""> - 3.13-1
Jochen Schmitt 33efd8
- New upstream release
Jochen Schmitt 33efd8
- Clean up sPEC file
Jochen Schmitt 33efd8
9e51e4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12-2
9e51e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9e51e4
Jochen Schmitt 20ea8b
* Sun Oct  7 2012 Jochen Schmitt <jochen herr-schmitt="" de=""> - 3.12-1
Jochen Schmitt 20ea8b
- New upstream release
Jochen Schmitt 20ea8b
Jochen Schmitt cfd205
* Thu Sep  6 2012 Jochen Schmitt <jochen herr-schmitt="" de=""> - 3.11-0.1
Jochen Schmitt cfd205
- New upstream release
Jochen Schmitt cfd205
29fd6d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9-2
29fd6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
29fd6d
Jochen Schmitt 241a2a
* Thu May 24 2012 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.9-1
Jochen Schmitt 241a2a
- New upstream release
Jochen Schmitt 241a2a
Jochen Schmitt 645bc5
* Thu Mar  8 2012 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.8-1
Jochen Schmitt 645bc5
- New upstream release
Jochen Schmitt 645bc5
fd66b4
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7-2
fd66b4
- Rebuilt for c++ ABI breakage
fd66b4
Jochen Schmitt d9a858
* Mon Jan 16 2012 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.7-1
Jochen Schmitt d9a858
- New upstream release
Jochen Schmitt d9a858
Jochen Schmitt d9a858
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 3.6-2
cb2622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cb2622
Jochen Schmitt 75c9dc
* Sun Oct 16 2011 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.6-1
Jochen Schmitt 75c9dc
- New upstream release
Jochen Schmitt 75c9dc
Jochen Schmitt f4ee97
* Wed Jun  8 2011 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.5-1
Jochen Schmitt f4ee97
- New upstream release
Jochen Schmitt f4ee97
Jochen Schmitt a25856
* Thu Mar 31 2011 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.4-1
Jochen Schmitt a25856
- New upstream release
Jochen Schmitt a25856
Jochen Schmitt 32f3f2
* Sun Mar 20 2011 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.3-5
Jochen Schmitt 32f3f2
- Migrating Req./Prov. filterering to filter rpm macros
Jochen Schmitt 32f3f2
f6aeba
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-2
f6aeba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f6aeba
Jochen Schmitt 4b87be
* Thu Dec 30 2010 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.3-1
Jochen Schmitt 4b87be
- New upstream release
Jochen Schmitt 4b87be
Jochen Schmitt 2f8e5e
* Tue Nov 16 2010 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.2-1
Jochen Schmitt 2f8e5e
- New upstream release
Jochen Schmitt 2f8e5e
Jochen Schmitt 2f8e5e
* Tue Sep  7 2010 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.1-2
Jochen Schmitt 4efc75
- Add epoche for qt-devel BR (#631442)
Jochen Schmitt 4efc75
Jochen Schmitt 9a1adf
* Mon Aug 30 2010 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.1-1
Jochen Schmitt 9a1adf
- New upstream release
Jochen Schmitt 9a1adf
Jochen Schmitt bb37b6
* Sun Aug 15 2010 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.1-0.3
Jochen Schmitt bb37b6
- New upstream release
Jochen Schmitt bb37b6
4d2305
* Thu Jul 15 2010 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.1-0.2
4d2305
- New upstream release
4d2305
453eec
* Sat Jun 26 2010 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.1-0.1
453eec
- New upstream release
453eec
69b697
* Sat Jun 12 2010 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.0-0.2
69b697
- Exclude all perl related req. caused by the examples
69b697
e1e7a4
* Thu Jun 10 2010 Jochen Schmitt <jochen herr-schmitt="" de=""> 3.0-0.1
e1e7a4
- New upstream release (beta)
e1e7a4
e1e7a4
* Mon Apr  5 2010 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.16-1
3e7b67
- New upstream release
3e7b67
07bb29
* Sun Mar 14 2010 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.15-2
07bb29
- Add StartupNotify=true into desktop file
07bb29
d6f17f
* Mon Mar  1 2010 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.15-1
d6f17f
- New upstream release
d6f17f
bf571c
* Thu Jan 28 2010 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.14-1
bf571c
- New upstream release
bf571c
069579
* Wed Oct 14 2009 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.13-1
069579
- New upstream release
069579
74aa8c
* Thu Sep 10 2009 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.12-1
74aa8c
- New upstream release
74aa8c
74aa8c
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> 2.10-4
ea6e30
- Use bzipped upstream tarball.
ea6e30
612b8d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-3
612b8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
612b8d
4704c2
* Mon Jun 29 2009 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.10-2
4704c2
- License was changed go GPLv3 from upstream
4704c2
c8ae65
* Mon Jun 29 2009 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.10-1
c8ae65
- New upstream release
c8ae65
af3912
* Tue May 12 2009 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.9-1
af3912
- New upstream release
af3912
740211
* Mon Apr 20 2009 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.8-3
740211
- Adding GUI subpackage
740211
6b08da
* Mon Apr 20 2009 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.8-1
6b08da
- New upstream release
6b08da
6b08da
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.7-3
878042
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
878042
fba58a
* Tue Feb  3 2009 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.7-2
fba58a
- Patches for gcc-4.4
fba58a
98a0a1
* Thu Jan 15 2009 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.7-1
98a0a1
- New upstream release
98a0a1
02bccc
* Mon Nov  3 2008 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.14-1
02bccc
- New upstream release
02bccc
ec111b
* Tue Oct 14 2008 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.13-2
ec111b
- Fix SMP build issue
ec111b
921678
* Wed Oct  8 2008 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.13-1
921678
- New upstream release
921678
93705b
* Thu Sep 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.12-2
93705b
- don't package broken examples, causes bogus perl provides/requires
93705b
- don't claim to Provide: perl(highlight_pipe)
93705b
- don't claim to Requires: perl(IPC::Open3)
93705b
7b1127
* Mon Aug 18 2008 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.12-1
7b1127
- New upstream release
921678
- Fix for gcc-4.3 issue on highlight-2.6.13
7b1127
8541fa
* Thu Jul 17 2008 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.11-1
8541fa
- New upstream release
8541fa
c18aa8
* Mon May 12 2008 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.10-1
c18aa8
- New upstream release
c18aa8
83fdb7
* Mon Mar 31 2008 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.9-2
3ca49b
- New upstream release
3ca49b
dbb304
* Sun Feb 10 2008 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.8-1
dbb304
- New upstream release
dbb304
4a9118
* Mon Jan 21 2008 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.7-2
dcff49
- New upstream release
dcff49
- Fix gcc-4.3 issues
dcff49
632405
* Tue Dec 11 2007 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.6-1
632405
- New upstream release
632405
fcab11
* Mon Oct 29 2007 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.5-1
fcab11
- New upstream release
fcab11
6a5425
* Sun Sep 16 2007 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.4-1
6a5425
- New upstream release
6a5425
17ef6d
* Tue Sep 11 2007 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.3-1
17ef6d
- New upstream release
17ef6d
31f313
* Thu Aug  9 2007 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.2-1
31f313
- New upstream release
31f313
b4d3cb
* Wed Aug  8 2007 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.1-2
b4d3cb
- Changing license tag
b4d3cb
4a5cdc
* Tue Jul 10 2007 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.6.1-1
4a5cdc
- New upstream release
4a5cdc
4a5cdc
* Tue Feb  6 2007 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.8-2
44b9fb
- fir rpmopt bug (#227292)
44b9fb
95e88a
* Mon Oct 23 2006 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.8-1
95e88a
- New upstream release
95e88a
55b244
* Sun Sep  3 2006 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.7-2
55b244
- Rebuilt for FC-6
55b244
7d5126
* Tue Jul  4 2006 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.7-1
7d5126
- New upstream release
7d5126
556108
* Wed Mar 22 2006 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.5-2
4b114c
- New upstream relase
556108
- Add gcc41 patch
4b114c
d3a5e0
* Wed Mar 15 2006 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.4-2
4b114c
- Add fixcodegen patch from Eric Hopper #184245
d3a5e0
f3a70f
* Sun Mar 12 2006 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.4-1
f3a70f
- New upstream release
f3a70f
- Adapt rpmopt patch to new upstream release
f3a70f
08154a
* Sun Feb 12 2006 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.3-2
08154a
- Rebuilt for FC5
08154a
54294f
* Tue Nov  1 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.3-1
54294f
- New upstream release
54294f
a29009
* Tue Oct 11 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.2-3
a29009
- Fix typo in highlight-2.4-rpmoptflags.patch
a29009
23853a
* Mon Oct 10 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.2-2
23853a
- Use -DUSE_FN_MATCH
23853a
23853a
* Sun Oct  9 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.2-1
27cdf3
- New upstream release
27cdf3
78b66c
* Wed Aug 10 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.1-6
78b66c
- Rebuilt for FC-4/FC-3
78b66c
b0de55
* Tue Aug  9 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4-1-5
b0de55
- Fix #165302
b0de55
eb1e13
* Mon Aug  8 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.1-4
eb1e13
- Move extension.conf and scriptre.conf to /etc/highlight
eb1e13
cefe70
* Wed Aug  3 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.1-3
cefe70
- Remove leading 'A' from summary line
cefe70
cefe70
* Wed Aug  3 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.1-2
cefe70
- Add rpmoptflags patch from Tom Callaway
cefe70
cefe70
* Wed Aug  3 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4.1-1
cefe70
- Change versioning schema
cefe70
- Add suggested changes from Oliver
cefe70
cefe70
* Sun Jul 24 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 2.4-1
cefe70
- Initial build
cefe70