SHA256
1
0
forked from pool/intltool
intltool/intltool.spec

248 lines
8.7 KiB
RPMSpec

#
# spec file for package intltool (Version 0.35.4)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: intltool
BuildRequires: perl-XML-Parser
Summary: Internationalization Tool Collection
Version: 0.35.4
Release: 1
Group: Development/Tools/Other
BuildArchitectures: noarch
Requires: gettext-devel perl-XML-Parser
Provides: xml-i18n-tools
Obsoletes: xml-i18n-tools
License: GNU General Public License (GPL)
URL: http://www.gnome.org
Source0: ftp://ftp.gnome.org/pub/gnome/sources/intltool/%{version}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Some scripts to support translators working on GNOME and similar
programs. Data available in XML files (.oaf, .desktop, .sheet, and
more) can be extracted into PO files. After translation, the new
information is written back into the XML files.
Authors:
--------
Kenneth Christiansen <kenneth@gnu.org>
Rodney Dawes <dobey@novell.com>
Danilo &#352;egan <danilo@gnome.org>
%define INSTALL install -m755 -s
%define INSTALL_SCRIPT install -m755
%define INSTALL_DIR install -d -m755
%define INSTALL_DATA install -m644
%prep
%setup -q
autoreconf -f -i
%build
export CFLAGS="$RPM_OPT_FLAGS"
./configure \
--mandir=%{_mandir} \
--prefix=%{_prefix} \
--infodir=%{_infodir} \
--sysconfdir=%{_sysconfdir}
make
make check
%install
rm -fr $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%defattr(0555, root, root)
%{_bindir}/*
%defattr (0444, root, root)
%{_mandir}/man8/*
%attr(0755,root,root) %{_datadir}/%{name}
%{_datadir}/aclocal/*
%changelog
* Fri Feb 16 2007 - maw@suse.de
- Update to version 0.35.4.
* Fri Dec 22 2006 - sreeves@suse.de
- ver 0.35 of intltool is needed for Fate#301648.
The menu editor we will use is alacarte which requires >=0.35 version
of intltool. Talked with dobey, jpr and gekker and this rev (0.35.2) was
approved for submision.
* Fri Jul 21 2006 - gekker@suse.de
- Update to version 0.35.0
* Support for MSGID_BUGS_ADDRESS variable in Makevars and for xgettext
-- bug #329346 (Dwayne Bailey, Rodney Dawes)
* Support for po/LINGUAS file being preferred over ALL_LINGUAS variable
-- bugs #341508 #339770 (Rodney Dawes)
* Support micro-version when validating version requirements
-- bug #339627 (Rodney Dawes)
* Clean up Makefile.in.in to remove useless bits
-- bug #338817 (Rodney Dawes)
* Change WARNING to NOTICE for non-UTF-8 po file encodings
-- bug #331046 (Rodney Dawes)
* Add MAINTAINERS file
-- bug #335025 (Danilo Segan)
* Work around recursive variable resolution in intltool-update
-- bug #321785 (Danilo Segan)
* Work around variable stripping in Makefile.in.in substitution
-- bug #330509 (Rodney Dawes)
- Update to version 0.34.2
* We require automake >= 1.5 now, so check that we aren't on something older
-- bug #323282 (Rodney Dawes)
* Add support for translating DBus service files
-- bug #322629 (Carlos Garcia Campos)
* Preserve encoding of XML comments
-- bug #320721 (Simos Xenitellis)
* Improve interaction with use of AM_GNU_GETTEXT
-- bug #312217 (Stepan Kasal)
* Fix two small issues with srcdir != builddir
(Stepan Kasal)
* Remove unused variables from configure.in
-- bug #312214 (Stepan Kasal)
* Use $(install_sh) -d instead of $(top_srcdir)/mkinstalldirs
-- bug #311874 (Stepan Kasal)
* Don't substitute some variables in the intltool build
-- bug #315021 (Stepan Kasal)
* Use POSIX sh syntax for Solaris
-- bug #322263 (Laszlo Peter)
* Set the prefix from $0 on win32 systems
(Tor Lillqvist)
* Remove unneeded compatibility code for autoconf 2.13
-- bug #311870 (Stepan Kasal)
* Remove deprecated INSTOBJEXT variable use
-- bug #312333 (Stepan Kasal)
* Remove use of deprecated GENCAT variable
-- bug #212332 (Stepan Kasal)
* Use AU_ALIAS instead of AC_DEFUN for autoconf and autoupdate
-- bug #312334 (Stepan Kasal)
* Use PACKAGE_NAME instead of AC_PACKAGE_NAME
-- bug #311523 (Peter Moulder)
* Mon Feb 06 2006 - sbrabec@suse.cz
- Fixed Requires (intltool-update requires gettext-devel).
* Fri Feb 03 2006 - sbrabec@suse.cz
- Simplified BuildRequires.
- Fixed Requires (intltool-merge requires perl-XML-Parser).
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Aug 11 2005 - gekker@suse.de
- Update to version 0.34.1
* Mon Aug 01 2005 - gekker@suse.de
- Update to version 0.34
* Mon Feb 07 2005 - ke@suse.de
- Updated to version 0.33:
* Various bug fixes, mostly XML related.
* Mon Jan 17 2005 - clahey@suse.de
- Updated to version 0.32.1.
* Fri Nov 05 2004 - ke@suse.de
- Update to version 0.32:
* Bug fixes.
* Deprecate AC_PROG_INTLTOOL for IT_PROG_INTLTOOL.
* Allow use of either AM_GNU_GETTEXT or AM_GLIB_GNU_GETTEXT and use our
own Makefile.in.in instead of trying to patch one.
* Documentation enhancement.
- Drop obsolete patch.
* Thu Jul 15 2004 - ke@suse.de
- Update to version 0.31 (from the announcement):
* Support for C#.
* New XML merging; entity decoding and encoding is not done anymore
for XML.
* Multiple-output XML merging now produces simpler files, and sets
"xml:lang" only when translation is used
* Support for passing comments to translators from XML and GConf
schema files.
* Bugfixes.
- Enable all tests (stop applying intltool-0.30-selftest.pl.in.patch).
* Wed Feb 04 2004 - ke@suse.de
- Update to version 0.30.
- Disable unreliable tests (intltool-0.30-selftest.pl.in.patch; the
order of attributes isn't static).
* Wed Dec 10 2003 - ke@suse.de
- Update to version 0.28; it now depends on the Perl module XML::Parser.
- Adjust neededforbuild: Add perl-XML-Parser and expat.
- intltool-0.28-selftest.pl.in.patch: Disable trouble causing tests.
* Mon Aug 18 2003 - sbrabec@suse.cz
- Updated to version 0.27.2.
* Thu Jun 12 2003 - sbrabec@suse.cz
- Updated to version 0.26.
- Fixed directory packaging.
* Thu Jan 23 2003 - ke@suse.de
- Update to version 0.25; NEWS since 0.21:
* Support Makefile.in.in from glib-gettextize from glib >= 2.1.5.
* Strip the hints from POTFILES.in in -M mode.
* Don't generate .h.h lines in the POTFILES.in for xgettext when the
input file line is from a known type and also has the [type:
gettext/..] hint.
* Fix xml-i18n-tools part to work with new gettext 4.
* Add a new .theme.in -> .theme rule.
* gettextize 4.x work.
* Recognise the "xml:space" attribute and preserve whitespace if set
to "preserve".
* GConf schemas handling changes.
* Use charset.alias if available.
* Add support for 'default' tags.
* Added support for translation of descriptions used by ATK in glade
files.
* Made schemas extraction code more bulletproof.
* Force intltool-update to exit if POTFILES.in is not found.
* Add detection of glade2 files in -m mode.
* Other bugfixes.
* Thu Sep 05 2002 - ro@suse.de
- removed libxml2 requires and from neededforbuild
* Mon Aug 12 2002 - ro@suse.de
- fixed permissions of intltool dir
* Thu Jun 06 2002 - ke@suse.de
- Update to version 0.21:
* Add detection of glade2 files in -m mode.
* Force intltool-update to exit if POTFILES.in is not found.
* Make schemas extraction code more bulletproof.
* Add support for translation of descriptions used by ATK in glade
files.
* Thu May 23 2002 - ke@suse.de
- Update to version 0.21:
* Add support for .schemas files.
* Some .m4 fixes.
* Perform variable substitutions when determining package name.
* Add HOWTO on adding i18n support to an application.
* Fix Glade XML decoding.
* Better error reporting.
* Fri May 03 2002 - ke@suse.de
- Update to version 0.18: bug fixes, enhancements (e.g., recognize
directories starting with po- as being translation directories, glade2
support, take POTFILES.skip and POTFILES.ignore into account), update
documentation.
* Wed Nov 21 2001 - ke@suse.de
- Update to version 0.12.
- Rename package: xml-i18n-tools -> intltool.
- Enable check.
- Numerous bug fixes.
- Heavily improved UTF-8 support.
- Support more input formats (e.g, Dia's .sheet files).
* Wed Aug 08 2001 - hhetter@suse.de
- update to version 0.9
* Mon May 28 2001 - ke@suse.de
- Apply xml-i18n-tools-prepare.diff to fix typo.
* Fri May 18 2001 - ke@suse.de
- Update to version 0.8.4.
* Fri Mar 02 2001 - egger@suse.de
- Updated to version 0.8.1.
* Fri Feb 16 2001 - hhetter@suse.de
- Updated to version 0.8.
* Thu Feb 15 2001 - egger@suse.de
- Updated to version 0.6.
* Tue Jan 23 2001 - ke@suse.de
- New package: initial version 0.5.