# # spec file for package perl-RDF-Query # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-RDF-Query Version: 2.917 Release: 0 %define cpan_name RDF-Query Summary: Complete Sparql 1.1 Query and Update Implementation for Use with Rdf::Trine License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/RDF-Query/ Source0: http://www.cpan.org/authors/id/G/GW/GWILLIAMS/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Data::UUID) BuildRequires: perl(DateTime::Format::W3CDTF) BuildRequires: perl(Digest::SHA) BuildRequires: perl(Error) BuildRequires: perl(JSON) >= 2 BuildRequires: perl(Module::Pluggable) BuildRequires: perl(Parse::RecDescent) BuildRequires: perl(RDF::Trine) >= 1.004 BuildRequires: perl(Set::Scalar) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::JSON) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(URI) >= 1.52 BuildRequires: perl(YAML) Requires: perl(Data::UUID) Requires: perl(DateTime::Format::W3CDTF) Requires: perl(Digest::SHA) Requires: perl(Error) Requires: perl(JSON) >= 2 Requires: perl(Module::Pluggable) Requires: perl(Parse::RecDescent) Requires: perl(RDF::Trine) >= 1.004 Requires: perl(Set::Scalar) Requires: perl(URI) >= 1.52 Recommends: perl(Geo::Distance) >= 0.09 Recommends: perl(Getopt::Simple) Recommends: perl(LWP::Simple) %{perl_requires} %description RDF::Query allows SPARQL and RDQL queries to be run against an RDF model, returning rows of matching results. See http://www.w3.org/TR/rdf-sparql-query/ for more information on SPARQL. See http://www.w3.org/Submission/2004/SUBM-RDQL-20040109/ for more information on RDQL. %prep %setup -q -n %{cpan_name}-%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes.ttl doap.rdf examples README README.html %changelog