2007-01-08 18:18:49 +01:00
|
|
|
#
|
2010-10-15 16:44:03 +02:00
|
|
|
# spec file for package gucharmap (Version 2.32.0)
|
2007-01-08 18:18:49 +01:00
|
|
|
#
|
2010-03-19 09:11:54 +01:00
|
|
|
# Copyright (c) 2010 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
|
|
|
|
|
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
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: python-gtk-devel
|
2009-03-11 20:43:06 +01:00
|
|
|
BuildRequires: scrollkeeper
|
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
|
2010-10-15 16:44:03 +02:00
|
|
|
Version: 2.32.0
|
2009-03-25 19:01:47 +01:00
|
|
|
Release: 1
|
2007-01-08 18:18:49 +01:00
|
|
|
Summary: A Feature-Rich Unicode Character Map
|
2007-12-21 10:24:33 +01:00
|
|
|
Source: %{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
|
2007-08-09 19:31:23 +02:00
|
|
|
Requires: %{name}-lang = %{version}
|
2007-12-21 10:24:33 +01:00
|
|
|
%gconf_schemas_prereq
|
2007-01-08 18:18:49 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Gucharmap is a feature-rich Unicode character map and font viewer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Noah Levitt
|
|
|
|
|
|
|
|
%package devel
|
2010-08-27 22:42:07 +02:00
|
|
|
License: GPLv3+ ; LGPLv2.1+
|
2009-01-27 02:00:37 +01:00
|
|
|
Summary: Include Files and Libraries mandatory for Development
|
2008-03-01 00:06:04 +01:00
|
|
|
Group: Development/Libraries/GNOME
|
2009-10-06 02:08:40 +02:00
|
|
|
Requires: %{name} = %{version} gconf2-devel glib2-devel gtk2-devel
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Noah Levitt
|
|
|
|
|
2007-08-09 19:31:23 +02:00
|
|
|
%lang_package
|
2007-01-08 18:18:49 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
# FIXME: Build as root modifies system!
|
2007-04-27 16:46:59 +02:00
|
|
|
# gucharmap-1.8.0: --disable-scrollkeeper does not work properly.
|
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 \
|
2008-06-26 01:27:35 +02:00
|
|
|
--enable-python-bindings
|
2007-01-08 18:18:49 +01:00
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%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
|
2009-01-27 02:00:37 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
|
2007-01-08 18:18:49 +01:00
|
|
|
%find_lang %{name}
|
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
|
|
|
|
2007-12-21 10:24:33 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-08 18:18:49 +01:00
|
|
|
|
2007-12-21 10:24:33 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%pre -f %{name}.schemas_pre
|
|
|
|
|
|
|
|
%preun -f %{name}.schemas_preun
|
2009-07-31 19:53:19 +02:00
|
|
|
|
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
|
2007-01-08 18:18:49 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/*.so.*
|
2009-02-17 18:02:48 +01:00
|
|
|
%{_datadir}/applications/*.desktop
|
2008-06-26 01:27:35 +02:00
|
|
|
%{py_sitedir}/gtk-2.0/gucharmap.so
|
|
|
|
%{_datadir}/pygtk/2.0/defs/*
|
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)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2008-10-06 18:21:16 +02:00
|
|
|
%{_datadir}/gtk-doc/html/*
|
|
|
|
|
2007-03-10 23:57:02 +01:00
|
|
|
%changelog
|