|
|
|
@ -1,13 +1,13 @@
|
|
|
|
|
Name: lazarus
|
|
|
|
|
Version: 0.9.30.4
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 1.0.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Lazarus Component Library and IDE for Freepascal
|
|
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
# GNU Classpath style exception, see COPYING.modifiedLGPL
|
|
|
|
|
License: GPLv2+ and MPLv1.1 and LGPLv2+ with exceptions
|
|
|
|
|
URL: http://www.lazarus.freepascal.org/
|
|
|
|
|
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}-src.tar.bz2
|
|
|
|
|
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}-1.tar.gz
|
|
|
|
|
patch0: Makefile_patch.diff
|
|
|
|
|
patch1: Desktop_patch.diff
|
|
|
|
|
|
|
|
|
@ -34,13 +34,13 @@ find install -depth -type d ! \( -path "install/linux/*" -o -path "install/linux
|
|
|
|
|
cd ..
|
|
|
|
|
# Remove patch-backup files
|
|
|
|
|
rm Makefile.fpc.orig
|
|
|
|
|
rm install/lazarus.desktop.orig
|
|
|
|
|
# rm install/lazarus.desktop.orig
|
|
|
|
|
|
|
|
|
|
export FPCDIR=%{_datadir}/fpcsrc/
|
|
|
|
|
fpcmake -Tall
|
|
|
|
|
make tools OPT='-gl'
|
|
|
|
|
make bigide OPT='-gl'
|
|
|
|
|
make lazbuilder OPT='-gl'
|
|
|
|
|
make bigide OPT='-gl -gw'
|
|
|
|
|
make tools OPT='-gl -gw'
|
|
|
|
|
# make lazbuilder OPT='-gl -gw'
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|