Name: intltool Summary: Utility for internationalizing various kinds of data files Version: 0.40.6 Release: 1 License: GPLv2 with exceptions Group: Development/Tools Source0: http://download.gnome.org/sources/intltool/0.40/%{name}-%{version}.tar.bz2 # http://bugzilla.gnome.org/show_bug.cgi?id=568845 Patch0: schemas-merge.patch URL: http://www.gnome.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Obsoletes: xml-i18n-tools Provides: xml-i18n-tools = 0.11 BuildRequires: patch, make BuildRequires: perl-XML-Parser >= 2.36 BuildRequires: gettext >= 0.17 BuildRequires: perl >= 5.8.8 Requires: perl-XML-Parser >= 2.36 Requires: perl >= 5.8.8 Requires: gettext >= 0.17 # for /opt/freeware/share/aclocal Requires: automake %description This tool automatically extracts translatable strings from oaf, glade, bonobo ui, nautilus theme, .desktop, and other data files and puts them in the po files. %prep %setup -q export PATH=/opt/freeware/bin:$PATH %patch0 -p1 -b .schemas-merge %build export PATH=/opt/freeware/bin:$PATH ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} gmake %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} gmake DESTDIR=${RPM_BUILD_ROOT} install cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %doc AUTHORS COPYING NEWS README %{_bindir}/* %{_datadir}/%{name} %{_datadir}/aclocal/* %{_mandir}/man*/* /usr/bin/* %changelog * Wed Jul 01 2009 Michael Perzl - 0.40.6 - first version for AIX V5.1 and higher