perl-Unicode-Transform/perl-Unicode-Transform.spec

Name: perl-Unicode-Transform
Summary: Perl module for conversion among Unicode Transformation Formats
Version: 0.40
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Unicode-Transform/
Description: perl-Unicode-Transform is a Perl module for conversion among Unicode Transformation Formats.

This package contains the following Perl module:

Unicode::Transform

CentOS 7 x86_64

The build could not start because the following file is missing: Unicode-Transform-0.40.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: Unicode-Transform-0.40.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: SADAHIRO Tomoyuki <SADAHIRO$cpan,org>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Unicode-Transform

Summary: Perl module for conversion among Unicode Transformation Formats
Name: perl-Unicode-Transform
Version: 0.40
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Unicode-Transform/

Source: http://search.cpan.org/CPAN/authors/id/S/SA/SADAHIRO/Unicode-Transform-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl

%description
perl-Unicode-Transform is a Perl module for conversion among Unicode
Transformation Formats.

This package contains the following Perl module:

    Unicode::Transform

%prep
%setup -n %{real_name}-%{version}

%build
CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
%{__make} test

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man3/Unicode::Transform.3pm*
%dir %{perl_vendorarch}/Unicode/
%{perl_vendorarch}/Unicode/Transform.pm
%dir %{perl_vendorarch}/auto/Unicode/
%{perl_vendorarch}/auto/Unicode/Transform/

%changelog
* Tue Feb  8 2011 Christoph Maser <cmaser@gmx.de> - 0.40-1
- Updated to version 0.40.

* Sun Nov 04 2007 Dag Wieers <dag@wieers.com> - 0.34-1
- Initial package. (using DAR)