Minor adjustments to the qt5pas package in spec

f39
Artur Iwicki 7 years ago
parent cf9b2b7da9
commit f21946b7f9

@ -1,9 +1,8 @@
Name: lazarus Name: lazarus
Version: 1.8.2 Version: 1.8.2
Release: 2%{?dist} Release: 3%{?dist}
Summary: Lazarus Component Library and IDE for Freepascal Summary: Lazarus Component Library and IDE for Freepascal
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-ide.org/ 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 A free and open-source RAD tool for Free Pascal using the Lazarus
Component Library - LCL, which is also included in this package. 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 %package -n qt5pas
Summary: Qt 5 bindings for pascal Version: %{qt5pas_version}
Summary: Qt5 bindings for Pascal
%description -n qt5pas %description -n qt5pas
Qt 5 bindings for pascal from Lazarus. Qt5 bindings for Pascal from Lazarus.
%package -n qt5pas-devel %package -n qt5pas-devel
Version: %{qt5pas_version}
Summary: Development files for qt5pas Summary: Development files for qt5pas
Requires: qt5pas%{?_isa} = %{version}-%{release} Requires: qt5pas%{?_isa} = %{qt5pas_version}-%{release}
%description -n qt5pas-devel %description -n qt5pas-devel
The qt5pas-devel package contains libraries and header files for The qt5pas-devel package contains libraries and header files for
developing applications that use qt5pas. developing applications that use qt5pas.
# Qt5pas end
%prep %prep
%setup -c -q %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 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} %make_install INSTALL_ROOT=%{buildroot}
popd popd
@ -117,14 +123,19 @@ fi
%{_mandir}/*/* %{_mandir}/*/*
%files -n qt5pas %files -n qt5pas
%license lcl/interfaces/qt5/cbindings/COPYING.TXT %license lazarus/lcl/interfaces/qt5/cbindings/COPYING.TXT
%doc lcl/interfaces/qt5/cbindings/README.TXT %doc lazarus/lcl/interfaces/qt5/cbindings/README.TXT
%{_libdir}/libQt5Pas.so.* %{_libdir}/libQt5Pas.so.*
%files -n qt5pas-devel %files -n qt5pas-devel
%{_libdir}/libQt5Pas.so %{_libdir}/libQt5Pas.so
%changelog %changelog
* Tue Aug 07 2018 Artur Iwicki <fedora@svgames.pl> - 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 <releng@fedoraproject.org> - 1.8.2-2 * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

Loading…
Cancel
Save