public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lazarus] multiple-IDE-widgetsets: Added qt5pas subpackage
@ 2026-07-23 8:17 Vasiliy Glazov
0 siblings, 0 replies; only message in thread
From: Vasiliy Glazov @ 2026-07-23 8:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/lazarus
Branch : multiple-IDE-widgetsets
Commit : cf9b2b7da9730b1212c9e11a0c5baa0341299287
Author : Vasiliy Glazov <vascom2@gmail.com>
Date : 2018-08-07T13:52:03+02:00
Stats : +33/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/lazarus/c/cf9b2b7da9730b1212c9e11a0c5baa0341299287?branch=multiple-IDE-widgetsets
Log:
Added qt5pas subpackage
Since 1.8 Lazarus contains qt5pas sources, instead of having a separate package,
we can add it to Lazarus as a subpackage.
---
diff --git a/lazarus.spec b/lazarus.spec
index db706ae..60e3452 100644
--- a/lazarus.spec
+++ b/lazarus.spec
@@ -14,6 +14,8 @@ patch2: disable_pascalscript_powerpc64.diff
BuildRequires: fpc, binutils, glibc-devel, desktop-file-utils, fpc-src, gtk2-devel
BuildRequires: perl-generators
+BuildRequires: qt5-qtbase-devel
+BuildRequires: qt5-qtx11extras-devel
Requires: fpc-src, fpc, binutils, glibc-devel, gdb, gtk2-devel
ExclusiveArch: %{fpc_arches}
@@ -22,6 +24,20 @@ ExclusiveArch: %{fpc_arches}
A free and open-source RAD tool for Free Pascal using the Lazarus
Component Library - LCL, which is also included in this package.
+%package -n qt5pas
+Summary: Qt 5 bindings for pascal
+
+%description -n qt5pas
+Qt 5 bindings for pascal from Lazarus.
+
+%package -n qt5pas-devel
+Summary: Development files for qt5pas
+Requires: qt5pas%{?_isa} = %{version}-%{release}
+
+%description -n qt5pas-devel
+The qt5pas-devel package contains libraries and header files for
+developing applications that use qt5pas.
+
%prep
%setup -c -q
%patch0 -p0
@@ -44,6 +60,11 @@ cd ..
make bigide OPT='-gl -gw'
make tools OPT='-gl -gw'
+pushd lcl/interfaces/qt5/cbindings/
+ %{qmake_qt5}
+ %make_build
+popd
+
%install
rm -rf %{buildroot}
@@ -60,6 +81,10 @@ sed 's#__LAZARUSDIR__#%{_libdir}/%{name}#;s#__FPCSRCDIR__#%{_datadir}/fpcsrc#' \
chmod 755 %{buildroot}%{_libdir}/%{name}/components/lazreport/tools/localize.sh
+pushd lcl/interfaces/qt5/cbindings/
+ %make_install INSTALL_ROOT=%{buildroot}
+popd
+
%post
/usr/bin/update-desktop-database -q &> /dev/null || :
/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
@@ -91,6 +116,14 @@ fi
%config(noreplace) %{_sysconfdir}/lazarus/environmentoptions.xml
%{_mandir}/*/*
+%files -n qt5pas
+%license lcl/interfaces/qt5/cbindings/COPYING.TXT
+%doc lcl/interfaces/qt5/cbindings/README.TXT
+%{_libdir}/libQt5Pas.so.*
+
+%files -n qt5pas-devel
+%{_libdir}/libQt5Pas.so
+
%changelog
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-23 8:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23 8:17 [rpms/lazarus] multiple-IDE-widgetsets: Added qt5pas subpackage Vasiliy Glazov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox