159 lines
5.2 KiB
RPMSpec
159 lines
5.2 KiB
RPMSpec
Name: source-highlight
|
|
Version: 3.1.8
|
|
Release: 1mamba
|
|
Summary: A source code highlighter with support for many languages
|
|
Group: Applications/Publishing
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
|
URL: http://www.gnu.org/software/src-highlite
|
|
Source: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-%{version}.tar.gz
|
|
License: GPL
|
|
BuildRequires: bison
|
|
BuildRequires: flex
|
|
BuildRequires: libboost-devel
|
|
BuildRequires: ctags
|
|
BuildRequires: help2man
|
|
BuildRequires: valgrind
|
|
BuildRequires: tetex
|
|
Requires: ctags
|
|
Requires: help2man
|
|
Requires(post):%{__install_info}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
GNU Source-highlight, given a source file, produces a document with syntax highlighting.
|
|
|
|
Source-highlight reads source language specifications dynamically, thus it can be easily extended (without recompiling the sources) for handling new languages.
|
|
It also reads output format specifications dynamically, and thus it can be easily extended (without recompiling the sources) for handling new output formats.
|
|
The syntax for these specifications is quite easy (take a look at the manual).
|
|
|
|
Source-highlight is a command line program, and it can also be used as a CGI.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for lib%{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
GNU Source-highlight, given a source file, produces a document with syntax highlighting.
|
|
|
|
Source-highlight reads source language specifications dynamically, thus it can be easily extended (without recompiling the sources) for handling new languages.
|
|
It also reads output format specifications dynamically, and thus it can be easily extended (without recompiling the sources) for handling new output formats.
|
|
The syntax for these specifications is quite easy (take a look at the manual).
|
|
|
|
Source-highlight is a command line program, and it can also be used as a CGI.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --with-bash-completion="%{_sysconfdir}/bash_completion.d"
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
# remove conflict with autoconf-archive package
|
|
rm -f "%{buildroot}%{_datadir}/aclocal"/*boost*.m4
|
|
|
|
rm -fr %{buildroot}%{_docdir}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
%install_info %{name}.info
|
|
|
|
%preun
|
|
%uninstall_info %{name}.info
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%post devel
|
|
%install_info source-highlight-lib.info
|
|
|
|
%preun devel
|
|
%uninstall_info source-highlight-lib.info
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/*
|
|
%{_datadir}/%{name}
|
|
%{_infodir}/%{name}.info.*
|
|
%{_libdir}/libsource-highlight.so.*
|
|
%{_sysconfdir}/bash_completion.d/source-highlight
|
|
%{_mandir}/man1/*
|
|
%doc AUTHORS COPYING CREDITS
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/srchilite
|
|
%{_includedir}/srchilite
|
|
%{_libdir}/libsource-highlight.a
|
|
%{_libdir}/libsource-highlight.la
|
|
%{_libdir}/libsource-highlight.so
|
|
%{_libdir}/pkgconfig/source-highlight.pc
|
|
#%{_datadir}/aclocal/ax_boost_*.m4
|
|
%{_infodir}/source-highlight-lib.info.*
|
|
%doc ChangeLog NEWS README THANKS
|
|
%doc TODO.txt doc/{*.css,*.html,*.java}
|
|
|
|
%changelog
|
|
* Wed Apr 01 2015 Automatic Build System <autodist@mambasoft.it> 3.1.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jul 21 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.7-2mamba
|
|
- rebuilt with libboost 1.52
|
|
|
|
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 3.1.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Sep 09 2011 Automatic Build System <autodist@mambasoft.it> 3.1.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Dec 14 2010 Automatic Build System <autodist@mambasoft.it> 3.1.4-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Tue Jun 29 2010 Automatic Build System <autodist@mambasoft.it> 3.1.4-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Jun 13 2010 Automatic Build System <autodist@mambasoft.it> 3.1.3-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Fri Apr 16 2010 Automatic Build System <autodist@mambasoft.it> 3.1.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Jan 14 2010 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Sep 23 2009 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Jun 15 2009 Davide Madrisan <davide.madrisan@gmail.com> 3.1-2mamba
|
|
- install the source-highlight-lib info file
|
|
- run ldconfig in %%post and %%postun scripts
|
|
- fixed a conflict with the autoconf-archive package
|
|
|
|
* Mon Jun 15 2009 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Jun 07 2009 Automatic Build System <autodist@mambasoft.it> 3.0.1-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Thu Jun 04 2009 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Dec 30 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Nov 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Oct 28 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.8-1mamba
|
|
- package created by autospec
|