Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37714162
en ru br
ALT Linux repositórios
S:2.2.6-alt2
5.0: 0.9.24-alt3.4
4.1: 0.9.24-alt3
4.0: 0.9.24-alt0.M40.2.3.1
+backports:0.9.24-alt2.3

Group :: Desenvolvimento/Outros
RPM: lazarus

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: lazarus
Version: 0.9.24
Release: alt3.4

Summary: Lazarus Component Library and IDE
License: GPL and modified LGPL
Group: Development/Other
Url: http://www.lazarus.freepascal.org/

Packager: Alexey Shentzev <ashen at altlinux.ru>

Source: %name-%version-alt1.tar.bz2
Patch0: %name-0.9.22-alt-relax-onwine.patch
Patch1: %name-0.9.24-alt-fpc.patch
Patch2: %name-0.9.24-alt-font.patch
Patch3: %name-0.9.24-alt-fix-idebar-windowtype.patch
Patch4: %name-0.9.24-fix-desktop-file.patch

Requires: fpc fpc-src gdb
Requires: glibc-devel glib-devel gdk-pixbuf-devel gtk+-devel libXi-devel
Requires: fonts-bitmap-terminus
BuildRequires: fpc >= 2.2.0 fpc-utils glibc-devel gdk-pixbuf-devel gtk+-devel libgtk+2-devel libXi-devel desktop-file-utils libXext-devel

%add_findreq_skiplist %_libdir/%name/examples/*

%description
Lazarus is a free and open source Rapid Application Development tool for
the FreePascal compiler using the Lazarus component library - LCL. The LCL
is included in this package.

%description -l ru_RU.UTF8
Lazarus - свободно-распространяемая, с открытым исходным кодом, среда
для быстрой разработки прикладных программ (Rapid Application Development tool)
на FreePascal, использующая библиотеки компонет LCL (Lazarus component library).
LCL входят в состав данного пакета.

# docs

%package docs
Summary: Lazarus docs
Group: Development/Other
Requires: %name = %version-%release

%description docs
Lazarus docs

%description docs -l ru_RU.UTF8
Документация по Lazarus

# examples

%package examples
Summary: Lazarus examples
Group: Development/Other
Requires: %name = %version-%release

%description examples
Lazarus examples

%description examples -l ru_RU.UTF8
Примеры программ, созданных с помощью Lazarus

# tools

%package tools
Summary: Lazarus tools
Group: Development/Other
Requires: %name = %version-%release

%description tools
Lazarus tools

%description tools -l ru_RU.UTF8
Вспомогательный инструментарий для Lazarus

%prep
%setup -n %name
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p0
# rx and rxfpc components don't build on x86-64
%__subst '/-C rx/d' components/Makefile.fpc

%build
if [ -n "$FPCCfg" ]; then
 MAKEOPTS=" -n  at $FPCCfg"
fi
export LCL_PLATFORM=gtk
fpcmake -pwr
make bigide
make tools OPT="$MAKEOPTS"
make lazbuilder OPT="$MAKEOPTS"
make lcl ideintf packager/registration bigide OPT="$MAKEOPTS"

strip lazarus startlazarus lazbuild

%install
mkdir -p %buildroot{%_bindir,%_libdir/%name,%_datadir/gnome/apps/Development}

cp -aRf * %buildroot%_libdir/%name/

install -pDm644 docs/lazbuild.1 %buildroot%_man1dir/lazbuild.1
install -pDm644 images/ide_icon48x48.png %buildroot%_pixmapsdir/lazarus.png
install -pDm644 install/lazarus.desktop %buildroot%_desktopdir/lazarus.desktop

ln -sf ../%_lib/%name/lazarus %buildroot%_bindir/lazarus
ln -sf ../%_lib/%name/startlazarus %buildroot%_bindir/startlazarus
ln -sf ../%_lib/%name/lazbuild %buildroot%_bindir/lazbuild

#fix bug 13256

mkdir -p %buildroot%_datadir/fpcsrc/packages/fcl-base
mkdir -p %buildroot%_datadir/fpcsrc/rtl/inc

%files
%_libdir/%name/
%_bindir/*
%_pixmapsdir/lazarus.png
%_desktopdir/lazarus.desktop
%_man1dir/*
%exclude %_libdir/%name/docs
%exclude %_libdir/%name/examples
%exclude %_libdir/%name/tools
%exclude %_libdir/%name/debian
#fix bug 13256
%dir %_datadir/fpcsrc/rtl/inc
%dir %_datadir/fpcsrc/packages/fcl-base

%files docs
%_libdir/%name/docs

%files examples
%_libdir/%name/examples

%files tools
%_libdir/%name/tools
%exclude %_libdir/%name/tools/install

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009