%define upstream_name CQL-Parser %define upstream_version 1.12 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: compiles CQL strings into parse trees of Node subtypes License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/CQL/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Class::Accessor) >= 0.100.0 BuildRequires: perl(Clone) >= 0.150.0 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.590.0 BuildRequires: perl(String::Tokenizer) >= 0.50.0 BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildArch: noarch %description CQL::Parser provides a mechanism to parse Common Query Language (CQL) statements. The best description of CQL comes from the CQL homepage at the Library of Congress <http://www.loc.gov/z3950/agency/zing/cql/> CQL is a formal language for representing queries to information retrieval systems such as web indexes, bibliographic catalogs and museum collection information. The CQL design objective is that queries be human readable and human writable, and that the language be intuitive while maintaining the expressiveness of more complex languages. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes META.yml MYMETA.yml README %{_mandir}/man3/* %perl_vendorlib/CQL %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.120.0-2.mga3 + Revision: 363716 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Nov 07 2012 jquelin <jquelin> 1.120.0-1.mga3 + Revision: 315801 - update to 1.12 * Thu Jan 20 2011 jquelin <jquelin> 1.100.0-1.mga1 + Revision: 25894 - mageia rebuild - imported package perl-CQL-Parser