[ra993482 at ic.unicamp.br: Spec file for GPC]

Anja Gerwinski anja at gerwinski.de
Mon Dec 13 23:10:27 CET 2004


Hello,

clearing up a mail folder I read only rarely (due to excess spam),
I found the message below. It's of July, but maybe it is still of
interest.

Best Regards,

  Anja Gerwinski


----- Forwarded message from Ulisses <ra993482 at ic.unicamp.br> -----

Delivery-date: Mon, 05 Jul 2004 22:09:20 +0200
Subject: Spec file for GPC
From: Ulisses <ra993482 at ic.unicamp.br>
To: gpc-owner at gnu.de

Hi,

	could you forward this email to your gpc mailing list? I made a spec
file for gpc and I thought some people there might be interested.

Regards,

-- Ulisses


%define name gpc
%define gpcversion 20040516
%define gpcrelease 1
%define gcccoreversion 3.2.3
%define myprefix /usr/local

Summary: GNU Pascal Compiler
Name: %{name}
Version: %{gpcversion}
Release: %{gpcrelease}
License: GPL
Group: Development/Languages
Source0: gcc-core-%{gcccoreversion}.tar.bz2
Source1: gpc-%{gpcversion}.tar.gz
BuildRoot: %{_builddir}/%{name}-instroot

%description
This package contains the GNU Pascal Compiler.

%prep
%setup -T -c -a 0
%setup -T -D -a 1
mv gpc-%{gpcversion}/p gcc-%{gcccoreversion}/gcc/

%build
rm -rf gpc-build
mkdir gpc-build
cd gpc-build
../gcc-%{gcccoreversion}/configure --enable-languages=pascal --prefix=%{myprefix}
make

%install
rm -rf $RPM_BUILD_ROOT
cd gpc-build
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{myprefix}/bin/*
%{myprefix}/lib/*
%{myprefix}/info/*
%{myprefix}/doc/*
%{myprefix}/man/*
%{myprefix}/share/*

%changelog
* Fri Jul 03 2004 Ulisses <ra993482 at ic.unicamp.br> 20040516-1
- Initial spec file.


----- End forwarded message -----




More information about the Gpc mailing list