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
|
|
|
#
|
2011-01-10 11:35:56 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2007-01-08 18:18:49 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
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
|
2008-03-01 00:06:04 +01:00
|
|
|
|
2007-01-08 18:18:49 +01:00
|
|
|
Name: gucharmap
|
2009-02-17 18:02:48 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gnome-doc-utils-devel
|
2008-10-06 18:21:16 +02:00
|
|
|
BuildRequires: gtk-doc
|
2009-02-17 18:02:48 +01:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: gconf2-devel
|
2011-04-26 08:11:58 +02:00
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: gtk3-devel
|
2009-03-11 20:43:06 +01:00
|
|
|
BuildRequires: scrollkeeper
|
2011-02-16 08:52:13 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
2008-09-05 02:38:22 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2010-08-27 22:42:07 +02:00
|
|
|
License: GPLv3+ ; LGPLv2.1+
|
2007-01-08 18:18:49 +01:00
|
|
|
Group: System/GUI/GNOME
|
2011-11-15 22:14:11 +01:00
|
|
|
Version: 3.2.2
|
2011-05-05 16:17:45 +02:00
|
|
|
Release: 1
|
2010-12-30 01:12:49 +01:00
|
|
|
Summary: A Featureful Unicode Character Map
|
2011-09-27 13:19:37 +02:00
|
|
|
Source: http://download.gnome.org/sources/gucharmap/3.2/%{name}-%{version}.tar.bz2
|
2007-09-19 19:07:36 +02:00
|
|
|
Url: http://gucharmap.sourceforge.net/
|
2007-01-08 18:18:49 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-02-13 22:12:17 +01:00
|
|
|
Recommends: %{name}-lang
|
2007-12-21 10:24:33 +01:00
|
|
|
%gconf_schemas_prereq
|
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}
|
2011-05-05 16:17:45 +02:00
|
|
|
|
2010-12-30 01:12:49 +01:00
|
|
|
License: GPLv3+ ; LGPLv2.1+
|
|
|
|
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.
|
|
|
|
|
2007-01-08 18:18:49 +01:00
|
|
|
%package devel
|
2010-08-27 22:42:07 +02:00
|
|
|
License: GPLv3+ ; LGPLv2.1+
|
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}
|
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
|
2007-01-08 18:18:49 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-02-16 08:52:13 +01:00
|
|
|
translation-update-upstream
|
2007-01-08 18:18:49 +01:00
|
|
|
|
|
|
|
%build
|
2009-01-27 02:00:37 +01:00
|
|
|
%configure --disable-static --with-pic \
|
2008-06-26 01:27:35 +02:00
|
|
|
--disable-scrollkeeper \
|
2008-10-06 18:21:16 +02:00
|
|
|
--enable-gtk-doc \
|
2011-04-26 08:11:58 +02:00
|
|
|
--with-gtk=3.0 \
|
|
|
|
--enable-introspection
|
|
|
|
make %{?_smp_mflags} V=1
|
2007-01-08 18:18:49 +01:00
|
|
|
|
|
|
|
%install
|
2007-03-10 23:57:02 +01:00
|
|
|
%makeinstall
|
2010-04-01 15:59:44 +02:00
|
|
|
%if 0%{?suse_version} <= 1120
|
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
|
|
%endif
|
2010-12-30 01:12:49 +01:00
|
|
|
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
2011-02-13 22:12:17 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2007-12-21 10:24:33 +01:00
|
|
|
%find_gconf_schemas
|
2007-08-09 19:31:23 +02:00
|
|
|
%fdupes $RPM_BUILD_ROOT
|
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
|
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
|
2007-01-08 18:18:49 +01:00
|
|
|
|
2011-04-26 08:11:58 +02:00
|
|
|
%postun -n libgucharmap%{so_api}-%{so_gucharmap} -p /sbin/ldconfig
|
2007-12-21 10:24:33 +01:00
|
|
|
|
|
|
|
%pre -f %{name}.schemas_pre
|
|
|
|
|
2011-02-13 22:12:17 +01:00
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
|
2007-12-21 10:24:33 +01:00
|
|
|
%preun -f %{name}.schemas_preun
|
2009-07-31 19:53:19 +02:00
|
|
|
|
2011-02-13 22:12:17 +01:00
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
|
2007-12-21 10:24:33 +01:00
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
2007-01-08 18:18:49 +01:00
|
|
|
|
|
|
|
%clean
|
2008-03-01 00:28:07 +01:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-01-08 18:18:49 +01:00
|
|
|
|
2007-12-21 10:24:33 +01:00
|
|
|
%files -f %{name}.schemas_list
|
2007-01-08 18:18:49 +01:00
|
|
|
%defattr(-,root,root)
|
2008-06-26 01:27:35 +02:00
|
|
|
%doc COPYING ChangeLog NEWS README TODO
|
2011-02-13 22:12:17 +01:00
|
|
|
%dir %{_datadir}/gnome/
|
|
|
|
%dir %{_datadir}/gnome/help/
|
|
|
|
%dir %{_datadir}/gnome/help/%{name}/
|
|
|
|
%doc %{_datadir}/gnome/help/%{name}/C/
|
|
|
|
%dir %{_datadir}/omf/
|
|
|
|
%dir %{_datadir}/omf/%{name}/
|
|
|
|
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
|
2010-12-30 01:12:49 +01:00
|
|
|
%{_bindir}/charmap
|
|
|
|
%{_bindir}/gnome-character-map
|
|
|
|
%{_bindir}/gucharmap
|
|
|
|
%{_datadir}/applications/gucharmap.desktop
|
|
|
|
|
2011-04-26 08:11:58 +02:00
|
|
|
%files -n libgucharmap%{so_api}-%{so_gucharmap}
|
2010-12-30 01:12:49 +01:00
|
|
|
%defattr(-,root,root)
|
2011-04-26 08:11:58 +02:00
|
|
|
%{_libdir}/libgucharmap%{so_api}.so.%{so_gucharmap}*
|
|
|
|
%{_libdir}/girepository-1.0/Gucharmap-%{pc_api}.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
|
|
|
|
%defattr (-, root, root)
|
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
|
|
|
|
%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
|