|
|
@ -1,61 +1,61 @@
|
|
|
|
Name: lazarus
|
|
|
|
Name: lazarus
|
|
|
|
Version: 0.9.26.2
|
|
|
|
Version: 0.9.28
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Lazarus Component Library and IDE for Freepascal
|
|
|
|
Summary: Lazarus Component Library and IDE for Freepascal
|
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
|
# GNU Classpath style exception, see COPYING.modifiedLGPL
|
|
|
|
# GNU Classpath style exception, see COPYING.modifiedLGPL
|
|
|
|
License: GPLv2+ and MPLv1.1 and LGPLv2+ with exceptions
|
|
|
|
License: GPLv2+ and MPLv1.1 and LGPLv2+ with exceptions
|
|
|
|
URL: http://www.lazarus.freepascal.org/
|
|
|
|
URL: http://www.lazarus.freepascal.org/
|
|
|
|
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}-0.tgz
|
|
|
|
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}-src.tar.bz2
|
|
|
|
patch0: Makefile_patch.diff
|
|
|
|
patch0: Makefile_patch.diff
|
|
|
|
patch1: Desktop_patch.diff
|
|
|
|
patch1: Desktop_patch.diff
|
|
|
|
|
|
|
|
patch2: gzip_manpages_patch.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: fpc >= 2.2.2, binutils, gdk-pixbuf-devel, gtk+-devel, glibc-devel, desktop-file-utils, gtk2-devel, fpc-src >= 2.2.2
|
|
|
|
BuildRequires: fpc, binutils, glibc-devel, desktop-file-utils, fpc-src, gtk2-devel
|
|
|
|
Requires: fpc-src >= 2.2.2, fpc >= 2.2.2, binutils, gdk-pixbuf-devel, gtk+-devel, glibc-devel, gdb
|
|
|
|
Requires: fpc-src, fpc, binutils, glibc-devel, gdb, gtk2-devel
|
|
|
|
|
|
|
|
|
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Lazarus is a free and opensource RAD tool for freepascal using the lazarus
|
|
|
|
A free and opensource RAD tool for freepascal using the lazarus
|
|
|
|
component library - LCL, which is also included in this package.
|
|
|
|
component library - LCL, which is also included in this package.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -c -q
|
|
|
|
%setup -c -q
|
|
|
|
%patch0 -p0
|
|
|
|
%patch0 -p0
|
|
|
|
%patch1 -p0
|
|
|
|
%patch1 -p0
|
|
|
|
|
|
|
|
%patch2 -p0
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
cd lazarus
|
|
|
|
cd lazarus
|
|
|
|
# Remove the files for building debian-repositories
|
|
|
|
# Remove the files for building other packages
|
|
|
|
rm -rf debian
|
|
|
|
rm -rf debian
|
|
|
|
rm -rf tools/install/cross_unix/debian_crosswin32
|
|
|
|
cd tools
|
|
|
|
rm tools/install/cross_unix/create_linux_cross_win32_deb.sh
|
|
|
|
find install -depth -type d ! \( -path "install/linux/*" -o -path "install/linux" -o -path "install" \) -exec rm -rf '{}' \;
|
|
|
|
rm tools/install/cross_unix/HowToCreate_fpc_crosswin32_deb.txt
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
|
|
# Remove scripts vulnerable to symlink-attacks (bug 460642)
|
|
|
|
# Remove scripts vulnerable to symlink-attacks (bug 460642)
|
|
|
|
rm tools/convert_po_file_to_utf-8.sh
|
|
|
|
rm tools/convert_po_file_to_utf-8.sh
|
|
|
|
rm tools/install/build_fpc_snaphot_rpm.sh
|
|
|
|
|
|
|
|
rm tools/install/check_fpc_dependencies.sh
|
|
|
|
|
|
|
|
rm tools/install/create_fpc_deb.sh
|
|
|
|
|
|
|
|
rm tools/install/create_fpc_export_tgz.sh
|
|
|
|
|
|
|
|
rm tools/install/create_fpc_rpm.sh
|
|
|
|
|
|
|
|
rm tools/install/create_fpc-src_rpm.sh
|
|
|
|
|
|
|
|
rm tools/install/create_fpc_tgz_from_local_dir.sh
|
|
|
|
|
|
|
|
rm tools/install/create_lazarus_export_tgz.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export FPCDIR=%{_datadir}/fpcsrc/
|
|
|
|
export FPCDIR=%{_datadir}/fpcsrc/
|
|
|
|
fpcmake -Tall
|
|
|
|
fpcmake -Tall
|
|
|
|
make tools OPT='-gl'
|
|
|
|
make tools OPT='-gl'
|
|
|
|
make bigide OPT='-gl'
|
|
|
|
make bigide OPT='-gl'
|
|
|
|
make lazbuilder OPT='-gl'
|
|
|
|
make lazbuilder OPT='-gl'
|
|
|
|
# Add the ability to create gtk2-applications
|
|
|
|
|
|
|
|
export LCL_PLATFORM=gtk2
|
|
|
|
|
|
|
|
make lcl ideintf packager/registration bigidecomponents OPT='-gl'
|
|
|
|
|
|
|
|
export LCL_PLATFORM=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# These files have the wrong executable-bit set in version 0.9.28:
|
|
|
|
|
|
|
|
chmod -x lazarus/tools/chmmaker/chmwriter.lpi
|
|
|
|
|
|
|
|
chmod -x lazarus/tools/chmmaker/unit1.pas
|
|
|
|
|
|
|
|
chmod -x lazarus/tools/chmmaker/unit1.lfm
|
|
|
|
|
|
|
|
chmod -x lazarus/tools/chmmaker/unit1.lrs
|
|
|
|
|
|
|
|
chmod +x lazarus/components/lazsvnpkg/lazsvnpkg_images.sh
|
|
|
|
|
|
|
|
chmod +x lazarus/examples/trayicon/createbundle.sh
|
|
|
|
|
|
|
|
|
|
|
|
make -C lazarus install INSTALL_PREFIX=%{buildroot}%{_prefix} _LIB=%{_lib}
|
|
|
|
make -C lazarus install INSTALL_PREFIX=%{buildroot}%{_prefix} _LIB=%{_lib}
|
|
|
|
make -C lazarus/install/man INSTALL_MANDIR=%{buildroot}%{_mandir}
|
|
|
|
make -C lazarus/install/man INSTALL_MANDIR=%{buildroot}%{_mandir}
|
|
|
|
|
|
|
|
|
|
|
@ -101,6 +101,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
|
%{_mandir}/*/*
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Oct 16 2009 Joost van der Sluis <rel-eng@lists.fedoraproject.org> - 0.9.28-1
|
|
|
|
|
|
|
|
- Updated to version 0.9.28
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.26.2-4
|
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.26.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|