File chewing-editor.spec of Package chewing-editor
#
# spec file for package editor
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: chewing-editor
Version: 0.1.2
Release: 0
Summary: Cross platform chewing user phrase editor
License: GPL-2.0-or-later
URL: https://github.com/chewing/chewing-editor
Source0: %{url}/releases/download/%{version}/chewing-editor-%{version}-Source.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: pkgconfig(chewing) >= 0.4.0
BuildRequires: pkgconfig(gtest) >= 1.7.0
%description
chewing-editor is a cross platform chewing user phrase editor. It provides a
easy way to manage user phrase. With it, user can customize their user phrase
to increase input performance.
%prep
%setup -q -n chewing-editor-%{version}-Source
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%license COPYING
%doc README.md
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/scalable/apps
%dir %{_datadir}/icons/hicolor/256x256
%dir %{_datadir}/icons/hicolor/256x256/apps
%{_bindir}/chewing-editor
%{_datadir}/applications/chewing-editor.desktop
%{_datadir}/icons/hicolor/scalable/apps/chewing-editor.svg
%{_datadir}/icons/hicolor/256x256/apps/chewing-editor.png
%changelog