Blame SPECS/source-highlight.spec

732f64
Summary: Produces a document with syntax highlighting
732f64
Name: source-highlight
732f64
Version: 3.1.6
cae6a6
Release: 6%{?dist}
732f64
Group: Development/Tools
732f64
License: GPLv3+
732f64
Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
732f64
Source1: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz.sig
732f64
URL: http://www.gnu.org/software/src-highlite/
732f64
BuildRequires: bison, flex, boost-devel
732f64
BuildRequires: help2man, ctags, chrpath
732f64
Requires(post): info
732f64
Requires(preun): info
732f64
Requires: ctags
732f64
732f64
%description
732f64
This program, given a source file, produces a document with syntax
732f64
highlighting. At the moment this package can handle :
732f64
Java, Javascript, C/C++, Prolog, Perl, Php3, Python, Flex, ChangeLog, Ruby, 
732f64
Lua, Caml, Sml and Log as source languages, and HTML, XHTML and ANSI color 
732f64
escape sequences as output format.
732f64
732f64
732f64
%package devel
732f64
Summary: Development files for source-highlight
732f64
Group: Development/Libraries
732f64
Requires: %{name} = %{version}-%{release}
732f64
Requires: pkgconfig
732f64
732f64
%description devel
732f64
Development files for source-highlight
732f64
732f64
%prep
732f64
%setup -q
732f64
732f64
%build
732f64
%configure --disable-static \
732f64
           --with-boost-regex=boost_regex
