updated to 2.0 added boost-devel, help2man to BR included info file
This commit is contained in:
parent
62310ca14e
commit
e21cde99c6
@ -1 +1 @@
|
||||
source-highlight-1.11.tar.gz
|
||||
source-highlight-2.0.tar.gz
|
||||
|
@ -1,13 +1,16 @@
|
||||
Summary: Produces a document with syntax highlighting
|
||||
Name: source-highlight
|
||||
Version: 1.11
|
||||
Release: 1
|
||||
Version: 2.0
|
||||
Release: 1%{?dist}
|
||||
Group: Development/Tools
|
||||
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/
|
||||
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
|
||||
This program, given a source file, produces a document with syntax
|
||||
@ -32,18 +35,33 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/ docs
|
||||
%clean
|
||||
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
|
||||
%defattr (-,root,root)
|
||||
%doc docs/source-highlight/*
|
||||
%{_bindir}/cpp2html
|
||||
%{_bindir}/java2html
|
||||
%{_bindir}/source-highlight
|
||||
%{_bindir}/source-highlight-cgi
|
||||
%{_bindir}/src-hilite-lesspipe.sh
|
||||
%{_datadir}/%{name}
|
||||
%{_mandir}/man1/*
|
||||
%{_infodir}/source-highlight.info*
|
||||
|
||||
%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
|
||||
- updated to 1.11
|
||||
- included the documentation
|
||||
|
Loading…
Reference in New Issue
Block a user