highlight/highlight.spec

289 lines
8.4 KiB
RPMSpec
Raw Normal View History

Name: highlight
Summary: Universal source code to formatted text converter
2010-07-15 17:45:48 +00:00
2011-06-08 18:34:20 +00:00
Version: 3.5
2011-03-31 16:27:21 +00:00
Release: 1%{?dist}
Group: Development/Tools
2009-06-29 16:38:32 +00:00
License: GPLv3
URL: http://www.andre-simon.de/
2010-08-30 11:37:32 +00:00
Source0: http://www.andre-simon.de/zip/%{name}-%{version}.tar.bz2
2008-09-07 20:06:06 +00:00
2010-09-07 20:15:46 +00:00
BuildRequires: qt-devel >= 1:4.4
2010-06-10 15:58:29 +00:00
BuildRequires: lua-devel, boost-devel
2009-04-20 19:46:40 +00:00
BuildRequires: desktop-file-utils
Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
%{?filter_setup:
%filter_from_provides /^perl(/d;
%filter_from_requires /^perl(/d;
%filter_setup
}
%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.
2009-04-20 19:46:40 +00:00
%package gui
Summary: GUI for the hihghlight source code formatter
Requires: %{name} = %{version}-%{release}
%description gui
A Qt-based GUI for the highlight source code formatter source.
%prep
2010-06-10 15:59:39 +00:00
2010-08-30 11:37:32 +00:00
%setup -q
%build
2008-01-21 17:31:13 +00:00
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=
2010-01-31 19:32:58 +00:00
rm -rf src/gui-qt/moc*
2010-01-28 22:12:03 +00:00
make gui %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
QMAKE="qmake-qt4" \
LDFLAGS=
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
2009-04-20 19:46:40 +00:00
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
make install-gui DESTDIR=$RPM_BUILD_ROOT
2009-06-29 16:25:31 +00:00
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/
2009-04-20 19:46:40 +00:00
desktop-file-install \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
highlight.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/highlight
%{_datadir}/highlight/
%{_mandir}/man1/highlight.1*
2007-07-10 18:38:16 +00:00
%config(noreplace) %{_sysconfdir}/highlight/
%doc ChangeLog AUTHORS README* COPYING TODO examples/
2009-04-20 19:46:40 +00:00
%files gui
%defattr(-,root,root,-)
%{_bindir}/highlight-gui
%{_datadir}/applications/highlight.desktop
%{_datadir}/pixmaps/highlight.xpm
%changelog
2011-06-08 18:34:20 +00:00
* Wed Jun 8 2011 Jochen Schmitt <Jochen herr-schmitt de> 3.5-1
- New upstream release
2011-03-31 16:27:21 +00:00
* Thu Mar 31 2011 Jochen Schmitt <Jochen herr-schmitt de> 3.4-1
- New upstream release
* Sun Mar 20 2011 Jochen Schmitt <Jochen herr-schmitt de> 3.3-5
- Migrating Req./Prov. filterering to filter rpm macros
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-12-30 15:39:10 +00:00
* Thu Dec 30 2010 Jochen Schmitt <Jochen herr-schmitt de> 3.3-1
- New upstream release
2010-11-16 20:50:07 +00:00
* Tue Nov 16 2010 Jochen Schmitt <Jochen herr-schmitt de> 3.2-1
- New upstream release
* Tue Sep 7 2010 Jochen Schmitt <Jochen herr-schmitt de> 3.1-2
2010-09-07 20:15:46 +00:00
- Add epoche for qt-devel BR (#631442)
2010-08-30 11:37:32 +00:00
* Mon Aug 30 2010 Jochen Schmitt <Jochen herr-schmitt de> 3.1-1
- New upstream release
2010-08-15 19:44:59 +00:00
* Sun Aug 15 2010 Jochen Schmitt <Jochen herr-schmitt de> 3.1-0.3
- New upstream release
2010-07-15 17:45:48 +00:00
* Thu Jul 15 2010 Jochen Schmitt <Jochen herr-schmitt de> 3.1-0.2
- New upstream release
2010-06-26 15:32:44 +00:00
* Sat Jun 26 2010 Jochen Schmitt <Jochen herr-schmitt de> 3.1-0.1
- New upstream release
* Sat Jun 12 2010 Jochen Schmitt <Jochen herr-schmitt de> 3.0-0.2
- Exclude all perl related req. caused by the examples
2010-06-10 15:58:29 +00:00
* Thu Jun 10 2010 Jochen Schmitt <Jochen herr-schmitt de> 3.0-0.1
- New upstream release (beta)
* Mon Apr 5 2010 Jochen Schmitt <Jochen herr-schmitt de> 2.16-1
2010-04-05 14:45:06 +00:00
- New upstream release
2010-03-14 20:14:52 +00:00
* Sun Mar 14 2010 Jochen Schmitt <Jochen herr-schmitt de> 2.15-2
- Add StartupNotify=true into desktop file
2010-03-01 20:47:17 +00:00
* Mon Mar 1 2010 Jochen Schmitt <Jochen herr-schmitt de> 2.15-1
- New upstream release
2010-01-28 22:12:03 +00:00
* Thu Jan 28 2010 Jochen Schmitt <Jochen herr-schmitt de> 2.14-1
- New upstream release
2009-10-14 17:25:22 +00:00
* Wed Oct 14 2009 Jochen Schmitt <Jochen herr-schmitt de> 2.13-1
- New upstream release
2009-09-10 20:56:15 +00:00
* Thu Sep 10 2009 Jochen Schmitt <Jochen herr-schmitt de> 2.12-1
- New upstream release
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> 2.10-4
- Use bzipped upstream tarball.
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-06-29 16:38:32 +00:00
* Mon Jun 29 2009 Jochen Schmitt <Jochen herr-schmitt de> 2.10-2
- License was changed go GPLv3 from upstream
2009-06-29 16:25:31 +00:00
* Mon Jun 29 2009 Jochen Schmitt <Jochen herr-schmitt de> 2.10-1
- New upstream release
2009-05-12 16:46:20 +00:00
* Tue May 12 2009 Jochen Schmitt <Jochen herr-schmitt de> 2.9-1
- New upstream release
2009-04-20 19:46:40 +00:00
* Mon Apr 20 2009 Jochen Schmitt <Jochen herr-schmitt de> 2.8-3
- Adding GUI subpackage
2009-04-20 17:05:31 +00:00
* Mon Apr 20 2009 Jochen Schmitt <Jochen herr-schmitt de> 2.8-1
- New upstream release
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2009-02-03 16:27:52 +00:00
* Tue Feb 3 2009 Jochen Schmitt <Jochen herr-schmitt de> 2.7-2
- Patches for gcc-4.4
2009-01-15 18:39:52 +00:00
* Thu Jan 15 2009 Jochen Schmitt <Jochen herr-schmitt de> 2.7-1
- New upstream release
2008-11-03 18:55:15 +00:00
* Mon Nov 3 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.6.14-1
- New upstream release
2008-10-14 15:34:48 +00:00
* Tue Oct 14 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.6.13-2
- Fix SMP build issue
2008-10-08 18:19:22 +00:00
* Wed Oct 8 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.6.13-1
- New upstream release
2008-09-11 18:31:02 +00:00
* Thu Sep 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.12-2
- don't package broken examples, causes bogus perl provides/requires
- don't claim to Provide: perl(highlight_pipe)
- don't claim to Requires: perl(IPC::Open3)
2008-09-07 20:06:06 +00:00
* Mon Aug 18 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.6.12-1
- New upstream release
2008-10-08 18:19:22 +00:00
- Fix for gcc-4.3 issue on highlight-2.6.13
2008-09-07 20:06:06 +00:00
2008-07-17 15:31:25 +00:00
* Thu Jul 17 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.6.11-1
- New upstream release
2008-05-12 18:18:39 +00:00
* Mon May 12 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.6.10-1
- New upstream release
2008-03-31 18:46:45 +00:00
* Mon Mar 31 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.6.9-2
2008-03-31 18:43:37 +00:00
- New upstream release
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
* 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
* 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
* 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
* Mon Aug 8 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4.1-4
- Move extension.conf and scriptre.conf to /etc/highlight
* 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