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