Added BR gcc, gcc-c++
Small SPEC file cleanups Signed-off-by: Adrian Reber <adrian@lisas.de>
This commit is contained in:
parent
da33a6fd2e
commit
5bf3df6d67
@ -1,7 +1,7 @@
|
||||
Summary: Produces a document with syntax highlighting
|
||||
Name: source-highlight
|
||||
Version: 3.1.8
|
||||
Release: 17%{?dist}
|
||||
Release: 18%{?dist}
|
||||
Group: Development/Tools
|
||||
License: GPLv3+
|
||||
Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
|
||||
@ -9,13 +9,14 @@ Source1: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz.sig
|
||||
URL: http://www.gnu.org/software/src-highlite/
|
||||
BuildRequires: bison, flex, boost-devel
|
||||
BuildRequires: help2man, ctags, chrpath, pkgconfig(bash-completion)
|
||||
BuildRequires: gcc, gcc-c++
|
||||
Requires(post): info
|
||||
Requires(preun): info
|
||||
Requires: ctags
|
||||
|
||||
%description
|
||||
This program, given a source file, produces a document with syntax
|
||||
highlighting. At the moment this package can handle :
|
||||
highlighting. At the moment this package can handle:
|
||||
Java, Javascript, C/C++, Prolog, Perl, Php3, Python, Flex, ChangeLog, Ruby,
|
||||
Lua, Caml, Sml and Log as source languages, and HTML, XHTML and ANSI color
|
||||
escape sequences as output format.
|
||||
@ -39,7 +40,6 @@ Development files for source-highlight
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
mv $RPM_BUILD_ROOT%{_datadir}/doc/ docs
|
||||
@ -60,7 +60,6 @@ mv $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/source-highlight \
|
||||
rmdir $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
/sbin/install-info %{_infodir}/source-highlight.info \
|
||||
%{_infodir}/dir 2>/dev/null || :
|
||||
|
||||
@ -70,8 +69,6 @@ if [ $1 -eq 0 ]; then
|
||||
%{_infodir}/dir 2>/dev/null || :
|
||||
fi
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc docs/source-highlight/*
|
||||
%{_bindir}/cpp2html
|
||||
@ -95,6 +92,10 @@ fi
|
||||
%{_includedir}/srchilite/*.h
|
||||
|
||||
%changelog
|
||||
* Mon Jul 16 2018 Adrian Reber <adrian@lisas.de> - 3.1.8-18
|
||||
- Added BR gcc, gcc-c++
|
||||
- Small SPEC file cleanups
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.8-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user