%global qt_module qtimageformats Summary: Qt5 - QtImageFormats component Name: qt5-%{qt_module} Version: 5.1.1 Release: 1%{?dist} # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for details License: LGPLv2 with exceptions or GPLv3 with exceptions 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: libmng-devel BuildRequires: libtiff-devel %{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}} %description The core Qt Gui library by default supports reading and writing image files of the most common file formats: PNG, JPEG, BMP, GIF and a few more, ref. Reading and Writing Image Files. The Qt Image Formats add-on module provides optional support for other image file formats, including: MNG, TGA, TIFF, WBMP. %prep %setup -q -n %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}} %build %{_qt5_qmake} make %{?_smp_mflags} %install make install INSTALL_ROOT=%{buildroot} %files %doc LGPL_EXCEPTION.txt LICENSE.GPL LICENSE.LGPL %{_qt5_plugindir}/imageformats/libqmng.so %{_qt5_plugindir}/imageformats/libqtga.so %{_qt5_plugindir}/imageformats/libqtiff.so %{_qt5_plugindir}/imageformats/libqwbmp.so %changelog * Fri Aug 30 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1 - 5.1.1 * Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2 - update Source URL - include license files - improved description * Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1 - 5.0.2 * Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1 - first try