Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > aa547fd3daeb36ff0a47616fc9001d18 > files > 2

perl-Dist-Zilla-Plugin-InstallRelease-0.6.0-1.mga1.src.rpm

%define upstream_name    Dist-Zilla-Plugin-InstallRelease
%define upstream_version 0.006

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

Summary:    Installs your dist after releasing
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(Carp)
BuildRequires: perl(Dist::Zilla::Role::AfterRelease)
BuildRequires: perl(Dist::Zilla::Role::Plugin)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Temp)
BuildRequires: perl(File::pushd)
BuildRequires: perl(Moose)
BuildRequires: perl(Test::More)
BuildArch: noarch

%description
After doing 'dzil release', this plugin will install your dist so you are
always the first person to have the latest and greatest version. It's like
getting first post, only useful.

To use it, add the following in _dist.ini_:

    [InstallRelease]

%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 README CHANGES LICENSE META.yml
%{_mandir}/man3/*
%perl_vendorlib/*




%changelog
* Mon Mar 14 2011 jquelin <jquelin> 0.6.0-1.mga1
+ Revision: 71239
- imported package perl-Dist-Zilla-Plugin-InstallRelease


* Mon Mar 14 2011 cpan2dist 0.006-1mga
- initial mageia release, generated with cpan2dist