%define upstream_name Net-IRC %define upstream_version 0.79 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Perl interface to the Internet Relay Chat protocol License: GPL Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Net/%{upstream_name}-%{upstream_version}.tar.gz Patch0: %{name}-0.75-workwithlocalhost.patch Patch2: %{name}-0.76-no-warning.patch Buildarch: noarch %description %{upstream_name} perl module allows you to access IRC networks with perl. It is used to program irc bot in perl or various software. %prep %setup -q -n %{upstream_name}-%{upstream_version} %patch0 -p1 %patch2 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install %{__rm} -rf %{buildroot} %makeinstall_std %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc README Changes META.yml %{perl_vendorlib}/Net %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.790.0-2.mga3 + Revision: 370668 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 20 2011 jquelin <jquelin> 0.790.0-1.mga1 + Revision: 26700 - mageia rebuild - imported package perl-Net-IRC