diff --git a/.gitignore b/.gitignore index e69de29..f173992 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/qtx11extras-opensource-src-5.2.0-alpha.tar.xz diff --git a/qt5-qtx11extras.spec b/qt5-qtx11extras.spec new file mode 100644 index 0000000..e45eb8c --- /dev/null +++ b/qt5-qtx11extras.spec @@ -0,0 +1,78 @@ + +%global qt_module qtx11extras +%define pre alpha + +Summary: Qt5 - X11 support library +Name: qt5-%{qt_module} +Version: 5.2.0 +Release: 0.1.%{pre}%{?dist} + +# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details +License: LGPLv2 with exceptions or GPLv3 with exceptions +Url: http://qt-project.org/ +%if 0%{?pre:1} +Source0: http://download.qt-project.org/development_releases/qt/5.2/%{version}-%{pre}/submodules/%{qt_module}-opensource-src-%{version}-%{pre}.tar.xz +%else +Source0: http://download.qt-project.org/official_releases/qt/5.2/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz +%endif + +# http://bugzilla.redhat.com/1005482 +ExcludeArch: ppc64 ppc + +BuildRequires: qt5-qtbase-devel >= %{version} +%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}} + +%description +The X11 Extras module provides features specific to platforms using X11, e.g. +Linux and UNIX-like systems including embedded Linux systems that use the X +Window System. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: qt5-qtbase-devel%{?_isa} + +%description devel +%{summary}. + + +%prep +%setup -q -n %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}} + + +%build +%{_qt5_qmake} + +make %{?_smp_mflags} + + +%install +make install INSTALL_ROOT=%{buildroot} + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%doc LGPL_EXCEPTION.txt LICENSE.GPL LICENSE.LGPL +%{_qt5_libdir}/libQt5X11Extras.so.5* + + +%files devel +%{_qt5_headerdir}/QtX11Extras/ +%{_qt5_libdir}/libQt5X11Extras.so +%{_qt5_libdir}/libQt5X11Extras.prl +%{_qt5_libdir}/cmake/Qt5X11Extras/ +%{_qt5_libdir}/pkgconfig/Qt5X11Extras.pc +%{_qt5_archdatadir}/mkspecs/modules/qt_lib_x11extras.pri +%exclude %{_qt5_libdir}/libQt5X11Extras.la + + + +%changelog +* Fri Sep 27 2013 Lubomir Rintel - 5.1.1-1 +- Initial packaging diff --git a/sources b/sources index e69de29..29cbbc9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c62509354917e9c19f6535f3b10289e0 qtx11extras-opensource-src-5.2.0-alpha.tar.xz