Author: mmaslano
Update of /cvs/pkgs/rpms/perl-Syntax-Highlight-Perl6/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28375
Added Files:
Syntax-Highlight-Perl6-0.78-wrong_interpreter.patch
perl-Syntax-Highlight-Perl6.spec
Log Message:
* Mon Feb 8 2010 Marcela Mašláňová <mmaslano(a)redhat.com> 0.78-2
- fix rpmlint complaints
Syntax-Highlight-Perl6-0.78-wrong_interpreter.patch:
Cursor.pmc | 1 -
1 file changed, 1 deletion(-)
--- NEW FILE Syntax-Highlight-Perl6-0.78-wrong_interpreter.patch ---
diff -up Syntax-Highlight-Perl6-0.78/lib/Cursor.pmc.old
Syntax-Highlight-Perl6-0.78/lib/Cursor.pmc
--- Syntax-Highlight-Perl6-0.78/lib/Cursor.pmc.old 2010-01-10 09:02:37.000000000 +0100
+++ Syntax-Highlight-Perl6-0.78/lib/Cursor.pmc 2010-02-08 10:09:01.376238154 +0100
@@ -1,4 +1,3 @@
-#!perl
use strict;
use warnings;
no warnings 'recursion';
--- NEW FILE perl-Syntax-Highlight-Perl6.spec ---
Name: perl-Syntax-Highlight-Perl6
Version: 0.78
Release: 2%{?dist}
Summary: Perl 6 Syntax Highlighter
License: (GPL+ or Artistic) and Artistic 2.0 and (MIT or GPLv2)
Group: Development/Libraries
URL:
http://search.cpan.org/dist/Syntax-Highlight-Perl6/
Source0:
http://www.cpan.org/authors/id/A/AZ/AZAWAWI/Syntax-Highlight-Perl6-%{vers...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: Syntax-Highlight-Perl6-0.78-wrong_interpreter.patch
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Moose) >= 0.89
BuildRequires: perl(Test::Exception) >= 0.27
BuildRequires: perl(Test::More) >= 0.86
BuildRequires: perl(YAML::XS) >= 0.32
Requires: perl(Moose) >= 0.89
Requires: perl(YAML::XS) >= 0.32
Provides: perl(STD) perl(mangle.pl)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
%description
Syntax::Highlight::Perl6 parses Perl 6 source code using an embedded
STD.pm. It matches parse tree nodes to colors then returns them in
different output formats. It can be used to create web pages with colorful
source code samples in its simple and snippet html modes, or it can be used
as a learning tool in examining STD.pm's output using the JavaScript node
viewer in its full html mode. Or you can use its parse tree Perl 5 records
to build your next great idea.
%prep
%setup -q -n Syntax-Highlight-Perl6-%{version}
%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$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 README
%{perl_vendorlib}/*
/usr/bin/hilitep6
%{_mandir}/man1/hilitep6.*
%{_mandir}/man3/*
%changelog
* Mon Feb 8 2010 Marcela Mašláňová <mmaslano(a)redhat.com> 0.78-2
- fix rpmlint complaints
* Thu Feb 04 2010 Marcela Mašláňová <mmaslano(a)redhat.com> 0.78-1
- Specfile autogenerated by cpanspec 1.78.