Sisyphus repository
Last update: 21 september 2018 | SRPMs: 18653 | Visits: 12242275
en ru br
ALT Linux repos
S:3.29.91-alt1

Group :: Text tools
RPM: gnome-characters

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable snapshot

%define _name org.gnome.Characters
%define ver_major 3.29
%define _libexecdir %_prefix/libexec
%def_without included_libunistring

Name: gnome-characters
Version: %ver_major.91
Release: alt1

Summary: Character map application for GNOME
Group: Text tools
License: BSD and GPLv2+
Url: https://wiki.gnome.org/Design/Apps/CharacterMap

%if_disabled snapshot
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz
%else
#VCS: https://gitlab.gnome.org/GNOME/gnome-characters
Source: %name-%version.tar
%endif

%set_typelibdir %_libdir/%_name/girepository-1.0

%define gjs_ver 1.44.0
%define unistring_ver 0.9.5

Requires: libgjs >= %gjs_ver
# find ./ -name "*.js" |/usr/lib/rpm/gir-js.req |sort|uniq|sed -e 's/^/Requires: /'
# src/characterList.js:# const {Gc, Gdk, GLib, Gio,GObject,Gtk, Pango, PangoCairo} = imports.gi;
# src/categoryList.js:const {Gc, GLib, GObject, Gtk, GnomeDesktop} = imports.gi;
Requires: typelib(Gc)
Requires: typelib(Gdk)
Requires: typelib(Gio)
Requires: typelib(GLib)
Requires: typelib(GnomeDesktop)
Requires: typelib(GObject)
Requires: typelib(Gtk)
Requires: typelib(IBus)
Requires: typelib(Pango)
Requires: typelib(PangoCairo)

BuildRequires(pre): meson rpm-build-gir
BuildRequires: libappstream-glib-devel
BuildRequires: libgtk+3-devel libgjs-devel >= %gjs_ver libdbus-devel
BuildRequires: gobject-introspection-devel libgtk+3-gir-devel
%{?_without_included_libunistring:BuildRequires: libunistring-devel >= %unistring_ver}
BuildRequires: gperf

%description
Characters is a simple utility application to find and insert unusual
characters.

%prep
%setup

%build
%meson
%meson_build

%install
%meson_install

%find_lang %_name

%files -f %_name.lang
%_bindir/%name
%_libdir/%_name/
%_datadir/%_name/
%_desktopdir/%_name.desktop
%_datadir/dbus-1/services/%_name.service
%_datadir/glib-2.0/schemas/%_name.gschema.xml
%_datadir/dbus-1/services/%_name.BackgroundService.service
%_datadir/gnome-shell/search-providers/%_name.search-provider.ini
%_iconsdir/*/*/*/*.svg
%_iconsdir/*/*/*/*.png
%_datadir/metainfo/%_name.appdata.xml
%doc NEWS COPYING
#%doc README


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin