Compare commits
11 Commits
c79e288ca6
...
88cd454368
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
88cd454368 | ||
|
|
0ba7412eff | ||
|
|
64a6da2e84 | ||
|
|
3a03d2eada | ||
|
|
304fd058cd | ||
|
|
06f4a53248 | ||
|
|
f1a46dea7c | ||
|
|
d87e08de56 | ||
|
|
369034ffb0 | ||
|
|
f78762ec50 | ||
|
|
13094f3095 |
BIN
deepin-editor-5.9.23.tar.gz
Normal file
BIN
deepin-editor-5.9.23.tar.gz
Normal file
Binary file not shown.
@ -1,32 +1,39 @@
|
|||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: deepin-editor
|
Name: deepin-editor
|
||||||
Version: 5.6.1
|
Version: 5.9.23
|
||||||
Release: 3
|
Release: 3
|
||||||
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: cmake
|
||||||
BuildRequires: freeimage-devel
|
|
||||||
BuildRequires: cmake(KF5Codecs)
|
BuildRequires: qt5-devel
|
||||||
BuildRequires: cmake(KF5SyntaxHighlighting)
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkgconfig(dtkwidget) >= 5.1
|
BuildRequires: freeimage-devel
|
||||||
#BuildRequires: pkgconfig(dtkwm)
|
BuildRequires: pkgconfig(dtkwidget)
|
||||||
BuildRequires: pkgconfig(libexif)
|
BuildRequires: pkgconfig(dtkcore)
|
||||||
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: pkgconfig(dframeworkdbus)
|
||||||
BuildRequires: cmake
|
BuildRequires: qt5-linguist
|
||||||
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
BuildRequires: qt5-qtbase-private-devel
|
||||||
Requires: deepin-notifications
|
BuildRequires: kf5-kcodecs-devel
|
||||||
Requires: dde-qt5integration
|
BuildRequires: kf5-syntax-highlighting-devel
|
||||||
|
BuildRequires: gtest-devel
|
||||||
|
BuildRequires: gmock-devel
|
||||||
|
BuildRequires: uchardet-devel
|
||||||
|
BuildRequires: enca-devel
|
||||||
|
BuildRequires: dtkcommon-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
@ -37,41 +44,35 @@ Requires: dde-qt5integration
|
|||||||
%build
|
%build
|
||||||
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
# 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 .
|
# cmake_minimum_required version is too high
|
||||||
|
sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt")
|
||||||
|
mkdir build && pushd build
|
||||||
|
%cmake -DCMAKE_BUILD_TYPE=Release -DAPP_VERSION=%{version} -DVERSION=%{version} ../
|
||||||
%make_build
|
%make_build
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install INSTALL_ROOT=%{buildroot}
|
%make_install -C build INSTALL_ROOT="%buildroot"
|
||||||
|
|
||||||
%check
|
# %check
|
||||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
|
# desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/dedit
|
# %{_bindir}/dedit
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}/
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||||
|
%{_datadir}/deepin-manual/manual-assets/application/deepin-editor/editor/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Mar 13 2019 Robin Lee <cheeselee@fedoraproject.org> - 1.2.6.3-3
|
* Fri Nov 24 2023 haomimi <haomimi@uniontech.com> - 5.9.23-3
|
||||||
- Requires private Qt symbols
|
- Remove unnecessary macro decisions
|
||||||
|
|
||||||
* Thu Feb 28 2019 Robin Lee <cheeselee@fedoraproject.org> - 1.2.6.3-2
|
* Fri Nov 17 2023 hanshuang <hanshuang@uniontech.com> - 5.9.23-2
|
||||||
- Fix translations
|
- modify version info
|
||||||
|
|
||||||
* Sat Feb 9 2019 mosquito <sensor.wen@gmail.com> - 1.2.6.3-1
|
* Mon Jun 13 2022 uoser <uoser@uniontech.com> - 5.9.23-1.01
|
||||||
- Update to 1.2.6.3
|
- update to 5.9.23-1.01
|
||||||
|
|
||||||
* Thu Jan 31 2019 mosquito <sensor.wen@gmail.com> - 1.2.6.2-1
|
|
||||||
- Update to 1.2.6.2
|
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Nov 9 2018 mosquito <sensor.wen@gmail.com> - 1.1.1-1
|
|
||||||
- Update to 1.1.1
|
|
||||||
|
|
||||||
* Mon Jul 23 2018 mosquito <sensor.wen@gmail.com> - 0.0.5-1
|
|
||||||
- Initial package build
|
|
||||||
|
|||||||
4
deepin-editor.yaml
Normal file
4
deepin-editor.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: linuxdeepin/deepin-editor
|
||||||
|
tag_prefix: ^v
|
||||||
|
seperator: .
|
||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user