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

#
# spec file for package perl-Unicode-Map8 (Version 0.12)
#
# Copyright (c) 2004 SuSE Linux AG, 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://www.suse.de/feedback/
#

# norootforbuild
# usedforbuild    aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libstdc++ libxcrypt m4 make man mktemp modutils ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-devel pam-modules patch permissions popt ps rcs readline sed sendmail shadow strace syslogd sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils cracklib gcc gdbm gettext libtool perl perl-Unicode-String rpm

Name:         perl-Unicode-Map8
BuildRequires: perl-Unicode-String
Version:      0.12
Release:      98
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 -n perl-Unicode-Map8
* 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