63 lines
1.5 KiB
RPMSpec
63 lines
1.5 KiB
RPMSpec
|
|
%global qt_module qtquickcontrols
|
|
|
|
Name: qt5-%{qt_module}
|
|
Version: 5.1.1
|
|
Summary: Qt5 - module with set of QtQuick controls
|
|
Release: 2%{?dist}
|
|
License: BSD and (LGPLv2 with exceptions or GPLv3 with exceptions) and GFDL
|
|
Url: http://qt-project.org/
|
|
Source0: http://download.qt-project.org/official_releases/qt/5.1/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
|
|
|
|
BuildRequires: qt5-qtbase-devel >= %{version}
|
|
BuildRequires: qt5-qtbase-static >= %{version}
|
|
BuildRequires: pkgconfig(Qt5Quick)
|
|
BuildRequires: pkgconfig(Qt5Qml)
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(Qt5V8)
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
BuildRequires: pkgconfig(glesv2)
|
|
|
|
%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
|
|
|
|
%description
|
|
The Qt Quick Controls module provides a set of controls that can be used to
|
|
build complete interfaces in Qt Quick.
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{qt_module}-opensource-src-%{version}
|
|
|
|
|
|
%build
|
|
%{_qt5_qmake}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
make install INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%{_qt5_archdatadir}/qml/QtQuick/*
|
|
%doc LICENSE.FDL
|
|
%doc LICENSE.LGPL
|
|
%doc LICENSE.GPL
|
|
%doc LGPL_EXCEPTION.txt
|
|
%doc header.BSD
|
|
|
|
|
|
%changelog
|
|
* Mon Sep 23 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.1-2
|
|
- Drop unused devel package (Rex Dieter, #1008527)
|
|
|
|
* Wed Sep 11 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.1-1
|
|
- Initial packaging
|