Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
a05bcbde4f | ||
|
c1a2a211dd | ||
|
ffc337cc77 | ||
|
bdb952f393 |
@ -1,2 +0,0 @@
|
||||
source-highlight-2.4.tar.gz
|
||||
source-highlight-2.4.tar.gz.sig
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
source-highlight-2.8.tar.gz
|
||||
source-highlight-2.8.tar.gz.sig
|
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
||||
# Makefile for source rpm: source-highlight
|
||||
# $Id$
|
||||
NAME := source-highlight
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
@ -1,11 +1,11 @@
|
||||
Summary: Produces a document with syntax highlighting
|
||||
Name: source-highlight
|
||||
Version: 2.4
|
||||
Version: 2.8
|
||||
Release: 1%{?dist}
|
||||
Group: Development/Tools
|
||||
License: GPL
|
||||
Source0: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.4.tar.gz
|
||||
Source1: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.4.tar.gz.sig
|
||||
License: GPLv3+
|
||||
Source0: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.8.tar.gz
|
||||
Source1: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.8.tar.gz.sig
|
||||
URL: http://www.gnu.org/software/src-highlite/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: bison, flex, boost-devel
|
||||
@ -33,7 +33,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
mv $RPM_BUILD_ROOT%{_datadir}/doc/ docs
|
||||
%{__sed} -i 's/\r//' docs/source-highlight/xhtml.css
|
||||
%{__sed} -i 's/\r//' docs/source-highlight/*.css
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -54,12 +56,25 @@ fi
|
||||
%{_bindir}/cpp2html
|
||||
%{_bindir}/java2html
|
||||
%{_bindir}/source-highlight
|
||||
%{_bindir}/check-regexp
|
||||
%{_bindir}/src-hilite-lesspipe.sh
|
||||
%{_datadir}/%{name}
|
||||
%{_mandir}/man1/*
|
||||
%{_infodir}/source-highlight.info*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 14 2007 Adrian Reber <adrian@lisas.de> - 2.8-1
|
||||
- updated to 2.8
|
||||
- license changed to GPLv3+
|
||||
|
||||
* Sun Sep 16 2007 Adrian Reber <adrian@lisas.de> - 2.7-1
|
||||
- updated to 2.7
|
||||
- updated files section
|
||||
- updated license
|
||||
|
||||
* Mon Aug 20 2007 Caolan McNamara <caolanm@redhat.com> - 2.4-2
|
||||
- rebuild for boost rebuild
|
||||
|
||||
* Fri Sep 15 2006 Adrian Reber <adrian@lisas.de> - 2.4-1
|
||||
- updated to 2.4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user