Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 7dbcca30c49231b526b2fd2be2206789 > files > 2

perl-Module-Build-0.2808-3mdv2008.1.src.rpm

%define module  Module-Build
%define name    perl-%{module}
%define modprefix Module
%define version 0.2808
%define release %mkrel 3

Name:           %{name}
Version:        %{version}
Release:        %{release}
Summary:        Build and install Perl modules
License:        GPL or Artistic
Group:          Development/Perl
URL:            http://search.cpan.org/dist/%{module}
Source:         http://www.cpan.org/modules/by-module/%{modprefix}/%{module}-%{version}.tar.bz2
BuildRequires:  perl-devel
BuildRequires:  perl(Cwd)
BuildRequires:  perl(Data::Dumper)
BuildRequires:  perl(ExtUtils::CBuilder) >= 0.15
BuildRequires:  perl(ExtUtils::Install)
BuildRequires:  perl(ExtUtils::Manifest)
BuildRequires:  perl(ExtUtils::Mkbootstrap)
BuildRequires:  perl(ExtUtils::ParseXS)
BuildRequires:  perl(File::Basename)
BuildRequires:  perl(File::Compare)
BuildRequires:  perl(File::Copy)
BuildRequires:  perl(File::Find)
BuildRequires:  perl(File::Path)
BuildRequires:  perl(File::Spec) >= 0.82
BuildRequires:  perl(Getopt::Long)
BuildRequires:  perl(IO::File)
BuildRequires:  perl(Test::Harness)
BuildRequires:  perl(Text::Abbrev)
BuildRequires:  perl(Text::ParseWords)
Buildrequires:  perl(YAML)
# (tv) this is a soft dep (require instead of use); w/o it some builds failed with
# "Module::Build is not configured with C_support":
Suggests: perl-ExtUtils-CBuilder

Buildarch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}

%description
Module::Build is a system for building, testing, and installing Perl modules.
It is meant to be a replacement for ExtUtils::MakeMaker. Developers may alter
the behavior of the module through subclassing in a much more straightforward
way than with MakeMaker. It also does not require a make on your system - most
of the Module::Build code is pure-perl and written in a very cross-platform
way. In fact, you don't even need a shell, so even platforms like MacOS
(traditional) can use it fairly easily. Its only prerequisites are modules that
are included with perl 5.6.0, and it works fine on perl 5.005 if you can
install a few additional modules.

%prep
%setup -q -n %{module}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
perl Build.PL installdirs=vendor
./Build

%install
rm -rf %{buildroot}
./Build install destdir=%{buildroot}

%check
./Build test

%clean 
rm -rf %{buildroot}

%files 
%defattr(-,root,root)
%doc Changes INSTALL README
%{_bindir}/config_data
%{perl_vendorlib}/%{modprefix}
%{_mandir}/*/*




%changelog
* Tue Jan 15 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.2808-3mdv2008.1
+ Revision: 152489
- rebuild for new perl
- replace a requires by a suggests
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Wed Aug 22 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.2808-2mdv2008.0
+ Revision: 69023
- fix missing deps (b/c of require instead of use) that make other package builds
  failed due to +# (tv) this is a soft dep; w/o it some builds failed with
  "Module::Build is not configured with C_support"

* Tue Jul 03 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.2808-1mdv2008.0
+ Revision: 47699
- update to new version 0.2808


* Wed Dec 20 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.2806-1mdv2007.0
+ Revision: 100405
- new version
- Import perl-Module-Build

* Tue Aug 01 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.2805-1mdv2007.0
- New version 0.2805

* Mon Jul 03 2006 Oden Eriksson <oeriksson@mandriva.com> 0.2801-4mdv2007.0
- fix "Module::Build is not configured with C_support at ..."

* Sun Jun 18 2006 Scott Karns <scottk@mandriva.org> 0.2801-3mdv2007.0
- Rebuild
- Remove mdkversion conditional around BuildRequires perl-devel so
  all tests run successfully

* Mon May 22 2006 Scott Karns <scottk@mandriva.org> 0.2801-2mdk
- Added BuildRequires perl(ExtUtils::CBuilder) >= 0.15

* Mon May 22 2006 Scott Karns <scottk@mandriva.org> 0.2801-1mdk
- New release 0.2801
- Improved source URL
- Updated BuildRequires per META.yml and Mandriva perl packaging policy

* Mon Mar 06 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.2612-1mdk
- New release 0.2612
- %%mkrel

* Sun Aug 21 2005 Christiaan Welvaart <cjw@daneel.dyndns.org> 0.2611-2mdk
- perl-devel is still required to run the tests of this package

* Wed Jun 15 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.2611-1mdk
- 0.2611

* Tue Jun 07 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.2610-2mdk 
- rpmbuildupdate aware
- better url
- drop useless empty directories
- fix buildrequires in a backward compatible way
- spec cleanup
- Build test in %%check

* Sat Apr 23 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.2610-1mdk
- 0.2610

* Wed Feb 02 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.2608-1mdk
- 0.2608

* Sat Dec 25 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.2607-2mdk
- require perl-devel for building on newer than 10.1 too as it's required for testing

* Thu Dec 23 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.2607-1mdk
- 0.2607

* Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.2604-2mdk
- fix buildrequires in a backward compatible way

* Wed Nov 24 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.2604-1mdk
- 0.2604
- install the new config_data script

* Fri Jun 04 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.25-1mdk
- 0.25

* Thu Apr 22 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.24-1mdk
- new version
- rpmbuildupdate aware

* Wed Feb 25 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.21-2mdk
- fixed dir ownership (distlint)