2020-07-14 10:34:34 +08:00
|
|
|
Name: deepin-editor
|
|
|
|
|
Version: 5.6.1
|
2020-08-28 10:41:32 +08:00
|
|
|
Release: 4
|
2020-07-14 10:34:34 +08:00
|
|
|
Summary: Simple editor for Linux Deepin
|
|
|
|
|
License: GPLv3
|
|
|
|
|
URL: https://github.com/linuxdeepin/deepin-editor
|
|
|
|
|
Source0: %{name}_%{version}.orig.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: freeimage-devel
|
|
|
|
|
BuildRequires: cmake(KF5Codecs)
|
|
|
|
|
BuildRequires: cmake(KF5SyntaxHighlighting)
|
2020-08-28 10:41:32 +08:00
|
|
|
BuildRequires: dtkcore-devel
|
|
|
|
|
BuildRequires: dtkwidget-devel
|
2020-07-14 10:34:34 +08:00
|
|
|
BuildRequires: pkgconfig(libexif)
|
|
|
|
|
BuildRequires: pkgconfig(xcb-aux)
|
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
|
|
|
|
BuildRequires: pkgconfig(polkit-qt5-1)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
|
|
|
BuildRequires: qt5-linguist
|
|
|
|
|
BuildRequires: qt5-qtbase-private-devel
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
|
|
Requires: deepin-notifications
|
|
|
|
|
Requires: dde-qt5integration
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export PATH=%{_qt5_bindir}:$PATH
|
|
|
|
|
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_TYPE=Release .
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_bindir}/dedit
|
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
%{_datadir}/%{name}/
|
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-08-28 10:41:32 +08:00
|
|
|
* Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.6.1-4
|
|
|
|
|
- fix compile fail
|
|
|
|
|
|
2020-07-30 15:58:55 +08:00
|
|
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.6.1-3
|
|
|
|
|
- Package init
|