123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- #
- # spec file for package GNU Source Highlight (Version 1.x)
- #
- # Author: Christian W. Zuckschwerdt <zany@triq.net>, Jan 2003
- #
- Summary: syntax highlighting for source documents
- Name: source-highlight
- Version: 3.1.4
- Release: 2%{?_dist_release}
- License: GPL
- Group: Utilities/Console
- Source: ftp://ftp.gnu.org/gnu/source-highlight/%{name}-%{version}.tar.gz
- URL: http://www.gnu.org/software/src-highlite/
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: libboost-devel >= 1.33.1
- BuildRequires: libboost-regex >= 1.33.1
- BuildRequires: bison
- BuildRequires: flex
- BuildRequires: ctags
- BuildRequires: help2man
- Requires: ctags
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- This program, given a source file, produces a document
- with syntax highlighting. Both source languages and output formats
- can be specified with a simple syntax and added dynamically. At the
- moment this package can handle many programming languages, such as,
- e.g., Java, C/C++, Prolog, Perl, Php3, Python, Flex, ChangeLog, etc.
- as source languages, and some output formats such, as, e.g., HTML,
- XHTML, LaTeX, etc.
- %package devel
- Summary: Development environment of source-highlight
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: pkgconfig
- Requires: libboost-devel
- Requires: libboost-regex
- %description devel
- Header files and libraries for building a extension library for the
- source-highlight
- %prep
- %setup -q
- %build
- %configure --disable-static --with-boost-regex=boost_regex
- make
- %install
- rm -rf $RPM_BUILD_ROOT
- make DESTDIR=$RPM_BUILD_ROOT install
- rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
- rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- /sbin/install-info %{_infodir}/source-highlight.info.gz %{_infodir}/dir
- /sbin/install-info %{_infodir}/source-highlight-lib.info.gz %{_infodir}/dir
- %preun
- if [ $1 = 0 ]; then
- /sbin/install-info --delete %{_infodir}/source-highlight.info.gz %{_infodir}/dir
- /sbin/install-info --delete %{_infodir}/source-highlight-lib.info.gz %{_infodir}/dir
- fi
- %files
- %defattr(-, root, root)
- %doc README COPYING ChangeLog TODO.txt AUTHORS THANKS
- %{_sysconfdir}/bash_completion.d/source-highlight-bash-completion
- %{_bindir}/*
- %{_libdir}/*.so.*
- %{_datadir}/%{name}/*
- %{_datadir}/doc/source-highlight/*
- %{_mandir}/man?/*
- %{_infodir}/source-highlight*.info*
- %files devel
- %defattr(-, root, root)
- %{_includedir}/srchilite/*.h
- %{_libdir}/*.so
- %{_libdir}/pkgconfig/source-highlight.pc
- %{_datadir}/aclocal/*.m4
- %changelog
- * Tue Jan 18 2011 Shu KONNO <owa@bg.wakwak.com> 3.1.4-2
- - rebuilt with libboost-1.45.0
- * Sun Oct 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
- - initial build for Vine Linux
|