updated to 2.0 added boost-devel, help2man to BR included info file

This commit is contained in:
Adrian Reber 2005-06-20 09:48:43 +00:00
parent 62310ca14e
commit e21cde99c6
3 changed files with 25 additions and 7 deletions

View File

@ -1 +1 @@
source-highlight-1.11.tar.gz source-highlight-2.0.tar.gz

View File

@ -1,13 +1,16 @@
Summary: Produces a document with syntax highlighting Summary: Produces a document with syntax highlighting
Name: source-highlight Name: source-highlight
Version: 1.11 Version: 2.0
Release: 1 Release: 1%{?dist}
Group: Development/Tools Group: Development/Tools
License: GPL License: GPL
Source: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-1.11.tar.gz Source: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.0.tar.gz
URL: http://www.gnu.org/software/src-highlite/ URL: http://www.gnu.org/software/src-highlite/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: bison, flex BuildRequires: bison, flex, boost-devel
BuildRequires: help2man
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info
%description %description
This program, given a source file, produces a document with syntax This program, given a source file, produces a document with syntax
@ -32,18 +35,33 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/ docs
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post
/sbin/install-info %{_infodir}/source-highlight.info \
%{_infodir}/dir 2>/dev/null || :
%preun
if [ $1 -eq 0 ]; then
/sbin/install-info --delete %{_infodir}/source-highlight.info \
%{_infodir}/dir 2>/dev/null || :
fi
%files %files
%defattr (-,root,root) %defattr (-,root,root)
%doc docs/source-highlight/* %doc docs/source-highlight/*
%{_bindir}/cpp2html %{_bindir}/cpp2html
%{_bindir}/java2html %{_bindir}/java2html
%{_bindir}/source-highlight %{_bindir}/source-highlight
%{_bindir}/source-highlight-cgi
%{_bindir}/src-hilite-lesspipe.sh %{_bindir}/src-hilite-lesspipe.sh
%{_datadir}/%{name} %{_datadir}/%{name}
%{_mandir}/man1/* %{_mandir}/man1/*
%{_infodir}/source-highlight.info*
%changelog %changelog
* Sun Jun 19 2005 Adrian Reber <adrian@lisas.de> - 2.0-1
- updated to 2.0
- added boost-devel, help2man to BR
- included info file
* Wed May 11 2005 Adrian Reber <adrian@lisas.de> - 1.11-1 * Wed May 11 2005 Adrian Reber <adrian@lisas.de> - 1.11-1
- updated to 1.11 - updated to 1.11
- included the documentation - included the documentation

View File

@ -1 +1 @@
4d044e7fb4593e9214f64bedad42ea09 source-highlight-1.11.tar.gz 7501da9ee6f5eba1c9bc9adac9baae18 source-highlight-2.0.tar.gz