* rpm fixed for buttons

This commit is contained in:
peter 1998-03-31 19:59:25 +00:00
parent 274d8885d3
commit 86089b3ab4
2 changed files with 37 additions and 15 deletions

View File

@ -1,19 +1,18 @@
Name: fpc Name: fpc
Version: 0.99.0 Version: 0.99.5
Release: 1 Release: 1
ExclusiveArch: i386 ExclusiveArch: i386
Copyright: GPL Copyright: GPL
Group: Development/Languages Group: Development/Languages
Source: fpc-0.99.0-src.tar.gz Source: fpc-0.99.5-src.tar.gz
Summary: Free Pascal Compiler Summary: Free Pascal Compiler
Packager: Peter Vreman (pfv@worldonline.nl) Packager: Peter Vreman (pfv@worldonline.nl)
URL: http://www.brain.uni-freiburg.de/~klaus/fpk-pas/ URL: http://www.brain.uni-freiburg.de/~klaus/fpk-pas/
%description %description
The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi II compatible The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi II compatible
32bit Pascal Compiler. It comes with fully TP 7.0 compatible run-time library. 32bit Pascal Compiler. It comes with fully TP 7.0 compatible run-time library.
Some extensions are added to the language, like function overloading. It can Some extensions are added to the language, like function overloading. Shared
create shared libraries and allowes linking with (shared) C libraries. libraries can be linked and created.
%define package fpc-%{PACKAGE_VERSION} %define package fpc-%{PACKAGE_VERSION}
%define bindir /usr/bin %define bindir /usr/bin

View File

@ -19,7 +19,7 @@
# Where do you want the html files to be put ? # Where do you want the html files to be put ?
ifndef DOCINSTALLDIR ifndef DOCINSTALLDIR
DOCINSTALLDIR=/usr/doc/fpc-0.99.0 DOCINSTALLDIR=/usr/doc/fpc-0.99.5
endif endif
# #
@ -38,11 +38,17 @@ endif
# Options for converter # Options for converter
ifndef LATEX2HTMLOPTS ifndef LATEX2HTMLOPTS
LATEX2HTMLOPTS = -ascii_mode -no_reuse -up_url "../fpctoc.html"\ LATEX2HTMLOPTS = -no_reuse -up_url "../fpctoc.html"\
-up_title "Free Pascal manuals" -contents_in_navigation\ -up_title "Free Pascal manuals" -contents_in_navigation\
-html_version 3.0 -html_version 3.0
endif endif
# Ascii mode ? (i.e. no pics)
ifndef ASCIIMODE
ASCIIMODE=NO
#ASCIIMODE=YES
endif
# DVI to PS converter # DVI to PS converter
ifndef DVIPS ifndef DVIPS
DVIPS=dvips DVIPS=dvips
@ -78,6 +84,11 @@ PDF = $(addsuffix .pdf, $(HTML))
CHAPTERS = $(addsuffix .tex, crt dos getopts go32 graph linux printer strings) CHAPTERS = $(addsuffix .tex, crt dos getopts go32 graph linux printer strings)
# Check if ascii-mode requested
ifeq ($(ASCIIMODE),YES)
LATEX2HTMLOPTS:=$(LATEX2HTMLOPTS) -ascii_mode
endif
##################################################################### #####################################################################
# Conversion from types # Conversion from types
##################################################################### #####################################################################
@ -165,29 +176,40 @@ ps : dvi $(PS)
pdf : $(PDF) pdf : $(PDF)
user: user: user.chk
user.chk: user.tex
$(LATEX2HTML) $(LATEX2HTMLOPTS) -split 2 -link 2\ $(LATEX2HTML) $(LATEX2HTMLOPTS) -split 2 -link 2\
-t "User's guide for Free Pascal" user.tex -t "User's guide for Free Pascal" user.tex
sed -f foot.sed <user/footnode.html >user/footnote.html sed -f foot.sed <user/footnode.html >user/footnote.html
mv user/footnote.html user/footnode.html mv user/footnote.html user/footnode.html
rm -f user/labels.pl user/internals.pl user/.*.pag user/.*.dir rm -f user/labels.pl user/internals.pl user/.*.pag user/.*.dir
rm -f user/images.* user/*.log rm -f user/images.* user/*.log
touch user.chk
units: unitex.chk units: units.chk
units.chk: units.tex unitex.chk
$(LATEX2HTML) $(LATEX2HTMLOPTS) -split 3 -link 2\ $(LATEX2HTML) $(LATEX2HTMLOPTS) -split 3 -link 2\
-t "Unit reference for Free Pascal" units.tex -t "Unit reference for Free Pascal" units.tex
sed -f foot.sed <units/footnode.html >units/footnote.html sed -f foot.sed <units/footnode.html >units/footnote.html
mv units/footnote.html units/footnode.html mv units/footnote.html units/footnode.html
rm -f units/labels.pl units/internals.pl units/.*.pag units/.*.dir rm -f units/labels.pl units/internals.pl units/.*.pag units/.*.dir
touch units.chk
ref: refex.chk ref: ref.chk
ref.chk: refex.chk ref.tex
$(LATEX2HTML) $(LATEX2HTMLOPTS) -split 3 -link 2\ $(LATEX2HTML) $(LATEX2HTMLOPTS) -split 3 -link 2\
-t "Free Pascal reference guide" ref.tex -t "Free Pascal reference guide" ref.tex
sed -f foot.sed <ref/footnode.html >ref/footnote.html sed -f foot.sed <ref/footnode.html >ref/footnote.html
mv ref/footnote.html ref/footnode.html mv ref/footnote.html ref/footnode.html
rm -f ref/labels.pl ref/internals.pl ref/.*.pag ref/.*.dir rm -f ref/labels.pl ref/internals.pl ref/.*.pag ref/.*.dir
touch ref.chk
prog:
prog: prog.chk
prog.chk: prog.tex
$(LATEX2HTML) $(LATEX2HTMLOPTS) -split 2 -link 2\ $(LATEX2HTML) $(LATEX2HTMLOPTS) -split 2 -link 2\
-t "Free Pascal programmers guide" prog.tex -t "Free Pascal programmers guide" prog.tex
sed -f foot.sed <prog/footnode.html >prog/footnote.html sed -f foot.sed <prog/footnode.html >prog/footnote.html
@ -209,12 +231,13 @@ all-formats: ps txt pdf html
install: install:
install -d -m 755 $(DOCINSTALLDIR) install -d -m 755 $(DOCINSTALLDIR)
cp -R $(HTML) $(DOCINSTALLDIR)
cp fpctoc.html $(DOCINSTALLDIR) cp fpctoc.html $(DOCINSTALLDIR)
cp -R buttons $(DOCINSTALLDIR)
cp -R $(HTML) $(DOCINSTALLDIR)
www-install: psdist htmldist htm www-install: psdist htmldist htm
rcp fpcdoc.zip fpcdocps.zip fpcdocps.tar.gz fpcdoc.tar.gz tfdec1:htdocs/fpk scp fpcdoc.zip fpcdocps.zip fpcdocps.tar.gz fpcdoc.tar.gz tfdec1:htdocs/fpk
rsh tfdec1 '(cd htdocs/fpk/docs ; /usr/local/bin/tar -xzf ../fpcdoc.tar.gz)' ssh tfdec1 '(cd htdocs/fpk/docs ; /usr/local/bin/tar -xzf ../fpcdoc.tar.gz)'
##################################################################### #####################################################################
# Distribution # Distribution