File perl-Unicode-Map8.spec of Package perl-Unicode-Map8

#
# spec file for package perl-Unicode-Map8 (Version 0.12)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-Unicode-Map8
BuildRequires:  perl-Unicode-String
Version:        0.12
Release:        282
Requires:       perl-Unicode-String
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic License
Url:            http://cpan.org/modules/by-module/Unicode/
Summary:        Mapping table between 8-bit chars and Unicode
Source:         Unicode-Map8-%{version}.tar.bz2
Patch0:         Unicode-Map8-%{version}-type.diff
Patch1:         Unicode-Map8-%{version}-declaration.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The Unicode::Map8 class implement efficient mapping tables between
8-bit character sets and 16-bit character sets like Unicode. The tables
are efficient both in terms of space allocated and translation speed.
The 16-bit strings is assumed to use network byte order.



Authors:
--------
    Gisle Aas <gisle@aas.no>

%prep
%setup -n Unicode-Map8-%{version}
%patch0
%patch1

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
make test

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc %{_mandir}/man?/*
%doc README Changes rfc1345.txt
%{perl_vendorarch}/Unicode/Map8.pm
%{perl_vendorarch}/Unicode/Map8
%{perl_vendorarch}/auto/Unicode/Map8
%{_bindir}/*
/var/adm/perl-modules/%{name}

%changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 11 2004 adrian@suse.de
- build as user
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Thu Jul 17 2003 mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Mon May 19 2003 ro@suse.de
- remove perllocal.pod
* Tue Apr 29 2003 mjancar@suse.cz
- update to version 0.12
- used $RPM_OPT_FLAGS
- fixed function prototype
* Thu Nov 28 2002 prehak@suse.cz
- fixed data types
- enabled make test for ppc64 and s390x
* Wed Aug 21 2002 prehak@suse.cz
- disabled make test on ppc64 and s390x
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Tue Jan 15 2002 rvasice@suse.cz
- update to version 0.11
* Wed Aug 15 2001 rvasice@suse.cz
- initial package release (version 0.10)
openSUSE Build Service is sponsored by