Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-release-src > by-pkgid > f2e5665e35da0d9120ae238c3a6d9647 > files > 2

perl-Dist-Zilla-Plugin-Repository-0.110.0-1mdv2010.1.src.rpm

%define upstream_name    Dist-Zilla-Plugin-Repository
%define upstream_version 0.11

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:    Automatically sets repository URL from svn/svk/Git checkout for Dist::Zilla
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Dist/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Dist::Zilla)
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}

%description
The code is mostly a copy-paste of the Module::Install::Repository manpage

ATTRIBUTES
    * * git_remote

      This is the name of the remote to use for the public repository (if
      you use Git). By default, unsurprisingly, to _origin_.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor

%{make}

%check
%{make} test

%install
rm -rf %buildroot
%makeinstall_std

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%doc Changes LICENSE README
%{_mandir}/man3/*
%perl_vendorlib/*




%changelog
* Sat Jan 09 2010 Jérôme Quelin <jquelin@mandriva.org> 0.110.0-1mdv2010.1
+ Revision: 488025
- import perl-Dist-Zilla-Plugin-Repository


* Sat Jan 09 2010 cpan2dist 0.11-1mdv
- initial mdv release, generated with cpan2dist