From cd97885a851a29ec770839612d726022a28d7d1bd646f77183181fccd1f199d0 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Wed, 8 Feb 2012 10:58:30 +0000 Subject: [PATCH] Accepting request 103013 from home:vuntz:branches:GNOME:Factory Update to 3.3.1 OBS-URL: https://build.opensuse.org/request/show/103013 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gucharmap?expand=0&rev=73 --- gucharmap-3.3.0.tar.xz | 3 --- gucharmap-3.3.1.tar.xz | 3 +++ gucharmap.changes | 16 +++++++++++++++ gucharmap.spec | 44 +++++++++++++++++------------------------- 4 files changed, 37 insertions(+), 29 deletions(-) delete mode 100644 gucharmap-3.3.0.tar.xz create mode 100644 gucharmap-3.3.1.tar.xz diff --git a/gucharmap-3.3.0.tar.xz b/gucharmap-3.3.0.tar.xz deleted file mode 100644 index 8a21756..0000000 --- a/gucharmap-3.3.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c97b5a49175006e6b9fa0cf43b2a4c7bbb77c005c78887f4c201b532351889b -size 2750884 diff --git a/gucharmap-3.3.1.tar.xz b/gucharmap-3.3.1.tar.xz new file mode 100644 index 0000000..5f6e9d5 --- /dev/null +++ b/gucharmap-3.3.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed70de66eb733349807c319240c78397c5f001f5419833208b8b0fbcf3b2d179 +size 2023700 diff --git a/gucharmap.changes b/gucharmap.changes index f9e8ad0..44989c8 100644 --- a/gucharmap.changes +++ b/gucharmap.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 7 10:46:01 UTC 2012 - vuntz@opensuse.org + +- Update to version 3.3.1: + + Updated to Unicode 6.1.0 + + Ported to GSettings + + Misc cleanup and bug fixes + + Updated translations. +- Remove xz BuildRequires now that it comes for free in the build + system. +- Remove gconf2-devel BuildRequires. +- Replace gconf packaging machinery with %glib2_gsettings_schema_* + macros. +- Remove checks for old non-maintained versions of openSUSE (<= + 11.2) + ------------------------------------------------------------------- Tue Dec 20 11:21:59 UTC 2011 - vuntz@opensuse.org diff --git a/gucharmap.spec b/gucharmap.spec index 1d39749..072aacd 100644 --- a/gucharmap.spec +++ b/gucharmap.spec @@ -1,7 +1,7 @@ # # spec file for package gucharmap # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,14 +15,21 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define api_version 2.90 %define so_api _2_90 %define so_gucharmap 7 %define pc_api 2.90 Name: gucharmap +Version: 3.3.1 +Release: 0 +Summary: A Featureful Unicode Character Map +License: GPL-3.0+ ; LGPL-2.1+ +Group: System/GUI/GNOME +Source: http://download.gnome.org/sources/gucharmap/3.3/%{name}-%{version}.tar.xz +Url: http://gucharmap.sourceforge.net/ BuildRequires: fdupes -BuildRequires: gconf2-devel BuildRequires: gnome-doc-utils-devel BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc @@ -31,24 +38,15 @@ BuildRequires: intltool BuildRequires: scrollkeeper BuildRequires: translation-update-upstream BuildRequires: update-desktop-files -# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467 -BuildRequires: xz -Version: 3.3.0 -Release: 0 -Summary: A Featureful Unicode Character Map -License: GPL-3.0+ ; LGPL-2.1+ -Group: System/GUI/GNOME -Source: http://download.gnome.org/sources/gucharmap/3.3/%{name}-%{version}.tar.xz -Url: http://gucharmap.sourceforge.net/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig(gio-2.0) >= 2.25.5 Recommends: %{name}-lang -%gconf_schemas_prereq +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%glib2_gsettings_schema_requires %description Gucharmap is a featureful unicode character map. %package -n libgucharmap%{so_api}-%{so_gucharmap} - Summary: A Featureful Unicode Character Map -- Library Group: System/GUI/GNOME @@ -92,37 +90,29 @@ make %{?_smp_mflags} V=1 %install %makeinstall -%if 0%{?suse_version} <= 1120 -%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* -%endif find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %find_lang %{name} %{?no_lang_C} -%find_gconf_schemas -%fdupes $RPM_BUILD_ROOT # 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 +%fdupes $RPM_BUILD_ROOT %post -n libgucharmap%{so_api}-%{so_gucharmap} -p /sbin/ldconfig %postun -n libgucharmap%{so_api}-%{so_gucharmap} -p /sbin/ldconfig -%pre -f %{name}.schemas_pre - %post +%glib2_gsettings_schema_post %desktop_database_post -%preun -f %{name}.schemas_preun - %postun +%glib2_gsettings_schema_postun %desktop_database_postun -%posttrans -f %{name}.schemas_posttrans - %clean rm -rf $RPM_BUILD_ROOT -%files -f %{name}.schemas_list +%files %defattr(-,root,root) %doc COPYING ChangeLog NEWS README TODO %dir %{_datadir}/gnome/ @@ -136,6 +126,8 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/gnome-character-map %{_bindir}/gucharmap %{_datadir}/applications/gucharmap.desktop +%{_datadir}/glib-2.0/schemas/org.gnome.Charmap.enums.xml +%{_datadir}/glib-2.0/schemas/org.gnome.Charmap.gschema.xml %files -n libgucharmap%{so_api}-%{so_gucharmap} %defattr(-,root,root)