Initial packaging
This commit is contained in:
parent
2c9f225f6c
commit
5829350275
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/qtquickcontrols-opensource-src-5.1.1.tar.xz
|
69
qt5-qtquickcontrols.spec
Normal file
69
qt5-qtquickcontrols.spec
Normal file
@ -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 <lkundrak@v3.sk> - 5.1.1-1
|
||||
- Initial packaging
|
Loading…
Reference in New Issue
Block a user