|
@@ -7,8 +7,8 @@ Group: Development/Languages
|
|
|
Source: fpc-0.99.8-src.tar.gz
|
|
|
Summary: Free Pascal Compiler
|
|
|
Packager: Michael Van Canneyt ([email protected])
|
|
|
-URL: http://tfdec1.fys.kuleuven.ac.be/~michael/fpc/
|
|
|
-%description
|
|
|
+URL: http://tfdec1.fys.kuleuven.ac.be/~michael/fpc/fpc.html
|
|
|
+%description
|
|
|
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.
|
|
|
Some extensions are added to the language, like function overloading. Shared
|
|
@@ -27,19 +27,20 @@ easy, so interfaces can be written fast.
|
|
|
%setup -c
|
|
|
|
|
|
%build
|
|
|
-make -C rtl/linux all
|
|
|
-make -C compiler cycle RELEASE=1
|
|
|
+make -C compiler cycle OPT=-O1p2 RELEASE=1
|
|
|
make -C rtl/utils all RELEASE=1
|
|
|
+make -C rtl/linux libs PPUMOVE=../utils/ppumove
|
|
|
make -C docs html
|
|
|
|
|
|
%install
|
|
|
make -C rtl/linux install UNITINSTALLDIR=%{unitdir}
|
|
|
+make -C rtl/linux libinstall UNITINSTALLDIR=%{unitdir}
|
|
|
make -C compiler install BININSTALLDIR=%{bindir} LIBINSTALLDIR=%{vlibdir}
|
|
|
make -C rtl/utils install BININSTALLDIR=%{bindir} UNITINSTALLDIR=%{unitdir}
|
|
|
make -C docs install DOCINSTALLDIR=%{docdir}
|
|
|
|
|
|
%clean
|
|
|
-make -C rtl/linux clean
|
|
|
+make -C rtl/linux libsclean
|
|
|
make -C compiler clean
|
|
|
make -C rtl/utils clean
|
|
|
make -C docs clean
|