diff --git a/lazarus.spec b/lazarus.spec index 60e3452..f80a6b2 100644 --- a/lazarus.spec +++ b/lazarus.spec @@ -1,9 +1,8 @@ Name: lazarus Version: 1.8.2 -Release: 2%{?dist} +Release: 3%{?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-ide.org/ @@ -24,19 +23,26 @@ 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. +# Qt5pas start +# The version is taken from lcl/interfaces/qt5/cbindings/Qt5Pas.pro +%global qt5pas_version 2.6 + %package -n qt5pas -Summary: Qt 5 bindings for pascal +Version: %{qt5pas_version} +Summary: Qt5 bindings for Pascal %description -n qt5pas -Qt 5 bindings for pascal from Lazarus. +Qt5 bindings for Pascal from Lazarus. %package -n qt5pas-devel +Version: %{qt5pas_version} Summary: Development files for qt5pas -Requires: qt5pas%{?_isa} = %{version}-%{release} +Requires: qt5pas%{?_isa} = %{qt5pas_version}-%{release} %description -n qt5pas-devel The qt5pas-devel package contains libraries and header files for developing applications that use qt5pas. +# Qt5pas end %prep %setup -c -q @@ -81,7 +87,7 @@ sed 's#__LAZARUSDIR__#%{_libdir}/%{name}#;s#__FPCSRCDIR__#%{_datadir}/fpcsrc#' \ chmod 755 %{buildroot}%{_libdir}/%{name}/components/lazreport/tools/localize.sh -pushd lcl/interfaces/qt5/cbindings/ +pushd lazarus/lcl/interfaces/qt5/cbindings/ %make_install INSTALL_ROOT=%{buildroot} popd @@ -117,14 +123,19 @@ fi %{_mandir}/*/* %files -n qt5pas -%license lcl/interfaces/qt5/cbindings/COPYING.TXT -%doc lcl/interfaces/qt5/cbindings/README.TXT +%license lazarus/lcl/interfaces/qt5/cbindings/COPYING.TXT +%doc lazarus/lcl/interfaces/qt5/cbindings/README.TXT %{_libdir}/libQt5Pas.so.* %files -n qt5pas-devel %{_libdir}/libQt5Pas.so + %changelog +* Tue Aug 07 2018 Artur Iwicki - 1.8.2-3 +- Add the Qt5pas package (pull request #3) +- Remove the Group: tag (no longer used in Fedora) + * Fri Jul 13 2018 Fedora Release Engineering - 1.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild