perl-XML-CanonicalizeXML/perl-XML-CanonicalizeXML.spec

Name: perl-XML-CanonicalizeXML
Summary: Wrapper to canonicalization functions
Version: 0.03
Release: 1.2
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/XML-CanonicalizeXML/
Description: This module provides a wrapper to the XML Canonicalization functions provided by libxml2 (http://www.xmlsoft.org/) to give Perl support to the the W3C defined algorithms c14n canonicalization (http://www.w3.org/TR/2001/REC-xml-c14n-20010315) and c14n exclusive canonicalization (http://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/)

CentOS 7 x86_64

The build could not start because the following file is missing: XML-CanonicalizeXML-0.03.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: XML-CanonicalizeXML-0.03.tar.gz

Build Status

Contents

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

# $Id$
# Authority: dries
# Upstream: Stefan Zasada <sjz$zasada,co,uk>

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

%define real_name XML-CanonicalizeXML

Summary: Wrapper to canonicalization functions
Name: perl-XML-CanonicalizeXML
Version: 0.03
Release: 1.2%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/XML-CanonicalizeXML/

Source: http://www.cpan.org/modules/by-module/XML/XML-CanonicalizeXML-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: libxml2-devel

%description
This module provides a wrapper to the XML Canonicalization functions
provided by libxml2 (http://www.xmlsoft.org/) to give Perl support to
the the W3C defined algorithms c14n canonicalization
(http://www.w3.org/TR/2001/REC-xml-c14n-20010315) and c14n exclusive
canonicalization (http://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/)

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

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

%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 README
%doc %{_mandir}/man3/*.3pm*
%dir %{perl_vendorarch}/XML/
%{perl_vendorarch}/XML/CanonicalizeXML.pm
%dir %{perl_vendorarch}/auto/XML/
%{perl_vendorarch}/auto/XML/CanonicalizeXML/

%changelog
* Sat Jan  7 2006 Dries Verachtert <dries@ulyssis.org> - 0.03-1
- Updated to release 0.03.

* Fri Dec  9 2005 Dries Verachtert <dries@ulyssis.org> - 0.02-1
- Initial package.