123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- #
- # spec file for package GNU Source Highlight (Version 1.x)
- #
- # Author: Christian W. Zuckschwerdt <zany@triq.net>, Jan 2003
- #
- Name: source-highlight
- Summary: Syntax highlighting for source documents
- Version: 3.1.8
- Release: 1%{?_dist_release}
- License: GPLv3
- Group: Development/Tools
- 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 %{?_smp_mflags}
- %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
- %{_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
- * Wed May 23 2018 Toshiaki Ara <ara_t@384.jp> 3.1.8-1
- - updated to 3.1.8
- * Mon Jan 08 2018 Toshiaki Ara <ara_t@384.jp> 3.1.7-3
- - rebuild with libboost-1.66.0
- * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 3.1.7-2
- - rebuild with gcc-5.4.0
- * Wed Oct 1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.1.7-1
- - updated to 3.1.7
- - changed Group to Development/Tools
- * Mon Dec 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-3
- - rebuild with libboost-1.54.0
- * 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
|