94 lines
2.6 KiB
RPMSpec
94 lines
2.6 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
|
||
|
Name: qt5-qtscript
|
||
|
Version: 5.15.2
|
||
|
Release: 2mamba
|
||
|
Summary: Qt5 scripting components
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://www.qt.io/
|
||
|
Source: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/qtscript-everywhere-src-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libglvnd-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: qt5-qtbase-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
Provides: libQt5Script
|
||
|
Obsoletes: libQt5Script <= 5.15.2-1mamba
|
||
|
Provides: libQt5ScriptTools
|
||
|
Obsoletes: libQt5ScriptTools <= 5.15.2-1mamba
|
||
|
|
||
|
%description
|
||
|
Qt5 scripting components.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
Requires: pkg-config
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n qtscript-everywhere-src-%{version}
|
||
|
|
||
|
%build
|
||
|
%_qt5_qmake
|
||
|
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libQt5Script.so.*
|
||
|
%{_libdir}/libQt5ScriptTools.so.*
|
||
|
%doc LICENSE.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/qt5/QtScript
|
||
|
%{_includedir}/qt5/QtScript/*
|
||
|
%dir %{_includedir}/qt5/QtScriptTools
|
||
|
%{_includedir}/qt5/QtScriptTools/*
|
||
|
%{_libdir}/libQt5Script.la
|
||
|
%{_libdir}/libQt5Script.prl
|
||
|
%{_libdir}/libQt5Script.so
|
||
|
%{_libdir}/libQt5ScriptTools.la
|
||
|
%{_libdir}/libQt5ScriptTools.prl
|
||
|
%{_libdir}/libQt5ScriptTools.so
|
||
|
%{_libdir}/qt5/mkspecs/modules/qt_lib_script.pri
|
||
|
%{_libdir}/qt5/mkspecs/modules/qt_lib_script_private.pri
|
||
|
%{_libdir}/qt5/mkspecs/modules/qt_lib_scripttools.pri
|
||
|
%{_libdir}/qt5/mkspecs/modules/qt_lib_scripttools_private.pri
|
||
|
%dir %{_libdir}/cmake/Qt5Script
|
||
|
%{_libdir}/cmake/Qt5Script/Qt5ScriptConfig*.cmake
|
||
|
%dir %{_libdir}/cmake/Qt5ScriptTools
|
||
|
%{_libdir}/cmake/Qt5ScriptTools/Qt5ScriptToolsConfig*.cmake
|
||
|
%{_libdir}/pkgconfig/Qt5Script.pc
|
||
|
%{_libdir}/pkgconfig/Qt5ScriptTools.pc
|
||
|
|
||
|
%changelog
|
||
|
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
|
||
|
- bump release
|
||
|
|
||
|
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
|
||
|
- package created using the webbuild interface
|