1 Star 0 Fork 10

lifengqi/kylin-photo-viewer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
kylin-photo-viewer.spec 3.64 KB
一键复制 编辑 原始数据 按行查看 历史
peijiankang 提交于 2024-06-05 11:42 . mv libpeony-dev to libpeony-devel
Name: kylin-photo-viewer
Version: 1.3.0.3
Release: 2
Summary: kylin-photo-viewer
License: BSL-1.0 and Libpng and zlib and GPL-2.0-or-later
URL: https://github.com/UbuntuKylin/kylin-photo-viewer
Source0: %{name}-%{version}.tar.gz
Patch01: 0001-kylin-photo-viewer-fix-build-error.patch
BuildRequires: qt5-qtbase-devel
BuildRequires: qtchooser
BuildRequires: qt5-qtscript-devel
BuildRequires: qt5-qttools-devel
BuildRequires: opencv
BuildRequires: qt5-qtsvg-devel
BuildRequires: stb-devel
BuildRequires: giflib-devel
BuildRequires: libpng-devel
BuildRequires: freeimage-devel
BuildRequires: qt5-qtx11extras-devel
BuildRequires: qt5-qtquickcontrols2-devel
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: gsettings-qt-devel
BuildRequires: ukui-interface
BuildRequires: glib2-devel
BuildRequires: peony libpeony-devel
BuildRequires: libkysdk-ocr-devel
BuildRequires: libkysdk-qtwidgets-devel
BuildRequires: libkysdk-waylandhelper-devel
BuildRequires: libkysdk-log-devel
BuildRequires: libkysdk-kabase-devel
%description
Photo viewer, support to view, zoom and rotate images of various formats
%prep
%setup -q
%patch01 -p1
%build
export PATH=%{_qt5_bindir}:$PATH
mkdir qmake-build
pushd qmake-build
%{qmake_qt5} ..
%{make_build}
popd
%install
pushd qmake-build
%{make_install} INSTALL_ROOT=%{buildroot}
popd
mkdir -p %{buildroot}/usr/share/kylin-user-guide/data/guide
cp -r %{_builddir}/%{name}-%{version}/data/pictures %{buildroot}/usr/share/kylin-user-guide/data/guide/
%post
glib-compile-schemas /usr/share/glib-2.0/schemas &> /dev/null ||:
%files
%{_bindir}/kylin-photo-viewer
%{_includedir}/kylin_image_codec/kylinimagecodec.h
%{_includedir}/kylin_image_codec/kylinimagecodec_global.h
%{_includedir}/kylin_image_codec/loadmovie.h
%{_includedir}/kylin_image_codec/savemovie.h
%{_includedir}/kylin_image_codec/imageprovider.h
%{_includedir}/kylin_image_codec/imageproviderthumb.h
%{_prefix}/lib/libkylinimagecodec.so
%{_prefix}/lib/libkylinimagecodec.so.1
%{_prefix}/lib/libkylinimagecodec.so.1.0
%{_prefix}/lib/libkylinimagecodec.so.1.0.0
%{_libdir}/cmake/Qt5Gui/Qt5Gui_ApngImagePlugin.cmake
%{_libdir}/qt5/plugins/imageformats/libqapng.so
%{_datadir}/applications/kylin-photo-viewer.desktop
%{_datadir}/glib-2.0/schemas/org.kylin.photo.viewer.gschema.xml
%{_datadir}/glib-2.0/schemas/org.ukui.log4qt.kylin-photo-viewer.gschema.xml
%{_datadir}/kylin-photo-viewer/translations/kylin-photo-viewer_zh_CN.qm
%{_datadir}/kylin-photo-viewer/translations/kylin-photo-viewer_zh_HK.qm
%{_datadir}/kylin-photo-viewer/translations/kylin-photo-viewer_bo_CN.qm
%{_datadir}/kylin-photo-viewer/translations/kylin-photo-viewer_kk.qm
%{_datadir}/kylin-photo-viewer/translations/kylin-photo-viewer_ky.qm
%{_datadir}/kylin-photo-viewer/translations/kylin-photo-viewer_ug.qm
%{_datadir}/pixmaps/kyview_logo.png
%{_datadir}/kylin-user-guide/data/guide/
%changelog
* Wed Jun 05 2024 peijiankang <peijiankang@kylinos.cn> - 1.3.0.3-2
- mv libpeony-dev to libpeony-devel
* Mon Apr 8 2024 houhongxun <houhongxun@kylinos.cn> - 1.3.0.3-1
- upgrade to upstream version 1.3.0.3-ok20.1
* Wed Feb 1 2023 peijiankang <peijiankang@kylinos.cn> - 1.2.0-2
- add build debuginfo and debugsource
* Mon Oct 24 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.0-1
- update upstream version 1.2.0
* Thu Jun 9 2022 peijiankang <peijiankang@kylinos.cn> - 1.0.2-4
- add kylin-user-guide file
* Thu Jun 9 2022 peijiankang <peijiankang@kylinos.cn> - 1.0.2-3
- Fix the version of kylin-photo-viewer
* Thu May 26 2022 peijiankang <peijiankang@kylinos.cn> - 1.0.2-2
- remove {%if 0 and %endif}
* Fri May 20 2022 peijiankang <peijiankang@kylinos.cn> - 1.0.2-1
- Init kylin-photo-viewer package for openEuler
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/no_dancing/kylin-photo-viewer.git
git@gitee.com:no_dancing/kylin-photo-viewer.git
no_dancing
kylin-photo-viewer
kylin-photo-viewer
master

搜索帮助