Sophie

Sophie

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

perl-Filter-Simple-0.850.0-2.mga1.src.rpm

%define upstream_name    Filter-Simple
%define upstream_version 0.85

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

Summary:    Simplified source filtering
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Filter/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Filter::Util::Call)
BuildRequires: perl(Text::Balanced)
BuildArch: noarch


%description
The Problem
    Source filtering is an immensely powerful feature of recent versions of
    Perl. It allows one to extend the language itself (e.g. the Switch
    module), to simplify the language (e.g. Language::Pythonesque), or to
    completely recast the language (e.g. Lingua::Romana::Perligata).
    Effectively, it allows one to use the full power of Perl as its own,
    recursively applied, macro language.

    The excellent Filter::Util::Call module (by Paul Marquess) provides a
    usable Perl interface to source filtering, but it is often too powerful
    and not nearly as simple as it could be.

    To use the module it is necessary to do the following:

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

%changelog
* Fri Feb 18 2011 jquelin <jquelin> 0.850.0-2.mga1
+ Revision: 53615
- rebuild

* Fri Jan 21 2011 jquelin <jquelin> 0.850.0-1.mga1
+ Revision: 29121
- mageia rebuild
- imported package perl-Filter-Simple