Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
af54db3c12
!14 [sync] PR-13: update to upstream version 5.15.2
Merge pull request !14 from openeuler-sync-bot/sync-pr13-master-to-openEuler-22.03-LTS-Next
2022-01-21 02:34:55 +00:00
pei-jiankang
22701cae39 update to upstream version 5.15.2
(cherry picked from commit 90fe214c76ecf9097f02b33a954b199f05dfcc85)
2022-01-17 14:58:27 +08:00
openeuler-ci-bot
83fcb04129 !6 Fix syntax error when macro is not defined
From: @maminjie
Reviewed-by: @wang_yue111,@small_leek
Signed-off-by: @small_leek
2021-03-18 14:50:24 +08:00
maminjie
d1a1867093 Fix syntax error when macro is not defined 2021-03-18 09:46:10 +08:00
openeuler-ci-bot
fbbc60de8e !3 Fix source0
From: @kkkl12
Reviewed-by: @yanzh_h
Signed-off-by: @yanzh_h
2020-09-17 10:11:41 +08:00
kkkl12
150ad806fe Fix Source0 2020-09-14 11:32:37 +08:00
openeuler-ci-bot
a338508327 !2 add yaml file
Merge pull request !2 from sugarfillet/master
2020-05-21 10:37:29 +08:00
sugarfillet
26907c4172 add yaml file 2020-05-08 15:58:04 +08:00
openeuler-ci-bot
e88585a934 !1 package init
Merge pull request !1 from ultra_planet/new
2020-02-14 17:49:30 +08:00
ultra_planet
954b114be4 package init 2020-02-14 12:01:02 +08:00
3 changed files with 57 additions and 0 deletions

53
qt5-qtimageformats.spec Normal file
View File

@ -0,0 +1,53 @@
%global __provides_exclude_from ^%{_qt5_plugindir}/.*\\.so$
Name: qt5-qtimageformats
Version: 5.15.2
Release: 1
Summary: Qtimageformats component of qt5
License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://www.qt.io
%global majmin %(echo %{version} | cut -d. -f1-2)
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/qtimageformats-everywhere-src-%{version}.tar.xz
BuildRequires: make
BuildRequires: qt5-qtbase-devel >= %{version} libmng-devel libtiff-devel libwebp-devel
%{?_qt5:Requires: %{_qt5} = %{_qt5_version}}
BuildRequires: qt5-qtbase-private-devel
#BuildRequires: jasper-devel
Obsoletes: qt5-qtimageformats-devel < 5.4.0
Provides: qt5-qtimageformats-devel = %{version}-%{release}
%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.
%prep
%autosetup -n qtimageformats-everywhere-src-%{version} -p1
rm -rv src/3rdparty
%build
%{qmake_qt5}
%make_build
%install
make install INSTALL_ROOT=%{buildroot}
%files
%license LICENSE.GPL* LICENSE.LGPL*
%{_qt5_plugindir}/*/*.so
%{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_*Plugin.cmake
%changelog
* 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
- Package init

4
qt5-qtimageformats.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: git
src_repo: https://code.qt.io/qt/qtimageformats.git
tag_prefix: "^v"
separator: "."

Binary file not shown.