update to 3.6 [release 3.6-1mamba;Wed Nov 27 2024]
This commit is contained in:
parent
0a029343c1
commit
7024416d43
65
lazarus.spec
65
lazarus.spec
@ -1,49 +1,80 @@
|
|||||||
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
Name: lazarus
|
Name: lazarus
|
||||||
Version: 1.4.4
|
Version: 3.6
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A Delphi compatible cross-platform IDE for Rapid Application Development
|
Summary: A Delphi compatible cross-platform IDE for Rapid Application Development
|
||||||
Group: Graphical Desktop/Applications/Development
|
Group: Graphical Desktop/Applications/Development
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.lazarus-ide.org/
|
URL: https://www.lazarus-ide.org/
|
||||||
Source: http://downloads.sourceforge.net/project/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20%{version}/lazarus-%{version}-0.tar.gz
|
Source: http://downloads.sourceforge.net/project/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20%{majver}/lazarus-%{version}-0.tar.gz
|
||||||
License: GPL, LGPL
|
License: GPL, LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
BuildRequires: libatk-devel
|
|
||||||
BuildRequires: libcairo-devel
|
|
||||||
BuildRequires: libgdk-pixbuf-devel
|
|
||||||
BuildRequires: libglib-devel
|
|
||||||
BuildRequires: libgtk2-devel
|
|
||||||
BuildRequires: libpango-devel
|
|
||||||
BuildRequires: libperl
|
BuildRequires: libperl
|
||||||
|
BuildRequires: libqt6pas-devel
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: fpc
|
BuildRequires: fpc
|
||||||
|
BuildRequires: fpc-src
|
||||||
Requires: fpc
|
Requires: fpc
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Lazarus is a Delphi compatible cross-platform IDE for Rapid Application Development. It has variety of components ready for use and a graphical form designer to easily create complex graphical user interfaces.
|
Lazarus is a Delphi compatible cross-platform IDE for Rapid Application Development. It has variety of components ready for use and a graphical form designer to easily create complex graphical user interfaces.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
# Instruct fpmake to build in parallel
|
||||||
|
%global fpmakeopt %{?_smp_build_ncpus:FPMAKEOPT='-T %{_smp_build_ncpus}'}
|
||||||
|
|
||||||
|
# Preferred compilation options - enable GDB debuginfo in DWARF format, plus some optimisations
|
||||||
|
%global fpcopt -g -gl -gw -O3
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}
|
%setup -q -n %{name}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make clean bigide
|
# Remove the files for building other packages
|
||||||
|
rm -rf debian
|
||||||
|
pushd tools
|
||||||
|
find install -depth -type d ! \( -path "install/linux/*" -o -path "install/linux" -o -path "install" \) -exec rm -rf '{}' \;
|
||||||
|
popd
|
||||||
|
|
||||||
|
# Compile some basic targets required by everything else
|
||||||
|
make registration %{fpmakeopt} OPT='%{fpcopt}'
|
||||||
|
|
||||||
|
# Compile lazbuild - required to build other targets
|
||||||
|
make lazbuild %{fpmakeopt} OPT='%{fpcopt}'
|
||||||
|
|
||||||
|
# Compile LCL base (Lazarus Component Library) for the "nogui" widgetset
|
||||||
|
make lcl %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui
|
||||||
|
|
||||||
|
# Compile extra tools
|
||||||
|
make tools %{fpmakeopt} OPT='%{fpcopt}'
|
||||||
|
|
||||||
|
export LD_LIBRARY_PATH="$PWD/lcl/interfaces/qt6/cbindings/"
|
||||||
|
|
||||||
|
# Compile the LCL base + extra components for GUI widgetsets
|
||||||
|
for WIDGETSET in gtk3 qt qt6; do
|
||||||
|
make lcl basecomponents bigidecomponents %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM="${WIDGETSET}"
|
||||||
|
done
|
||||||
|
|
||||||
|
# build Qt6 IDE
|
||||||
|
make bigide %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=qt6
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall INSTALL_PREFIX=%{buildroot}%{_prefix}
|
%makeinstall INSTALL_PREFIX=%{buildroot}%{_prefix} _LIB=%{_lib}
|
||||||
|
|
||||||
%find_lang %{name} || touch %{name}.lang
|
#%find_lang %{name} || touch %{name}.lang
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files
|
||||||
|
#-f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/lazarus-ide
|
%{_bindir}/lazarus-ide
|
||||||
%{_bindir}/lazbuild
|
%{_bindir}/lazbuild
|
||||||
@ -67,5 +98,11 @@ make clean bigide
|
|||||||
%doc COPYING.GPL.txt COPYING.LGPL.txt COPYING.modifiedLGPL.txt COPYING.txt
|
%doc COPYING.GPL.txt COPYING.LGPL.txt COPYING.modifiedLGPL.txt COPYING.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 27 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6-1mamba
|
||||||
|
- update to 3.6
|
||||||
|
|
||||||
|
* Sat Feb 27 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-1mamba
|
||||||
|
- update to 1.6.0
|
||||||
|
|
||||||
* Sun Oct 25 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-1mamba
|
* Sun Oct 25 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
x
Reference in New Issue
Block a user