80 lines
2.2 KiB
RPMSpec
80 lines
2.2 KiB
RPMSpec
%global appname org.gnome.Characters
|
|
|
|
%global gjs_version 1.50
|
|
%global gtk4_version 4.6
|
|
%global libadwaita_version 1.2
|
|
|
|
Name: gnome-characters
|
|
Version: 44.0
|
|
Release: 1
|
|
Summary: Character map application for GNOME
|
|
License: BSD and GPLv2+
|
|
URL: https://wiki.gnome.org/Design/Apps/CharacterMap
|
|
Source0: https://download.gnome.org/sources/%{name}/44/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: gettext
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: libappstream-glib
|
|
BuildRequires: libunistring-devel
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig(gjs-1.0) >= %{gjs_version}
|
|
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
|
|
BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version}
|
|
|
|
Requires: gjs >= %{gjs_version}
|
|
Requires: gnome-desktop4%{_isa}
|
|
Requires: gtk4%{_isa} >= %{gtk4_version}
|
|
Requires: libadwaita%{?_isa} >= %{libadwaita_version}
|
|
|
|
%description
|
|
Characters is a simple utility application to find and insert unusual
|
|
characters.
|
|
|
|
%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
|
|
* Fri Nov 24 2023 lwg <liweiganga@uniontech.com> - 44.0-1
|
|
- update to version 44.0
|
|
|
|
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.1-1
|
|
- Update to 43.1
|
|
|
|
* Mon Jun 20 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.0-2
|
|
- gnome-characters.yaml
|
|
|
|
* 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
|