Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > cc49d7bd204ec3e6faf5b190750f1e27 > files > 2

pugs-6.0.12-1mdk.src.rpm

%define name	pugs
%define version	6.0.12
%define	release	1mdk
%define module  Perl6-Pugs

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	A Perl 6 interpreter
License:	GPL or Artistic
Group:		Development/Perl
Source0:	%{module}-%{version}.tar.bz2
Url:		http://search.cpan.org/search/Perl6-Pugs
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	perl-devel
BuildRequires:	ghc >= 6.2.2

%description
Pugs is an interpreter for Perl 6, written in Haskell. It aims to implement
the full Perl6 specification, as detailed in the Synopses.

%prep
%setup -q -n %{module}-%{version}

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

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std
# note that this is a transient Perl 6 lib directory.
rm -f %{buildroot}/usr/lib/perl6/*/perllocal.pod

%clean 
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog examples README
%{perl_vendorlib}/Perl6/*
%{perl_vendorlib}/Pugs/*
%{_mandir}/*/*
%{_bindir}/*

%changelog
* Sun Mar 20 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 6.0.12-1mdk
- 6.0.12

* Sun Mar 13 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 6.0.11-1mdk
- 6.0.11

* Mon Mar 07 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 6.0.10-1mdk
- 6.0.10

* Sun Feb 27 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 6.0.8-1mdk
- Initial MDK release.