|
|
|
@ -2,19 +2,19 @@
|
|
|
|
|
|
|
|
|
|
Name: perl-Unicode-Map
|
|
|
|
|
Version: 0.112
|
|
|
|
|
Release: 25%{?dist}
|
|
|
|
|
Release: 26%{?dist}
|
|
|
|
|
|
|
|
|
|
Summary: Perl module for mapping charsets from and to utf16 unicode
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: http://search.cpan.org/dist/Unicode-Map/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-0.112.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This module converts strings from and to 2-byte Unicode UCS2
|
|
|
|
|
format. All mappings happen via 2 byte UTF16 encodings, not via 1 byte
|
|
|
|
@ -48,7 +48,6 @@ make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make install \
|
|
|
|
|
PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
|
|
|
|
|
INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
|
|
|
|
@ -62,12 +61,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING Changes README
|
|
|
|
|
%{_bindir}/m*
|
|
|
|
|
%{perl_vendorarch}/auto/Unicode
|
|
|
|
@ -76,6 +70,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Dec 02 2012 Emmanuel Seyman <emmanuel@seyman.fr> - 0.112-26
|
|
|
|
|
- Add perl default filter
|
|
|
|
|
- Remove no-longer-used macros
|
|
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.112-25
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|