Compare commits

...

5 Commits
master ... f12

Author SHA1 Message Date
Leigh Scott 720c68e306 * Mon Aug 16 2010 Leigh Scott <leigh123linux@googlemail.com> - 3.1.4-1
- updated to 3.1.4
2010-08-16 11:56:48 +01:00
Fedora Release Engineering d6cfe56084 dist-git conversion 2010-07-29 13:01:11 +00:00
Leigh Scott 5bd91cba6c - updated to 3.1.3
- change configure command so it finds boost_regex
- fix source url's
- add devel package
- fix directory ownership
- fix rpath on binary
2010-06-07 12:52:41 +00:00
Bill Nottingham 97698040f9 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:42:07 +00:00
Jesse Keating caf72d5422 Initialize branch F-12 for source-highlight 2009-09-29 06:54:38 +00:00
4 changed files with 53 additions and 31 deletions

View File

View File

@ -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)

View File

@ -1,15 +1,15 @@
Summary: Produces a document with syntax highlighting Summary: Produces a document with syntax highlighting
Name: source-highlight Name: source-highlight
Version: 2.10 Version: 3.1.4
Release: 4%{?dist} Release: 1%{?dist}
Group: Development/Tools Group: Development/Tools
License: GPLv3+ License: GPLv3+
Source0: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.10.tar.gz Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
Source1: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.10.tar.gz.sig Source1: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz.sig
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, boost-devel BuildRequires: bison, flex, boost-devel
BuildRequires: help2man, ctags BuildRequires: help2man, ctags, chrpath
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info Requires(postun): /sbin/install-info
Requires: ctags Requires: ctags
@ -21,11 +21,22 @@ 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 Lua, Caml, Sml and Log as source languages, and HTML, XHTML and ANSI color
escape sequences as output format. escape sequences as output format.
%package devel
Summary: Development files for source-highlight
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
Development files for source-highlight
%prep %prep
%setup -q %setup -q
%build %build
%configure %configure --disable-static \
--with-boost-regex=boost_regex
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -36,11 +47,16 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/ docs
%{__sed} -i 's/\r//' docs/source-highlight/*.css %{__sed} -i 's/\r//' docs/source-highlight/*.css
rm -f $RPM_BUILD_ROOT%{_infodir}/dir rm -f $RPM_BUILD_ROOT%{_infodir}/dir
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/source-highlight
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/source-highlight-settings
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post %post
/sbin/ldconfig
/sbin/install-info %{_infodir}/source-highlight.info \ /sbin/install-info %{_infodir}/source-highlight.info \
%{_infodir}/dir 2>/dev/null || : %{_infodir}/dir 2>/dev/null || :
@ -50,6 +66,8 @@ if [ $1 -eq 0 ]; then
%{_infodir}/dir 2>/dev/null || : %{_infodir}/dir 2>/dev/null || :
fi fi
%postun -p /sbin/ldconfig
%files %files
%defattr (-,root,root) %defattr (-,root,root)
%doc docs/source-highlight/* %doc docs/source-highlight/*
@ -57,12 +75,37 @@ fi
%{_bindir}/java2html %{_bindir}/java2html
%{_bindir}/source-highlight %{_bindir}/source-highlight
%{_bindir}/check-regexp %{_bindir}/check-regexp
%{_bindir}/source-highlight-settings
%{_bindir}/src-hilite-lesspipe.sh %{_bindir}/src-hilite-lesspipe.sh
%{_datadir}/%{name} %dir %{_sysconfdir}/bash_completion.d
%{_sysconfdir}/bash_completion.d/source-highlight-bash-completion
%{_libdir}/libsource-highlight.so.*
%dir %{_datadir}/source-highlight
%{_datadir}/source-highlight/*
%{_mandir}/man1/* %{_mandir}/man1/*
%{_infodir}/source-highlight.info* %{_infodir}/source-highlight*.info*
%files devel
%defattr (-,root,root)
%dir %{_includedir}/srchilite
%{_libdir}/libsource-highlight.so
%{_libdir}/pkgconfig/source-highlight.pc
%{_includedir}/srchilite/*.h
%{_datadir}/aclocal/ax_boost_*.m4
%changelog %changelog
* Mon Aug 16 2010 Leigh Scott <leigh123linux@googlemail.com> - 3.1.4-1
- updated to 3.1.4
* Fri Jun 04 2010 Leigh Scott <leigh123linux@googlemail.com> - 3.1.3-1
- updated to 3.1.3
- change configure command so it finds boost_regex
- fix source url's
- add devel package
- fix directory ownership
- fix rpath on binary
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-4 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View File

@ -1,2 +1,2 @@
03e9cf03580873b76ca0a89f0468b146 source-highlight-2.10.tar.gz ef28c8d10324a140fb0187ef769ce726 source-highlight-3.1.4.tar.gz.sig
bf7f58f661d557bb28177e71fc8bf740 source-highlight-2.10.tar.gz.sig becf8292b84ece6b532b0f0c92b530ee source-highlight-3.1.4.tar.gz