Name: perl-XML-Grove
Summary: Perl module named XML-Grove
Version: 0.46
Release: 1
License: GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/XML-Grove/
Description: perl-XML-Grove is a Perl module.
The build was succesful. The following RPMs were generated:
The build was succesful. The following RPMs were generated:
The spec file used by the build system currently has the following contents:
# $Id$
# Authority: dag
# Upstream: Ken MacLeod <ken$bitsko,slc,ut,us>
### EL6 ships with perl-XML-Grove-0.46alpha-40.el6
%{?el6:# Tag: rfx}
### EL5 ships with perl-XML-Grove-0.46alpha-29.1.1
%{?el5:# Tag: rfx}
### EL4 ships with perl-XML-Grove-0.46alpha-27
%{?el4:# Tag: rfx}
### EL3 ships with perl-XML-Grove-0.46alpha-25
%{?el3:# Tag: rfx}
### EL2 ships with perl-XML-Grove-0.46alpha-3
%{?el2:# Tag: rfx}
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
%define real_name XML-Grove
Summary: Perl module named XML-Grove
Name: perl-XML-Grove
Version: 0.46
Release: 1%{?dist}
License: GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/XML-Grove/
Source: http://www.cpan.org/modules/by-module/XML/XML-Grove-%{version}alpha.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
%description
perl-XML-Grove is a Perl module.
%prep
%setup -n %{real_name}-%{version}alpha
%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 up docs
find examples/ -type f -exec %{__chmod} a-x {} \;
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc COPYING ChangeLog Changes MANIFEST README examples/
%doc %{_mandir}/man3/XML::DOM-ecmascript.3pm*
%doc %{_mandir}/man3/XML::Grove.3pm*
%doc %{_mandir}/man3/XML::Grove::*.3pm*
%dir %{perl_vendorlib}/XML/
%{perl_vendorlib}/XML/Grove/
%{perl_vendorlib}/XML/Grove.pm
%{perl_vendorlib}/XML/DOM-ecmascript.pod
%changelog
* Mon Nov 19 2007 Dag Wieers <dag@wieers.com> - 0.46-1
- Updated to release 0.46.
* Sat Oct 06 2007 Dag Wieers <dag@wieers.com> - 0.05-1
- Initial package. (using DAR)