Name: intltool Summary: Utility for internationalizing various kinds of data files Version: 0.41.1 Release: 1 License: GPLv2 with exceptions Group: Development/Tools URL: http://www.gnome.org #VCS: bzr:https://code.edge.launchpad.net/~intltool/intltool/trunk Source0: http://edge.launchpad.net/intltool/trunk/0.41.1/+download/intltool-%{version}.tar.gz # http://bugzilla.gnome.org/show_bug.cgi?id=568845 Patch0: schemas-merge.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Obsoletes: xml-i18n-tools Provides: xml-i18n-tools = 0.11 BuildRequires: patch, make BuildRequires: perl-XML-Parser >= 2.40 BuildRequires: gettext BuildRequires: perl >= 5.8.8 Requires: perl-XML-Parser >= 2.40 Requires: perl >= 5.8.8 Requires: gettext # 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 README %{_bindir}/* %{_datadir}/%{name} %{_datadir}/aclocal/* %{_mandir}/man*/* /usr/bin/* %changelog * Tue Feb 08 2011 Michael Perzl - 0.41.1-1 - updaed to version 0.41.1 * Fri Dec 17 2010 Michael Perzl - 0.40.6-2 - removed dependency on gettext >= 0.17 * Wed Jul 01 2009 Michael Perzl - 0.40.6-1 - first version for AIX V5.1 and higher