diff --git a/.gitignore b/.gitignore index e69de29..8cb95af 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/qtquickcontrols-opensource-src-5.1.1.tar.xz diff --git a/qt5-qtquickcontrols.spec b/qt5-qtquickcontrols.spec new file mode 100644 index 0000000..b25ccea --- /dev/null +++ b/qt5-qtquickcontrols.spec @@ -0,0 +1,69 @@ + +%global qt_module qtquickcontrols + +Name: qt5-%{qt_module} +Version: 5.1.1 +Summary: Qt5 - module with set of QtQuick controls +Release: 1%{?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. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: qt5-qtbase-devel%{?_isa} + +%description devel +Files useful for developing and building applications with QtQuick Controls +module. + + +%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 +* Wed Sep 11 2013 Lubomir Rintel - 5.1.1-1 +- Initial packaging diff --git a/sources b/sources index e69de29..f75670a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6482ee0c4b11119ae5cb5080e61c18c0 qtquickcontrols-opensource-src-5.1.1.tar.xz