67 lines
2.1 KiB
RPMSpec
67 lines
2.1 KiB
RPMSpec
%global appname org.gnome.Characters
|
|
|
|
%global gjs_version 1.50
|
|
%global gtk4_version 4.6
|
|
%global libadwaita_version 1.0.0
|
|
|
|
Name: gnome-characters
|
|
Version: 42.0
|
|
Release: 1
|
|
Summary: A simple utility application to find and insert unusual characters
|
|
License: BSD and GPLv2+
|
|
URL: https://wiki.gnome.org/Design/Apps/CharacterMap
|
|
Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: desktop-file-utils gettext gobject-introspection-devel
|
|
BuildRequires: libappstream-glib libunistring-devel meson
|
|
BuildRequires: pkgconfig(gjs-1.0) >= %{gjs_version}
|
|
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
|
|
BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version}
|
|
|
|
Requires: pkgconfig(gnome-desktop-4) >= 42.0
|
|
Requires: gjs >= %{gjs_version}
|
|
Requires: gtk4%{_isa} >= %{gtk4_version}
|
|
Requires: libadwaita%{?_isa} >= %{libadwaita_version}
|
|
|
|
%description
|
|
Characters is a simple utility application to find and insert unusual characters. It allows
|
|
you to quickly find the character you are looking for by searching for keywords.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
%find_lang %{appname}
|
|
|
|
%check
|
|
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/%{appname}.desktop
|
|
|
|
%files -f %{appname}.lang
|
|
%doc NEWS README.md
|
|
%license COPYING COPYINGv2
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{appname}.desktop
|
|
%{_datadir}/dbus-1/services/%{appname}.service
|
|
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
|
%{_datadir}/%{appname}
|
|
%{_datadir}/gnome-shell/search-providers/%{appname}.search-provider.ini
|
|
%{_datadir}/icons/hicolor/scalable/apps/%{appname}.svg
|
|
%{_datadir}/icons/hicolor/symbolic/apps/%{appname}-symbolic.svg
|
|
%{_datadir}/metainfo/%{appname}.appdata.xml
|
|
%{_libdir}/%{appname}
|
|
|
|
%changelog
|
|
* Tue Apr 19 2022 dillon chen <dillon.chen@gmail.com> - 42.0-1
|
|
- Update to 42.0
|
|
|
|
* Wed Jun 16 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.34.0-1
|
|
- Upgrade to 3.34.0
|
|
|
|
* Wed Dec 11 2019 zhouyihang <zhouyihang1@huawei.com> - 3.30.0-4
|
|
- Package init
|