Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37433644
en ru br
ALT Linux repositórios
S:3.1.9-alt1.git.904949c

Group :: Ferramentas de texto
RPM: source-highlight

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: source-highlight
Version: 3.1.8
Release: alt8

Summary: syntax highlighting for source documents
License: GPL
Group: Text tools

Url: http://www.gnu.org/software/src-highlite/
# git://git.savannah.gnu.org/src-highlite.git
Source: %name-%version.tar
Patch: https://src.fedoraproject.org/rpms/source-highlight/raw/master/f/source-highlight-3.1.8-no-black.patch

BuildRequires: boost-devel gcc-c++ ctags help2man doxygen texlive-collection-basic texinfo
BuildRequires: flex

%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 -n lib%name
Summary: source highlighting library
License: GPL
Group: Development/C++

%description -n lib%name
This package contains the data files used by the libsource-highlight
library, which is the library that underlies the source-highlight
program suite. The library converts source code to a document with
syntax highlighting and supports many file formats. The library can be
used by other C++ programs to get source code highlighting capabilities.

%package -n lib%name-devel
Summary: Header files for libsource-highlight library
License: GPL
Group: Development/C++
Requires: lib%name = %EVR

%description -n lib%name-devel
This is a development package for lib%name. It includes
headers and documentation.

%package -n bash-completion-%name
Summary: Bash completion for %name
Group: Development/Other
BuildArch: noarch

%description -n bash-completion-%name
%summary

%prep
%setup
%patch -p1

%build
%autoreconf
%configure \
--enable-static=no \
--enable-maintainer-mode \
--with-boost-regex=boost_regex \
--with-doxygen

%make_build

%install
%makeinstall_std

%files
%_bindir/*
%_datadir/%name
%_mandir/man?/*
%_defaultdocdir/%name
%_infodir/%name.info*

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%doc lib/srchilite/html
%_includedir/srchilite
%_libdir/*.so
%_pkgconfigdir/*.pc
%_infodir/%name-lib*

%files -n bash-completion-%name
%dir %_sysconfdir/bash_completion.d
%_sysconfdir/bash_completion.d/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009