perl-XML-Compile/perl-XML-Compile.spec

Name: perl-XML-Compile
Summary: Compilation based XML processing
Version: 1.07
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/XML-Compile/
Description: Compilation based XML processing.

CentOS 7 x86_64

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

Build Status

CentOS 6 x86_64

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

Build Status

Contents

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

# $Id$
# Authority: dries
# Upstream: Mark Overmeer <mark$overmeer,net>

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

%define real_name XML-Compile

Summary: Compilation based XML processing
Name: perl-XML-Compile
Version: 1.07
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/XML-Compile/

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

BuildArch: noarch
BuildRequires: perl >= 2:5.8.0
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl >= 2:5.8.0

%description
Compilation based XML processing.

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

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

%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 ChangeLog MANIFEST META.yml README README.todo
%doc %{_mandir}/man1/schema2example.1*
%doc %{_mandir}/man1/xml2yaml.1*
%doc %{_mandir}/man3/XML::Compile.3pm*
%doc %{_mandir}/man3/XML::Compile::*.3pm*
%{_bindir}/schema2example
%{_bindir}/xml2yaml
%dir %{perl_vendorlib}/XML/
%{perl_vendorlib}/XML/Compile/
%{perl_vendorlib}/XML/Compile.pm
%{perl_vendorlib}/XML/Compile.pod

%changelog
* Mon Jun 29 2009 Christoph Maser <cmr@financial.com> - 1.07-1
- Updated to version 1.07.

* Fri May 29 2009 Christoph Maser <cmr@financial.com> - 1.06-1
- Updated to version 1.06.

* Wed May 14 2008 Dag Wieers <dag@wieers.com> - 0.81-1
- Updated to release 0.81.

* Thu Feb 21 2008 Dag Wieers <dag@wieers.com> - 0.69-1
- Updated to release 0.69.

* Wed Jan 23 2008 Dag Wieers <dag@wieers.com> - 0.65-1
- Updated to release 0.65.

* Thu Dec 27 2007 Dag Wieers <dag@wieers.com> - 0.63-1
- Updated to release 0.63.

* Tue Dec 04 2007 Dag Wieers <dag@wieers.com> - 0.62-1
- Updated to release 0.62.

* Mon Nov 19 2007 Dag Wieers <dag@wieers.com> - 0.59-1
- Updated to release 0.59.

* Sun Aug 12 2007 Dries Verachtert <dries@ulyssis.org> - 0.51-1
- Updated to release 0.51.

* Sat Jan 06 2007 Dries Verachtert <dries@ulyssis.org> - 0.12-1
- Updated to release 0.12.

* Sun Nov 19 2006 Dries Verachtert <dries@ulyssis.org> - 0.09-1
- Initial package.