mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-25 12:29:25 +02:00
* cleanup (make -C)
+ rtl/units/dumpppu, ppumove, h2pas
This commit is contained in:
parent
071ce784ef
commit
466c791b5d
@ -7,11 +7,13 @@ Group: Development/Languages
|
|||||||
Source: fpc-0.99.0-src.tar.gz
|
Source: fpc-0.99.0-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
|
||||||
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.
|
Some extensions are added to the language, like function overloading. It can
|
||||||
|
create shared libraries and allowes linking with (shared) C libraries.
|
||||||
|
|
||||||
|
|
||||||
%define package fpc-%{PACKAGE_VERSION}
|
%define package fpc-%{PACKAGE_VERSION}
|
||||||
%define bindir /usr/bin
|
%define bindir /usr/bin
|
||||||
@ -21,40 +23,35 @@ Some extensions are added to the language, like function overloading.
|
|||||||
%define docdir /usr/doc/%{package}
|
%define docdir /usr/doc/%{package}
|
||||||
%define gcclib `dirname \`rpm -ql gcc|grep libgcc.a\``
|
%define gcclib `dirname \`rpm -ql gcc|grep libgcc.a\``
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%setup -c
|
%setup -c
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd rtl/linux
|
make -C rtl/linux all
|
||||||
make
|
make -C compiler cycle OPT=-Xs
|
||||||
cd ../../compiler
|
make -C rtl/utils all OPT=-Xs
|
||||||
make cycle
|
make -C docs html
|
||||||
cd ../docs
|
|
||||||
make html
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd rtl/linux
|
make -C rtl/linux install UNITINSTALLDIR=%{unitdir}
|
||||||
make install UNITINSTALLDIR=%{unitdir}
|
make -C compiler install BININSTALLDIR=%{bindir} LIBINSTALLDIR=%{vlibdir}
|
||||||
cd ../../compiler
|
make -C rtl/utils install BININSTALLDIR=%{bindir} UNITINSTALLDIR=%{unitdir}
|
||||||
make install PROGINSTALLDIR=%{bindir} LIBINSTALLDIR=%{vlibdir}
|
make -C docs install DOCINSTALLDIR=%{docdir}
|
||||||
cd ../docs
|
|
||||||
make install DOCINSTALLDIR=%{docdir}
|
%clean
|
||||||
|
make -C rtl/linux clean
|
||||||
|
make -C compiler clean
|
||||||
|
make -C rtl/utils clean
|
||||||
|
make -C docs clean
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{vlibdir}/samplecfg
|
%{vlibdir}/samplecfg
|
||||||
|
|
||||||
%clean
|
|
||||||
cd rtl/linux
|
|
||||||
make clean
|
|
||||||
cd ../../compiler
|
|
||||||
make clean
|
|
||||||
cd ../docs
|
|
||||||
make clean
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{bindir}/ppc386
|
%{bindir}/ppc386
|
||||||
|
%{bindir}/dumpppu
|
||||||
|
%{bindir}/ppumove
|
||||||
|
%{bindir}/h2pas
|
||||||
%{vlibdir}
|
%{vlibdir}
|
||||||
%dir %{libdir}
|
%dir %{libdir}
|
||||||
%doc %{docdir}
|
%doc %{docdir}
|
||||||
|
Loading…
Reference in New Issue
Block a user