732f64
make %{?_smp_mflags}
732f64
732f64
%install
732f64
rm -rf $RPM_BUILD_ROOT
732f64
make install DESTDIR=$RPM_BUILD_ROOT
732f64
732f64
mv $RPM_BUILD_ROOT%{_datadir}/doc/ docs
732f64
%{__sed} -i 's/\r//' docs/source-highlight/*.css
732f64
732f64
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
732f64
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
732f64
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
732f64
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/source-highlight
732f64
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/source-highlight-settings
732f64
732f64
echo -e "\ncxx = cpp.lang" >> $RPM_BUILD_ROOT%{_datadir}/source-highlight/lang.map
732f64
732f64
%post
732f64
/sbin/ldconfig
732f64
/sbin/install-info %{_infodir}/source-highlight.info \
732f64
  %{_infodir}/dir 2>/dev/null || :
732f64
732f64
%preun
732f64
if [ $1 -eq 0 ]; then
732f64
  /sbin/install-info --delete %{_infodir}/source-highlight.info \
732f64
    %{_infodir}/dir 2>/dev/null || :
732f64
fi
732f64
732f64
%postun -p /sbin/ldconfig
732f64
732f64
%files
732f64
%defattr (-,root,root)
732f64
%doc docs/source-highlight/*
732f64
%{_bindir}/cpp2html
732f64
%{_bindir}/java2html
732f64
%{_bindir}/source-highlight
732f64
%{_bindir}/check-regexp
732f64
%{_bindir}/source-highlight-settings
732f64
%{_bindir}/src-hilite-lesspipe.sh
732f64
%dir %{_sysconfdir}/bash_completion.d
732f64
%{_sysconfdir}/bash_completion.d/source-highlight
732f64
%{_libdir}/libsource-highlight.so.*
732f64
%dir %{_datadir}/source-highlight
732f64
%{_datadir}/source-highlight/*
732f64
%{_mandir}/man1/*
732f64
%{_infodir}/source-highlight*.info*
732f64
732f64
%files devel
732f64
%defattr (-,root,root)
732f64
%dir %{_includedir}/srchilite
732f64
%{_libdir}/libsource-highlight.so
732f64
%{_libdir}/pkgconfig/source-highlight.pc
732f64
%{_includedir}/srchilite/*.h
732f64
732f64
%changelog
cae6a6
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.1.6-6
cae6a6
- Mass rebuild 2014-01-24
cae6a6
cae6a6
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.1.6-5
cae6a6
- Mass rebuild 2013-12-27
cae6a6
732f64
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 3.1.6-4
732f64
- Rebuild for Boost-1.53.0
732f64
732f64
* Wed Aug  8 2012 Bill Nottingham <notting@redhat.com> - 3.1.6-3
732f64
- rebuild against new boost
732f64
732f64
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.6-2
732f64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
732f64
732f64
* Sun Mar 25 2012 Adrian Reber <adrian@lisas.de> - 3.1.6-1
732f64
- updated to 3.1.6
732f64
- removed buildroot and clean section
732f64
- fixed "missing c++ source language detection for .cxx extension" (#728311)
732f64
- fixed "source-highlight : Conflicts with autoconf-archive" (#797794)
732f64
732f64
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.4-10
732f64
- Rebuilt for c++ ABI breakage
732f64
732f64
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.4-9
732f64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
732f64
732f64
* Sun Nov 20 2011  <dodji@redhat.com> - 3.1.4-8
732f64
- Rebuild against boost 1.48
732f64
732f64
* Thu Jul 21 2011 Adrian Reber <adrian@lisas.de> - 3.1.4-7
732f64
- and again a rebuilt for boost.
732f64
732f64
* Fri Apr 01 2011 Christoph Wickert <cwickert@fedoraproject.org> - 3.1.4-6
732f64
- Another rebuild, libboost SONAME has changed again
732f64
732f64
* Wed Mar 16 2011 Christoph Wickert <cwickert@fedoraproject.org> - 3.1.4-5
732f64
- Rebuild for correct libboost SONAME
732f64
732f64
* Sun Mar 13 2011 Christoph Wickert <cwickert@fedoraproject.org> - 3.1.4-4
732f64
- Rebuild for boost 1.46.1
732f64
732f64
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.4-3
732f64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
732f64
732f64
* Sun Feb 06 2011 Bastien Nocera <bnocera@redhat.com> 3.1.4-2
732f64
- Rebuild against newer boost
732f64
732f64
* Mon Aug 16 2010 Leigh Scott <leigh123linux@googlemail.com> - 3.1.4-1
732f64
- updated to 3.1.4
732f64
732f64
* Thu Aug  5 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 3.1.3-3
732f64
- rebuild for new boost (again)
732f64
732f64
* Tue Jul 27 2010 Christoph Wickert <cwickert@fedoraproject.org> - 3.1.3-2
732f64
- Rebuild for new boost
732f64
- Fix Requires for %%post and %%preun
732f64
732f64
* Fri Jun 04 2010 Leigh Scott <leigh123linux@googlemail.com> - 3.1.3-1
732f64
- updated to 3.1.3
732f64
- change configure command so it finds boost_regex
732f64
- fix source url's
732f64
- add devel package
732f64
- fix directory ownership
732f64
- fix rpath on binary
732f64
732f64
* Fri Jan 22 2010 Adrian Reber <adrian@lisas.de> - 2.10-5
732f64
- rebuilt for new boost.
732f64
732f64
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-4
732f64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
732f64
732f64
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-3
732f64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
732f64
732f64
* Wed Dec 17 2008 Benjamin Kosnik  <bkoz@redhat.com> - 2.10-2
732f64
- Rebuild for boost-1.37.0.
732f64
732f64
* Sat Aug 16 2008 Adrian Reber <adrian@lisas.de> - 2.10-1
732f64
- updated to 2.10
732f64
732f64
* Fri Jun 13 2008 Adrian Reber <adrian@lisas.de> - 2.9-1
732f64
- updated to 2.9
732f64
- removed upstreamed gcc43 patch
732f64
732f64
* Tue Feb 12 2008 Adrian Reber <adrian@lisas.de> - 2.8-2
732f64
- added gcc43 patch
732f64
732f64
* Fri Dec 14 2007 Adrian Reber <adrian@lisas.de> - 2.8-1
732f64
- updated to 2.8
732f64
- license changed to GPLv3+
732f64
732f64
* Sun Sep 16 2007 Adrian Reber <adrian@lisas.de> - 2.7-1
732f64
- updated to 2.7
732f64
- updated files section
732f64
- updated license
732f64
732f64
* Mon Aug 20 2007 Caolan McNamara <caolanm@redhat.com> - 2.4-2
732f64
- rebuild for boost rebuild
732f64
732f64
* Fri Sep 15 2006 Adrian Reber <adrian@lisas.de> - 2.4-1
732f64
- updated to 2.4
732f64
732f64
* Wed Mar 21 2006 Adrian Reber <adrian@lisas.de> - 2.3-2
732f64
- using a new url.lang to fix #195720
732f64
  (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=131352)
732f64
732f64
* Sun Mar 12 2006 Adrian Reber <adrian@lisas.de> - 2.3-1
732f64
- updated to 2.3
732f64
732f64
* Mon Oct 17 2005 Adrian Reber <adrian@lisas.de> - 2.2-1
732f64
- updated to 2.2
732f64
- added ctags BuildRequires and Requires
732f64
732f64
* Wed Aug 31 2005 Adrian Reber <adrian@lisas.de> - 2.1.2-1
732f64
- updated to 2.1.2
732f64
- removed boost-compile-fix patch
732f64
732f64
* Thu Aug 25 2005 Adrian Reber <adrian@lisas.de> - 2.1.1-2
732f64
- rebuilt due to boost's SONAME change (boost 1.33.0)
732f64
- added patch to compile with boost 1.33.0
732f64
732f64
* Wed Aug 03 2005 Adrian Reber <adrian@lisas.de> - 2.1.1-1
732f64
- updated to 2.1.1 (fixes #164861)
732f64
732f64
* Mon Aug 01 2005 Adrian Reber <adrian@lisas.de> - 2.1-1
732f64
- updated to 2.1
732f64
732f64
* Sun Jun 19 2005 Adrian Reber <adrian@lisas.de> - 2.0-1
732f64
- updated to 2.0
732f64
- added boost-devel, help2man to BR
732f64
- included info file
732f64
732f64
* Wed May 11 2005 Adrian Reber <adrian@lisas.de> - 1.11-1
732f64
- updated to 1.11
732f64
- included the documentation
732f64
- optimised the %%descritpion
732f64
732f64
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
732f64
- rebuilt
732f64
732f64
* Tue Jun 22 2004 Adrian Reber <adrian@lisas.de> - 0:1.9-0.fdr.2
732f64
- added the Epoch: 0
732f64
732f64
* Tue Jun 22 2004 Adrian Reber <adrian@lisas.de> - 1.9-0.fdr.1
732f64
- removed mandrake specific macros
732f64
732f64
* Thu Jun 17 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.9-1mdk
732f64
- 1.9
732f64
732f64
* Wed Jan 07 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.8-1mdk
732f64
- 1.8
732f64
- drop Prefix tag
732f64
- clean out redundant buildrequires
732f64
- rm -rf $RPM_BUILD_ROOT at the beginning of %%install, not %%prep
732f64
- use %%makeinstall_std macro
732f64
- cosmetics
732f64
732f64
* Wed Mar 26 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.7-1mdk
732f64
- 1.7
732f64
732f64
* Sat Feb 01 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.6.3-1mdk
732f64
- 1.6.3
732f64
732f64
* Wed Jan 22 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.6.2-1mdk
732f64
- 1.6.2
732f64
732f64
* Sat Nov 23 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.6.1-1mdk
732f64
- 1.6.1
732f64
- fix unpackaged files
732f64
732f64
* Thu Sep 05 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.5-2mdk
732f64
- rebuild
732f64
732f64
* Thu Jul 18 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.5-1mdk
732f64
- 1.5
732f64
732f64
* Wed Jun 26 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.4-1mdk
732f64
- obsoletes java2html & cpp2html