Update 5.6.28
This commit is contained in:
parent
f1a46dea7c
commit
95295bb90d
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,17 +1,17 @@
|
||||
Name: deepin-editor
|
||||
Version: 5.6.1
|
||||
Release: 4
|
||||
Version: 5.6.28
|
||||
Release: 1
|
||||
Summary: Simple editor for Linux Deepin
|
||||
License: GPLv3
|
||||
URL: https://github.com/linuxdeepin/deepin-editor
|
||||
Source0: %{name}_%{version}.orig.tar.xz
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: cmake3
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: freeimage-devel
|
||||
BuildRequires: cmake(KF5Codecs)
|
||||
BuildRequires: cmake(KF5SyntaxHighlighting)
|
||||
BuildRequires: dtkcore-devel
|
||||
BuildRequires: dtkwidget-devel
|
||||
BuildRequires: pkgconfig(dtkwm)
|
||||
BuildRequires: pkgconfig(libexif)
|
||||
BuildRequires: pkgconfig(xcb-aux)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
@ -23,10 +23,8 @@ 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
|
||||
BuildRequires: cmake(KF5Codecs)
|
||||
BuildRequires: cmake(KF5SyntaxHighlighting)
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
@ -35,12 +33,14 @@ Requires: dde-qt5integration
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
||||
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
|
||||
|
||||
%install
|
||||
%make_install INSTALL_ROOT=%{buildroot}
|
||||
%make_install
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
|
||||
@ -52,10 +52,15 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}/
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||
|
||||
%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
|
||||
- fix compile fail
|
||||
|
||||
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.6.1-3
|
||||
- Package init
|
||||
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user