Description: new update release.

This commit is contained in:
Jochen Schmitt 2005-10-09 20:32:57 +00:00
parent 78b66cf423
commit 27cdf35ea4
4 changed files with 19 additions and 37 deletions

View File

@ -1 +1 @@
highlight-2.4-1.tar.bz2
highlight-2.4-2.tar.gz

View File

@ -1,30 +1,22 @@
--- highlight-2.4-1/makefile.org 2005-07-19 11:27:46.000000000 +0200
+++ highlight-2.4-1/makefile 2005-08-08 20:07:16.000000000 +0200
@@ -7,7 +7,7 @@
--- highlight-2.4-2/makefile.mak 2005-09-22 22:51:16.000000000 +0200
+++ highlight-2.4-2/makefile 2005-10-09 22:05:40.000000000 +0200
@@ -9,8 +9,8 @@
data_dir = ${DESTDIR}/usr/share/highlight/
# Location where the highlight binary will be installed:
-bin_dir = ${DESTDIR}/usr/local/bin/
-# bin_dir = ${DESTDIR}/usr/bin/
+# bin_dir = ${DESTDIR}/usr/local/bin/
+bin_dir = ${DESTDIR}/usr/bin/
# Location where the highlight man page will be installed:
man_dir = ${DESTDIR}/usr/share/man/man1/
@@ -16,8 +16,9 @@
doc_dir = ${DESTDIR}/usr/share/doc/highlight/
# Location where the highlight examples will be installed:
-examples_dir = ${doc_dir}examples/
+examples_dir = $(DESTDIR)/${doc_dir}examples/
+etc_dir = $(DESTDIR)/etc/highlight
# Commands:
INSTALL_DATA=install -m644
@@ -40,12 +41,6 @@
@echo "Binary directory: ${bin_dir}"
@@ -46,13 +46,7 @@
@echo "Configuration directory: ${conf_dir}"
@echo
- ${MKDIR} ${doc_dir}
${MKDIR} ${conf_dir}
- ${MKDIR} ${examples_dir} \
- ${examples_dir}cgi \
- ${examples_dir}cgi/perl \
@ -33,16 +25,7 @@
${MKDIR} ${data_dir} \
${data_dir}themes \
${data_dir}langDefs \
@@ -53,25 +48,14 @@
${data_dir}helpmsg
${MKDIR} ${man_dir}
${MKDIR} ${bin_dir}
+ $(MKDIR) $(etc_dir)
${INSTALL_DATA} ./langDefs/*.lang ${data_dir}langDefs/
- ${INSTALL_DATA} ./*.conf ${data_dir}
+ ${INSTALL_DATA} ./*.conf ${etc_dir}
${INSTALL_DATA} ./themes/*.style ${data_dir}themes/
@@ -67,18 +61,6 @@
${INSTALL_DATA} ./indentSchemes/*.indent ${data_dir}indentSchemes/
${INSTALL_DATA} ./helpmsg/*.help ${data_dir}helpmsg/
${INSTALL_DATA} ./man/highlight.1.gz ${man_dir}

View File

@ -1,16 +1,15 @@
Name: highlight
Summary: Universal source code to formatted text converter
Version: 2.4.1
Release: 6%{?dist}
Version: 2.4.2
Release: 1%{?dist}
Group: Development/Tools
License: GPL
URL: http://www.andre-simon.de/
Source0: http://www.andre-simon.de/zip/%{name}-2.4-1.tar.bz2
Source0: http://www.andre-simon.de/zip/%{name}-2.4-2.tar.gz
Patch1: highlight-2.4-makefile.patch
Patch2: highlight-2.4-rpmoptflags.patch
Patch3: highlight-2.4-etcdir.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
@ -23,10 +22,9 @@ The utility offers indentation and reformatting capabilities.
It is easily possible to create new language definitions and colour themes.
%prep
%setup -q -n %{name}-2.4-1
%patch1 -p1
%setup -q -n %{name}-2.4-2
%patch1 -p1 -b .mak
%patch2 -p1
%patch3 -p1
%build
make %{?_smp_mflags} LDFLAGS=
@ -36,8 +34,6 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT%{_docdir}/highlight
%clean
rm -rf $RPM_BUILD_ROOT
@ -53,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
%doc ChangeLog AUTHORS README* COPYING TODO examples/
%changelog
* Sun Oct 9 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4.2-0
- New upstream release
* Wed Aug 10 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.4.1-6
- Rebuilt for FC-4/FC-3

View File

@ -1 +1 @@
70066f7c4c0970fb84b0d84835d2f25f highlight-2.4-1.tar.bz2
44a58a1460cd4ccc1b3d684668e5f055 highlight-2.4-2.tar.gz