gucharmap.spec
author mick
Tue, 15 Jul 2003 13:18:50 +0000
changeset 569 b63182ee420f
parent 552 36a802302e86
child 575 2b5c59a05848
permissions -rw-r--r--
updating the POTFILES.in so intltool-update can be run.

#
# spec file for package gucharmap
#
# Copyright (c) 2003 Sun Microsystems Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#


Name:         gucharmap
License:      GPL
Group:        System/GUI/GNOME
Version:      0.8.0
Release:      5
Distribution: Mercury
Vendor:       Sun Microsystems Inc.
Summary:      GNOME Unicode Character Map
Source:       http://ftp.gnome.org/pub/GNOME/sources/gucharmap/0.8/%{name}-%{version}.tar.bz2
Patch0:       gucharmap-01-menu-name-description.diff
Patch1:       gucharmap-02-potfiles_in.diff
URL:          http://www.gnome.org
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Docdir:       %{_defaultdocdir}/%{name}
Autoreqprov:  on

%define glib2_version 2.2.1
%define pango_version 1.2.1
%define gtk2_version 2.2.1
%define popt_version 1.6.4
%define libgnomeui_version 2.2.0.1

BuildRequires:  glib2-devel >= %{glib2_version}
BuildRequires:  pango-devel >= %{pango_version}
BuildRequires:  gtk2-devel >= %{gtk2_version}
BuildRequires:  libgnomeui-devel >= %{libgnomeui_version}
BuildRequires:  popt-devel >= %{popt_version}

%description
This package contains a unicode character map for the GNOME Desktop.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
CFLAGS="$RPM_OPT_FLAGS" \
  ./configure \
	--prefix=%{_prefix} \
	--sysconfdir=%{_sysconfdir} \
	--localstatedir=/var/lib
make

%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make -i install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, root)
%{_bindir}/*
%{_datadir}/locale/*/LC_MESSAGES/*.mo
%{_datadir}/pixmaps/*
%{_datadir}/applications
%{_libdir}/*

%changelog
* Thu Jul 10 2003 - [email protected]
- Add a patch to add a menu description and 
  remove the 'Unicode' part of the menu name.

* Tue Jul 01 2003 - [email protected]
- Initial Sun release