!4 更新dde编辑器至5.6.28版本
From: @weidongkl Reviewed-by: @yeqinglong01 Signed-off-by: @yeqinglong01
This commit is contained in:
commit
24e803dcc7
BIN
deepin-editor-5.6.28.tar.gz
Normal file
BIN
deepin-editor-5.6.28.tar.gz
Normal file
Binary file not shown.
@ -1,32 +1,30 @@
|
|||||||
Name: deepin-editor
|
Name: deepin-editor
|
||||||
Version: 5.6.1
|
Version: 5.6.28
|
||||||
Release: 4
|
Release: 1
|
||||||
Summary: Simple editor for Linux Deepin
|
Summary: Simple editor for Linux Deepin
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: https://github.com/linuxdeepin/deepin-editor
|
URL: https://github.com/linuxdeepin/deepin-editor
|
||||||
Source0: %{name}_%{version}.orig.tar.xz
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: cmake3
|
||||||
BuildRequires: freeimage-devel
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: cmake(KF5Codecs)
|
BuildRequires: freeimage-devel
|
||||||
BuildRequires: cmake(KF5SyntaxHighlighting)
|
|
||||||
BuildRequires: dtkcore-devel
|
BuildRequires: dtkcore-devel
|
||||||
BuildRequires: dtkwidget-devel
|
BuildRequires: dtkwidget-devel
|
||||||
BuildRequires: pkgconfig(libexif)
|
BuildRequires: pkgconfig(dtkwm)
|
||||||
BuildRequires: pkgconfig(xcb-aux)
|
BuildRequires: pkgconfig(libexif)
|
||||||
BuildRequires: pkgconfig(xtst)
|
BuildRequires: pkgconfig(xcb-aux)
|
||||||
BuildRequires: pkgconfig(polkit-qt5-1)
|
BuildRequires: pkgconfig(xtst)
|
||||||
BuildRequires: pkgconfig(Qt5)
|
BuildRequires: pkgconfig(polkit-qt5-1)
|
||||||
BuildRequires: pkgconfig(Qt5DBus)
|
BuildRequires: pkgconfig(Qt5)
|
||||||
BuildRequires: pkgconfig(Qt5Gui)
|
BuildRequires: pkgconfig(Qt5DBus)
|
||||||
BuildRequires: pkgconfig(Qt5Svg)
|
BuildRequires: pkgconfig(Qt5Gui)
|
||||||
BuildRequires: pkgconfig(Qt5X11Extras)
|
BuildRequires: pkgconfig(Qt5Svg)
|
||||||
BuildRequires: qt5-linguist
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
||||||
BuildRequires: qt5-qtbase-private-devel
|
BuildRequires: qt5-linguist
|
||||||
BuildRequires: cmake
|
BuildRequires: qt5-qtbase-private-devel
|
||||||
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
BuildRequires: cmake(KF5Codecs)
|
||||||
Requires: deepin-notifications
|
BuildRequires: cmake(KF5SyntaxHighlighting)
|
||||||
Requires: dde-qt5integration
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
@ -35,12 +33,14 @@ Requires: dde-qt5integration
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
||||||
export PATH=%{_qt5_bindir}:$PATH
|
export PATH=%{_qt5_bindir}:$PATH
|
||||||
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_TYPE=Release .
|
sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt")
|
||||||
|
%cmake . -DVERSION=%{version}
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install INSTALL_ROOT=%{buildroot}
|
%make_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
|
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
|
||||||
@ -52,10 +52,15 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
|
|||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}/
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 12 2021 weidong <weidong@uniontech.com> - 5.6.28-1
|
||||||
|
- Update 5.6.28
|
||||||
|
|
||||||
* Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.6.1-4
|
* Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.6.1-4
|
||||||
- fix compile fail
|
- fix compile fail
|
||||||
|
|
||||||
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.6.1-3
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.6.1-3
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user