File perl-Locale-Maketext-Lexicon.spec of Package perl-Locale-Maketext-Lexicon

#
# spec file for package perl-Locale-Maketext-Lexicon (Version 0.62)
#
# Copyright (c) 2006 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:           perl-Locale-Maketext-Lexicon
License:        Artistic License
Group:          Development/Languages/Perl
URL:            http://cpan.org/
Requires:       perl = %{perl_version}
Autoreqprov:    on
Summary:        a module providing lexicon-handling backends
Version:        0.62
Release:        1
Source:         http://cpan.org/modules/by-module/Locale/Locale-Maketext-Lexicon-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Locale::Maketext::Lexicon, a module providing lexicon-handling
backends, for "Locale::Maketext" to read from other localization
formats, such as PO files, MO files, or from databases via the "Tie"
interface.



Authors:
--------
    Autrijus Tang <autrijus at autrijus dot org>

%prep
%setup -n Locale-Maketext-Lexicon-%{version}

%build
perl Makefile.PL
%{__make}

%install
%perl_make_install
%perl_process_packlist

%clean
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-, root, root)
%{_bindir}/xgettext.pl
%dir %{perl_vendorlib}/Locale
%dir %{perl_vendorlib}/Locale/Maketext
%dir %{perl_vendorlib}/Locale/Maketext/Extract
%dir %{perl_vendorlib}/Locale/Maketext/Lexicon
%{perl_vendorlib}/Locale/Maketext/*.pm
%{perl_vendorlib}/Locale/Maketext/Extract/*.pm
%{perl_vendorlib}/Locale/Maketext/Lexicon/*.pm
%dir %{perl_vendorarch}/auto/Locale
%dir %{perl_vendorarch}/auto/Locale/Maketext
%dir %{perl_vendorarch}/auto/Locale/Maketext/Lexicon
%{perl_vendorarch}/auto/Locale/Maketext/Lexicon/.packlist
%{_mandir}/man1/xgettext.pl.1.gz
%{_mandir}/man3/Locale::Maketext::*.3pm.gz
/var/adm/perl-modules/%{name}

%changelog -n perl-Locale-Maketext-Lexicon
* Mon Sep 18 2006 - lmuelle@suse.de
- Update to version 0.62.
  * For the longest time, direct import of Locale::Maketext::Lexicon
  from within localization classes (such as MyApp::I18N::zh_tw) was
  untested and broken.  It now works the way described in the SYNOPSIS
  section of the Locale::Maketext::Lexicon documentation.
  Contributed by: Yann Kerherve
  * LICENSING CHANGE: This compilation and all individual files in it
  are now under the permissive "MIT" license.  See the COPYRIGHT
  section in README for the new terms.
  * Repair Perl 5.005 compatibility in the build system.
  Reported By: Rong-En Fan
  * Locale::Maketext::Extract: Bump version to 0.20.
  No functionality changes to Locale::Maketext::Lexicon; all changes
  in this release are to Locale::Maketext::Extract.
  * The ->compile call now moves ->entries into ->compiled_entries,
  instead of mutating them in-place.  This allows repeated cycles
  of ->extract/->compile calls before the final ->write_po.
  * Consequently, in the ->read_po/->write_po API, the "$verbatim" flag
  is now ignored.
  * ->read_po no longer fails on empty PO files.
  * The return values of ->msgids/->msgstr are now always in gettext
  style and never in maketext style.
  * In xgettext.pl, the -u flag (specifies the style of the source
  programs as gettext instead of the default maketext) now has nothing
  to do with output escaping.  This closes another long-standing
  bug of "vanishing backslashes" when the same .po file is written
  once with -u and once without.
  * The --unescaped flag to "xgettext.pl" is deprecated and renamed
  to the more appropriate "--use-gettext-style".
  * Locale::Maketext::Extract::Run now accepts single-letter directory
  names instead of erroneously stripping them out.
  * Locale::Maketext::Extract: Direct calls to ->write_po now
  escapes the msg strings by default (reverting to <=0.54
  behaviour), but calls via xgettext.pl (and ::Extract::Run)
  now always specify the "verbatim" flag to ->write_po, so
  users of extraction tools are still free from double escaping.
  Requested by: Thierry Vignaud
  * Locale::Maketext::Extract: Allow the "# loc" marker at the
  end of a statement:
  say "foo"; # loc
  previously it only worked on closing brackets and commas.
  * Locale::Maketext::Lexicon: The "gettext" style no longer parses
  "%%0" as a variable.  Also allows spaces between function arguments:
  %%quant(%%1, %%2)
  * Locale::Maketext::Locale: The "_style => 'gettext'" option was
  broken for function forms such as "%%quant(%%1)", as well as
  adjacent variables such as "%%1%2%%3".
  * Locale::Maketext::Lexicon: Specifying the new "_auto => 1" option
  now turns on _AUTO fallback handling for all language handles.
  Requested by: Jesse Vincent
  * Locale::Maketext::Lexicon: Specifying the new "_style => 'gettext'"
  option makes "%%1" and "%%quant(%%1)" to be used for interpolation,
  instead of "[_1]" and "[quant,_1]".
  * Locale::Maketext::Extract: Fix a long-standing bug that caused
  double-escaping of backslashes and double quotes in loc strings.
  Contributed by: Brian Cassidy
  * When importing into an already defined lexicon and merging with its
  entries, we need to clear the Locale::Maketext cache, otherwise
  _AUTO entries generated by the old lexicon will linger around.
  Contributed by: Helmut Lichtenberg
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Dec 06 2005 - lmuelle@suse.de
- Update to 0.53.
* Tue Jul 19 2005 - lmuelle@suse.de
- Update to 0.49.
* Wed Feb 16 2005 - schwab@suse.de
- Don't remove BuildRoot in %%install.
* Tue Feb 15 2005 - lmuelle@suse.de
- Initial SuSE package.
openSUSE Build Service is sponsored by