mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 05:59:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			57 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
Name: fpc
 | 
						|
Version: 0.99.5
 | 
						|
Release: 2
 | 
						|
ExclusiveArch: i386
 | 
						|
Copyright: GPL
 | 
						|
Group: Development/Languages
 | 
						|
Source: fpc-0.99.5-src.tar.gz
 | 
						|
Summary: Free Pascal Compiler
 | 
						|
Packager: Peter Vreman (pfv@worldonline.nl)
 | 
						|
URL: http://tfdec1.fys.kuleuven.ac.be/~michael/fpc/
 | 
						|
%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
 | 
						|
libraries can be linked and created.
 | 
						|
 | 
						|
%define package fpc-%{PACKAGE_VERSION}
 | 
						|
%define bindir /usr/bin
 | 
						|
%define libdir /usr/lib/fpc
 | 
						|
%define vlibdir %{libdir}/%{PACKAGE_VERSION}
 | 
						|
%define unitdir %{vlibdir}/linuxunits
 | 
						|
%define docdir /usr/doc/%{package}
 | 
						|
%define gcclib `dirname \`rpm -ql gcc|grep libgcc.a\``
 | 
						|
 | 
						|
%prep
 | 
						|
%setup -c
 | 
						|
 | 
						|
%build
 | 
						|
make -C rtl/linux all
 | 
						|
make -C compiler cycle OPT=-Xs
 | 
						|
make -C rtl/utils all OPT=-Xs
 | 
						|
make -C docs html
 | 
						|
 | 
						|
%install
 | 
						|
make -C rtl/linux install 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 compiler clean
 | 
						|
make -C rtl/utils clean
 | 
						|
make -C docs clean
 | 
						|
 | 
						|
%post
 | 
						|
%{vlibdir}/samplecfg
 | 
						|
 | 
						|
%files
 | 
						|
%{bindir}/ppc386
 | 
						|
%{bindir}/dumpppu
 | 
						|
%{bindir}/ppumove
 | 
						|
%{bindir}/h2pas
 | 
						|
%{vlibdir}
 | 
						|
%dir %{libdir}
 | 
						|
%doc %{docdir}
 |