commit
13094f3095
77
deepin-editor.spec
Normal file
77
deepin-editor.spec
Normal file
@ -0,0 +1,77 @@
|
||||
Name: deepin-editor
|
||||
Version: 5.6.1
|
||||
Release: 3
|
||||
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)
|
||||
BuildRequires: pkgconfig(dtkwidget) >= 5.1
|
||||
#BuildRequires: pkgconfig(dtkwm)
|
||||
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
|
||||
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
||||
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
|
||||
* Wed Mar 13 2019 Robin Lee <cheeselee@fedoraproject.org> - 1.2.6.3-3
|
||||
- Requires private Qt symbols
|
||||
|
||||
* Thu Feb 28 2019 Robin Lee <cheeselee@fedoraproject.org> - 1.2.6.3-2
|
||||
- Fix translations
|
||||
|
||||
* Sat Feb 9 2019 mosquito <sensor.wen@gmail.com> - 1.2.6.3-1
|
||||
- Update to 1.2.6.3
|
||||
|
||||
* 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
|
||||
BIN
deepin-editor_5.6.1.orig.tar.xz
Normal file
BIN
deepin-editor_5.6.1.orig.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user