Compare commits
10 Commits
e88585a934
...
d9bedbcc03
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9bedbcc03 | ||
|
|
aac53f400c | ||
|
|
b2853f1e89 | ||
|
|
90fe214c76 | ||
|
|
83fcb04129 | ||
|
|
d1a1867093 | ||
|
|
fbbc60de8e | ||
|
|
150ad806fe | ||
|
|
a338508327 | ||
|
|
26907c4172 |
@ -1,25 +1,49 @@
|
|||||||
%global __provides_exclude_from ^%{_qt5_plugindir}/.*\\.so$
|
%global qt_module qtimageformats
|
||||||
|
|
||||||
Name: qt5-qtimageformats
|
Name: qt5-%{qt_module}
|
||||||
Version: 5.11.1
|
Version: 5.15.10
|
||||||
Release: 5
|
Release: 1
|
||||||
Summary: Qtimageformats component of qt5
|
Summary: Qt5 - QtImageFormats component
|
||||||
License: LGPLv2 with exceptions or LGPLv3 with exceptions
|
|
||||||
URL: http://www.qt.io
|
|
||||||
Source0: https://download.qt.io/archive/qt/5.11/5.11.1/submodules/qtimageformats-everywhere-src-5.11.1.tar.xz
|
|
||||||
|
|
||||||
BuildRequires: qt5-qtbase-devel >= %{version} libmng-devel libtiff-devel libwebp-devel
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||||
Requires: %{_qt5} = %{_qt5_version}
|
Url: http://www.qt.io
|
||||||
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
||||||
|
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-opensource-src-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: qt5-qtbase-devel >= %{version}
|
||||||
|
BuildRequires: qt5-qtbase-private-devel
|
||||||
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
||||||
|
|
||||||
|
BuildRequires: libmng-devel
|
||||||
|
BuildRequires: libtiff-devel
|
||||||
|
#BuildRequires: jasper-devel
|
||||||
|
BuildRequires: libwebp-devel >= 0.4.4
|
||||||
|
|
||||||
|
# prior -devel subpkg contained only runtime cmake bits
|
||||||
|
Obsoletes: qt5-qtimageformats-devel < 5.4.0
|
||||||
Provides: qt5-qtimageformats-devel = %{version}-%{release}
|
Provides: qt5-qtimageformats-devel = %{version}-%{release}
|
||||||
|
|
||||||
|
# filter plugin provides
|
||||||
|
%global __provides_exclude_from ^%{_qt5_plugindir}/.*\\.so$
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The core Qt Gui library by default supports reading and writing image files of the most common file formats:
|
The core Qt Gui library by default supports reading and writing image
|
||||||
PNG, JPEG, BMP, GIF and a few more, ref. Reading and Writing Image Files. The Qt Image Formats add-on module
|
files of the most common file formats: PNG, JPEG, BMP, GIF and a few more,
|
||||||
provides optional support for other image file formats.
|
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.
|
||||||
|
|
||||||
|
%package examples
|
||||||
|
Summary: Programming examples for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
%description examples
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n qtimageformats-everywhere-src-%{version}
|
%autosetup -n qtimageformats-everywhere-src-%{version} -p1
|
||||||
|
rm -rv src/3rdparty
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{qmake_qt5}
|
%{qmake_qt5}
|
||||||
@ -29,10 +53,29 @@ provides optional support for other image file formats.
|
|||||||
make install INSTALL_ROOT=%{buildroot}
|
make install INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.* LGPL_EXCEPTION.txt
|
%license LICENSE.GPL*
|
||||||
%{_qt5_plugindir}/*/*.so
|
%license LICENSE.LGPL*
|
||||||
|
%{_qt5_plugindir}/imageformats/libqmng.so
|
||||||
|
%{_qt5_plugindir}/imageformats/libqtga.so
|
||||||
|
%{_qt5_plugindir}/imageformats/libqtiff.so
|
||||||
|
%{_qt5_plugindir}/imageformats/libqwbmp.so
|
||||||
|
%{_qt5_plugindir}/imageformats/libqicns.so
|
||||||
|
#%{_qt5_plugindir}/imageformats/libqjp2.so
|
||||||
|
%{_qt5_plugindir}/imageformats/libqwebp.so
|
||||||
%{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_*Plugin.cmake
|
%{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_*Plugin.cmake
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 21 2023 huayadong <huayadong@kylinos.cn> - 5.15.10-1
|
||||||
|
- update to version 5.15.10-1
|
||||||
|
|
||||||
|
* Wed Oct 13 2021 peijiankang <peijiankang@kylinos.cn> - 5.15.2-1
|
||||||
|
- update to upstream version 5.15.2
|
||||||
|
|
||||||
|
* Thu Mar 18 2021 maminjie <maminjie1@huawei.com> - 5.11.1-7
|
||||||
|
- Fix syntax error when macro is not defined
|
||||||
|
|
||||||
|
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-6
|
||||||
|
- Fix Source0
|
||||||
|
|
||||||
* Fri Feb 14 2020 lingsheng <lingsheng@huawei.com> - 5.11.1-5
|
* Fri Feb 14 2020 lingsheng <lingsheng@huawei.com> - 5.11.1-5
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
4
qt5-qtimageformats.yaml
Normal file
4
qt5-qtimageformats.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: git
|
||||||
|
src_repo: https://code.qt.io/qt/qtimageformats.git
|
||||||
|
tag_prefix: "^v"
|
||||||
|
separator: "."
|
||||||
BIN
qtimageformats-everywhere-opensource-src-5.15.10.tar.xz
Normal file
BIN
qtimageformats-everywhere-opensource-src-5.15.10.tar.xz
Normal file
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user