代码拉取完成,页面将自动刷新
%define _name image-editor
Name: deepin-image-editor
Version: 1.0.23
Release: 1
Summary: Libraries of Deepin Image editor
License: GPL-3.0-or-later
Group: System/Libraries
URL: https://github.com/linuxdeepin/image-editor
Source0: %{url}/archive/%{version}/%{_name}-%{version}.tar.gz
BuildRequires: deepin-gettext-tools
BuildRequires: dtkcore >= 5.0.0
BuildRequires: fdupes
BuildRequires: freeimage-devel
BuildRequires: hicolor-icon-theme
BuildRequires: qt5-linguist
BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: opencv
BuildRequires: dtkcore-devel
BuildRequires: dtkwidget-devel
BuildRequires: dtkgui-devel
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(libmediainfo)
BuildRequires: libtiff-devel
BuildRequires: desktop-file-utils
BuildRequires: ffmpegthumbnailer-devel
BuildRequires: cmake
BuildRequires: make
%description
Libraries of Deepin Image editor
%package -n libimageviewer
Summary: The library of Deepin Image editor
Requires: %{name}
Obsoletes: deepin-image-viewer
%description -n libimageviewer
This package contains the libraries for Deepin Image editor.
%package -n libimagevisualresult
Summary: The library of Deepin Image editor
Requires: %{name}
Obsoletes: deepin-image-viewer
%description -n libimagevisualresult
This package contains the libraries for Deepin Image editor.
%package -n libimageviewer-devel
Summary: The library of Deepin Image editor
Requires: libimageviewer
Requires: %{name}
Provides: pkgconfig(libimageviewer)
Obsoletes: deepin-image-viewer
%description -n libimageviewer-devel
The libimageviewer-devel package contains the header files and developer docs
for Deepin Image editor.
%package -n libimagevisualresult-devel
Summary: The library of Deepin Image editor
Requires: libimagevisualresult
Requires: %{name}
Obsoletes: deepin-image-viewer
%description -n libimagevisualresult-devel
The libimagevisualresult-devel package contains the header files and developer
docs for Deepin Image editor.
%prep
%autosetup -p1 -n %{_name}-%{version}
%build
%cmake -DCMAKE_BUILD_TYPE=Release
%make_build
%install
%make_install
%find_lang libimageviewer --with-qt
%fdupes %{buildroot}
%post -n libimageviewer -p /sbin/ldconfig
%postun -n libimageviewer -p /sbin/ldconfig
%post -n libimagevisualresult -p /sbin/ldconfig
%postun -n libimagevisualresult -p /sbin/ldconfig
%files
%doc README.md
%license LICENSE.txt
%files -n libimageviewer
%{_datadir}/libimageviewer/translations
%{_libdir}/libimageviewer.so.*
%files -n libimagevisualresult
%{_libdir}/libimagevisualresult.so.*
%{_datadir}/libimagevisualresult/filter_cube/*.CUBE
%{_datadir}/libimagevisualresult/filter_cube/*.dat
%files -n libimageviewer-devel
%doc README.md
%license LICENSE.txt
%{_includedir}/libimageviewer
%{_libdir}/libimageviewer.so
%{_libdir}/pkgconfig/libimageviewer.pc
%files -n libimagevisualresult-devel
%doc README.md
%license LICENSE.txt
%{_includedir}/libimagevisualresult
%{_libdir}/libimagevisualresult.so
%{_libdir}/pkgconfig/libimagevisualresult.pc
%changelog
* Wed Aug 02 2023 leeffo <liweiganga@uniontech.com> - 1.0.23-1
- upgrade to version 1.0.23
* Fri Nov 18 2022 liweiganga <liweiganga@uniontech.com> - 1.0.21-1
- init package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。