2007-01-08 17:18:49 +00:00
|
|
|
#
|
2011-02-14 00:12:26 +00:00
|
|
|
# spec file for package gucharmap
|
2007-01-08 17:18:49 +00:00
|
|
|
#
|
2024-01-04 17:11:55 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-08 17:18:49 +00:00
|
|
|
#
|
2008-08-13 23:33:51 +00:00
|
|
|
# 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.
|
|
|
|
|
2019-01-09 13:30:17 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-08 17:18:49 +00:00
|
|
|
#
|
|
|
|
|
2012-03-28 06:21:45 +00:00
|
|
|
|
2011-04-26 06:11:58 +00:00
|
|
|
%define api_version 2.90
|
|
|
|
%define so_api _2_90
|
|
|
|
%define so_gucharmap 7
|
|
|
|
%define pc_api 2.90
|
2007-01-08 17:18:49 +00:00
|
|
|
Name: gucharmap
|
2024-05-14 13:56:51 +00:00
|
|
|
Version: 15.1.4
|
2012-02-08 10:58:30 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A Featureful Unicode Character Map
|
2018-03-05 13:56:18 +00:00
|
|
|
License: GPL-3.0-or-later AND LGPL-2.1-or-later
|
2012-02-08 10:58:30 +00:00
|
|
|
Group: System/GUI/GNOME
|
2018-03-22 09:40:17 +00:00
|
|
|
URL: https://wiki.gnome.org/Apps/Gucharmap
|
2023-10-05 19:07:59 +00:00
|
|
|
Source0: %{name}-%{version}.tar.zst
|
2022-02-03 21:53:29 +00:00
|
|
|
|
2014-08-23 11:53:27 +00:00
|
|
|
BuildRequires: appdata-tools
|
2009-02-17 17:02:48 +00:00
|
|
|
BuildRequires: fdupes
|
2017-01-23 16:12:56 +00:00
|
|
|
BuildRequires: gettext
|
2018-03-05 13:56:18 +00:00
|
|
|
BuildRequires: gobject-introspection-devel >= 0.9.0
|
2011-12-21 04:47:28 +00:00
|
|
|
BuildRequires: gtk-doc
|
2012-09-07 15:27:15 +00:00
|
|
|
BuildRequires: gtk3-devel >= 3.4.0
|
2011-12-21 04:47:28 +00:00
|
|
|
BuildRequires: intltool
|
2020-03-28 12:10:17 +00:00
|
|
|
BuildRequires: meson >= 0.50.0
|
2018-03-05 13:56:18 +00:00
|
|
|
BuildRequires: pkgconfig
|
2023-10-05 19:07:59 +00:00
|
|
|
BuildRequires: unicode-ucd >= 15.1.0
|
2017-01-23 16:12:56 +00:00
|
|
|
BuildRequires: unicode-ucd-unihan
|
|
|
|
BuildRequires: unzip
|
2008-09-05 00:38:22 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2020-03-28 12:10:17 +00:00
|
|
|
BuildRequires: vala
|
2012-09-07 15:27:15 +00:00
|
|
|
BuildRequires: yelp-tools
|
2018-03-13 08:23:54 +00:00
|
|
|
BuildRequires: pkgconfig(freetype2)
|
2012-09-07 15:27:15 +00:00
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.32.0
|
2018-03-05 13:56:18 +00:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
|
|
|
|
Recommends: %{name}-doc
|
2007-01-08 17:18:49 +00:00
|
|
|
|
|
|
|
%description
|
2010-12-30 00:12:49 +00:00
|
|
|
Gucharmap is a featureful unicode character map.
|
2007-01-08 17:18:49 +00:00
|
|
|
|
2011-04-26 06:11:58 +00:00
|
|
|
%package -n libgucharmap%{so_api}-%{so_gucharmap}
|
2010-12-30 00:12:49 +00:00
|
|
|
Summary: A Featureful Unicode Character Map -- Library
|
|
|
|
Group: System/GUI/GNOME
|
|
|
|
|
2011-04-26 06:11:58 +00:00
|
|
|
%description -n libgucharmap%{so_api}-%{so_gucharmap}
|
2010-12-30 00:12:49 +00:00
|
|
|
Gucharmap is a featureful unicode character map.
|
|
|
|
|
|
|
|
This package contains a library to use the character map.
|
|
|
|
|
2011-12-12 15:58:38 +00:00
|
|
|
%package -n typelib-1_0-Gucharmap-2_90
|
2011-12-21 04:47:28 +00:00
|
|
|
Summary: A Featureful Unicode Character Map -- Introspection bindings
|
2011-12-12 15:58:38 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Gucharmap-2_90
|
|
|
|
Gucharmap is a featureful unicode character map.
|
|
|
|
|
2011-12-21 04:47:28 +00:00
|
|
|
This package provides the GObject Introspection bindings for the
|
|
|
|
gucharmap library.
|
2011-12-12 15:58:38 +00:00
|
|
|
|
2007-01-08 17:18:49 +00:00
|
|
|
%package devel
|
2010-12-30 00:12:49 +00:00
|
|
|
Summary: A Featureful Unicode Character Map -- Development Files
|
2008-02-29 23:06:04 +00:00
|
|
|
Group: Development/Libraries/GNOME
|
2011-04-26 06:11:58 +00:00
|
|
|
Requires: libgucharmap%{so_api}-%{so_gucharmap} = %{version}
|
2011-12-12 15:58:38 +00:00
|
|
|
Requires: typelib-1_0-Gucharmap-2_90 = %{version}
|
2007-01-08 17:18:49 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
2007-08-09 17:31:23 +00:00
|
|
|
%lang_package
|
2018-03-05 13:56:18 +00:00
|
|
|
|
2007-01-08 17:18:49 +00:00
|
|
|
%prep
|
2022-02-03 21:53:29 +00:00
|
|
|
%autosetup -p1
|
2007-01-08 17:18:49 +00:00
|
|
|
|
|
|
|
%build
|
2018-03-14 18:36:26 +00:00
|
|
|
export LIBS="-ldl"
|
2020-03-28 12:10:17 +00:00
|
|
|
%meson \
|
|
|
|
-Ducd_path=%{_datadir}/unicode/ucd \
|
|
|
|
%{nil}
|
|
|
|
%meson_build
|
2007-01-08 17:18:49 +00:00
|
|
|
|
|
|
|
%install
|
2020-03-28 12:10:17 +00:00
|
|
|
%meson_install
|
2018-03-05 13:56:18 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2011-02-13 21:12:17 +00:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2009-02-07 00:52:31 +00:00
|
|
|
# We need X-SuSE-Editor to avoid an error for the categories check. We don't
|
|
|
|
# want TextEditor, since that's too wide.
|
|
|
|
%suse_update_desktop_file -N "GNOME Character Map" -G "Character Map" %{name} X-SuSE-Editor
|
2018-03-05 13:56:18 +00:00
|
|
|
%fdupes -s %{buildroot}%{_datadir}
|
2007-01-08 17:18:49 +00:00
|
|
|
|
2011-04-26 06:11:58 +00:00
|
|
|
%post -n libgucharmap%{so_api}-%{so_gucharmap} -p /sbin/ldconfig
|
|
|
|
%postun -n libgucharmap%{so_api}-%{so_gucharmap} -p /sbin/ldconfig
|
2007-12-21 09:24:33 +00:00
|
|
|
|
2012-02-08 10:58:30 +00:00
|
|
|
%files
|
2020-03-28 12:10:17 +00:00
|
|
|
%license COPYING COPYING.GFDL COPYING.UNICODE
|
2021-09-21 07:48:45 +00:00
|
|
|
%doc README.md
|
2010-12-30 00:12:49 +00:00
|
|
|
%{_bindir}/gucharmap
|
|
|
|
%{_datadir}/applications/gucharmap.desktop
|
2012-02-08 10:58:30 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Charmap.gschema.xml
|
2012-09-07 15:27:15 +00:00
|
|
|
%doc %{_datadir}/help/C/gucharmap/
|
2017-03-21 12:55:26 +00:00
|
|
|
%dir %{_datadir}/metainfo
|
2020-03-28 12:10:17 +00:00
|
|
|
%{_datadir}/metainfo/gucharmap.metainfo.xml
|
2010-12-30 00:12:49 +00:00
|
|
|
|
2011-04-26 06:11:58 +00:00
|
|
|
%files -n libgucharmap%{so_api}-%{so_gucharmap}
|
|
|
|
%{_libdir}/libgucharmap%{so_api}.so.%{so_gucharmap}*
|
2011-12-12 15:58:38 +00:00
|
|
|
|
|
|
|
%files -n typelib-1_0-Gucharmap-2_90
|
|
|
|
%{_libdir}/girepository-1.0/Gucharmap-2.90.typelib
|
2007-01-08 17:18:49 +00:00
|
|
|
|
2007-08-09 17:31:23 +00:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-01-08 17:18:49 +00:00
|
|
|
%files devel
|
2011-04-26 06:11:58 +00:00
|
|
|
%{_includedir}/gucharmap-%{pc_api}/
|
|
|
|
%{_libdir}/libgucharmap%{so_api}.so
|
|
|
|
%{_libdir}/pkgconfig/gucharmap-%{pc_api}.pc
|
|
|
|
%{_datadir}/gir-1.0/Gucharmap-%{pc_api}.gir
|
2020-03-28 12:10:17 +00:00
|
|
|
%dir %{_datadir}/vala/vapi
|
|
|
|
%{_datadir}/vala/vapi/gucharmap-2.90.deps
|
|
|
|
%{_datadir}/vala/vapi/gucharmap-2.90.vapi
|
2011-04-26 06:11:58 +00:00
|
|
|
%doc %{_datadir}/gtk-doc/html/gucharmap-%{pc_api}/
|
2008-10-06 16:21:16 +00:00
|
|
|
|
2007-03-10 22:57:02 +00:00
|
|
|
%changelog
|