Name: perl-App-Nopaste Version: 0.10 Release: 1%{?dist} Summary: Easy access to any pastebin License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/App-Nopaste/ Source0: http://www.cpan.org/authors/id/S/SA/SARTAK/App-Nopaste-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Module::Pluggable) BuildRequires: perl(Moose) BuildRequires: perl(MooseX::Getopt) BuildRequires: perl(Test::More) BuildRequires: perl(WWW::Mechanize) Requires: perl(Module::Pluggable) Requires: perl(Moose) Requires: perl(MooseX::Getopt) Requires: perl(WWW::Mechanize) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Pastebins (also known as nopaste sites) let you post text, usually code, for public viewing. They're used a lot in IRC channels to show code that would normally be too long to give directly in the channel (hence the name nopaste). %prep %setup -q -n App-Nopaste-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes %{perl_vendorlib}/* %{_bindir}/* %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Mon Mar 30 2009 Dave Cross 0.10-1 - Specfile autogenerated by cpanspec 1.77.