# # spec file for package perl-Attean # # Copyright (c) 2025 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define cpan_name Attean Name: perl-Attean Version: 0.35.0 Release: 0 # 0.035 -> normalize -> 0.35.0 %define cpan_version 0.035 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Semantic Web Framework URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/G/GW/GWILLIAMS/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Algorithm::Combinatorics) BuildRequires: perl(DateTime::Format::W3CDTF) BuildRequires: perl(Exporter::Tiny) >= 1 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59 BuildRequires: perl(File::Slurp) BuildRequires: perl(HTTP::Headers) BuildRequires: perl(HTTP::Message::PSGI) BuildRequires: perl(HTTP::Negotiate) BuildRequires: perl(IRI) >= 0.5 BuildRequires: perl(JSON) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(List::Util) >= 1.56 BuildRequires: perl(Math::Cartesian::Product) >= 1.8 BuildRequires: perl(Module::Pluggable) BuildRequires: perl(Moo) >= 2.0.2 BuildRequires: perl(MooX::Log::Any) BuildRequires: perl(PerlIO::Layers) BuildRequires: perl(Regexp::Common) BuildRequires: perl(Role::Tiny) >= 2.0.3 BuildRequires: perl(Set::Scalar) BuildRequires: perl(Sub::Install) BuildRequires: perl(Sub::Util) >= 1.4 BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::LWP::UserAgent) BuildRequires: perl(Test::Modern) >= 0.12 BuildRequires: perl(Test::Moose) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::Roo) BuildRequires: perl(Test::TypeTiny) BuildRequires: perl(Text::CSV) BuildRequires: perl(Text::Table) BuildRequires: perl(Try::Tiny) BuildRequires: perl(Type::Tiny) BuildRequires: perl(URI::Escape) >= 1.360 BuildRequires: perl(URI::NamespaceMap) >= 0.120 BuildRequires: perl(UUID::Tiny) BuildRequires: perl(XML::SAX) BuildRequires: perl(XML::Simple) BuildRequires: perl(namespace::clean) Requires: perl(Algorithm::Combinatorics) Requires: perl(DateTime::Format::W3CDTF) Requires: perl(Exporter::Tiny) >= 1 Requires: perl(File::Slurp) Requires: perl(HTTP::Negotiate) Requires: perl(IRI) >= 0.5 Requires: perl(JSON) Requires: perl(LWP::UserAgent) Requires: perl(List::MoreUtils) Requires: perl(List::Util) >= 1.56 Requires: perl(Math::Cartesian::Product) >= 1.8 Requires: perl(Module::Pluggable) Requires: perl(Moo) >= 2.0.2 Requires: perl(MooX::Log::Any) Requires: perl(PerlIO::Layers) Requires: perl(Role::Tiny) >= 2.0.3 Requires: perl(Set::Scalar) Requires: perl(Sub::Install) Requires: perl(Sub::Util) >= 1.4 Requires: perl(Test::Modern) >= 0.12 Requires: perl(Test::Moose) Requires: perl(Test::Roo) Requires: perl(Test::TypeTiny) Requires: perl(Text::CSV) Requires: perl(Text::Table) Requires: perl(Try::Tiny) Requires: perl(Type::Tiny) Requires: perl(URI::Escape) >= 1.360 Requires: perl(URI::NamespaceMap) >= 0.120 Requires: perl(UUID::Tiny) Requires: perl(XML::SAX) Requires: perl(namespace::clean) Provides: perl(Attean) = %{version} Provides: perl(Attean::API) = %{version} Provides: perl(Attean::API::AbbreviatingParser) = %{version} Provides: perl(Attean::API::AbbreviatingSerializer) = %{version} Provides: perl(Attean::API::AggregateExpression) = %{version} Provides: perl(Attean::API::Algebra) = %{version} Provides: perl(Attean::API::AppendableSerializer) = %{version} Provides: perl(Attean::API::AtOnceParser) = %{version} Provides: perl(Attean::API::BinaryExpression) = %{version} Provides: perl(Attean::API::BinaryQueryTree) = %{version} Provides: perl(Attean::API::Binding) = %{version} Provides: perl(Attean::API::BindingSubstitutionPlan) = %{version} Provides: perl(Attean::API::Blank) = %{version} Provides: perl(Attean::API::BlankOrIRI) = %{version} Provides: perl(Attean::API::BlankOrIRIOrTriple) = %{version} Provides: perl(Attean::API::BooleanLiteral) = %{version} Provides: perl(Attean::API::BulkUpdatableModel) = %{version} Provides: perl(Attean::API::BulkUpdatableStore) = %{version} Provides: perl(Attean::API::CDTBlankNodeMappingParser) = %{version} Provides: perl(Attean::API::CanonicalizingBindingIterator) Provides: perl(Attean::API::CanonicalizingBindingSet) = %{version} Provides: perl(Attean::API::CanonicalizingLiteral) = %{version} Provides: perl(Attean::API::CostPlanner) = %{version} Provides: perl(Attean::API::DateTimeLiteral) = %{version} Provides: perl(Attean::API::DirectedAcyclicGraph) = %{version} Provides: perl(Attean::API::ETagCacheableModel) = %{version} Provides: perl(Attean::API::ETagCacheableQuadStore) = %{version} Provides: perl(Attean::API::ETagCacheableTripleStore) = %{version} Provides: perl(Attean::API::Expression) = %{version} Provides: perl(Attean::API::IDPJoinPlanner) = %{version} Provides: perl(Attean::API::IRI) = %{version} Provides: perl(Attean::API::IntersectionScopeVariables) = %{version} Provides: perl(Attean::API::Iterator) = %{version} Provides: perl(Attean::API::JoinPlanner) = %{version} Provides: perl(Attean::API::Literal) = %{version} Provides: perl(Attean::API::MixedStatementIterator) = %{version} Provides: perl(Attean::API::MixedStatementParser) = %{version} Provides: perl(Attean::API::MixedStatementSerializer) = %{version} Provides: perl(Attean::API::Model) = %{version} Provides: perl(Attean::API::MutableModel) = %{version} Provides: perl(Attean::API::MutableQuadStore) = %{version} Provides: perl(Attean::API::MutableTripleStore) = %{version} Provides: perl(Attean::API::NaiveJoinPlanner) = %{version} Provides: perl(Attean::API::NaryExpression) = %{version} Provides: perl(Attean::API::NaryPropertyPath) = %{version} Provides: perl(Attean::API::NullaryQueryTree) = %{version} Provides: perl(Attean::API::NumericLiteral) = %{version} Provides: perl(Attean::API::Parser) = %{version} Provides: perl(Attean::API::Plan) = %{version} Provides: perl(Attean::API::Plan::Join) = %{version} Provides: perl(Attean::API::PropertyPath) = %{version} Provides: perl(Attean::API::PullParser) = %{version} Provides: perl(Attean::API::PushParser) = %{version} Provides: perl(Attean::API::Quad) = %{version} Provides: perl(Attean::API::QuadIterator) = %{version} Provides: perl(Attean::API::QuadParser) = %{version} Provides: perl(Attean::API::QuadPattern) = %{version} Provides: perl(Attean::API::QuadSerializer) = %{version} Provides: perl(Attean::API::QuadStore) = %{version} Provides: perl(Attean::API::QueryPlanner) = %{version} Provides: perl(Attean::API::QueryTree) = %{version} Provides: perl(Attean::API::RDFStarModel) = %{version} Provides: perl(Attean::API::RDFStarStore) = %{version} Provides: perl(Attean::API::RepeatableIterator) = %{version} Provides: perl(Attean::API::Result) = %{version} Provides: perl(Attean::API::ResultIterator) = %{version} Provides: perl(Attean::API::ResultOrTerm) = %{version} Provides: perl(Attean::API::ResultOrTermIterator) = %{version} Provides: perl(Attean::API::ResultOrTermParser) = %{version} Provides: perl(Attean::API::ResultParser) = %{version} Provides: perl(Attean::API::ResultSerializer) = %{version} Provides: perl(Attean::API::SPARQLQuerySerializable) = %{version} Provides: perl(Attean::API::SPARQLSerializable) = %{version} Provides: perl(Attean::API::Serializer) = %{version} Provides: perl(Attean::API::SimpleCostPlanner) = %{version} Provides: perl(Attean::API::StatementIterator) = %{version} Provides: perl(Attean::API::Store) = %{version} Provides: perl(Attean::API::StringyItemIterator) = %{version} Provides: perl(Attean::API::Term) = %{version} Provides: perl(Attean::API::TermIterator) = %{version} Provides: perl(Attean::API::TermOrTriple) = %{version} Provides: perl(Attean::API::TermOrVariable) = %{version} Provides: perl(Attean::API::TermOrVariableOrTriplePattern) = %{version} Provides: perl(Attean::API::TermParser) = %{version} Provides: perl(Attean::API::TermSerializer) = %{version} Provides: perl(Attean::API::TimeCacheableModel) = %{version} Provides: perl(Attean::API::TimeCacheableQuadStore) = %{version} Provides: perl(Attean::API::TimeCacheableTripleStore) = %{version} Provides: perl(Attean::API::Triple) = %{version} Provides: perl(Attean::API::TripleIterator) = %{version} Provides: perl(Attean::API::TripleOrQuad) = %{version} Provides: perl(Attean::API::TripleOrQuadPattern) = %{version} Provides: perl(Attean::API::TripleParser) = %{version} Provides: perl(Attean::API::TriplePattern) = %{version} Provides: perl(Attean::API::TripleSerializer) = %{version} Provides: perl(Attean::API::TripleStore) = %{version} Provides: perl(Attean::API::UnaryExpression) = %{version} Provides: perl(Attean::API::UnaryPropertyPath) = %{version} Provides: perl(Attean::API::UnaryQueryTree) = %{version} Provides: perl(Attean::API::UnionScopeVariables) = %{version} Provides: perl(Attean::API::UnionScopeVariablesPlan) = %{version} Provides: perl(Attean::API::Variable) = %{version} Provides: perl(Attean::AddativeMutableTripleModel) = %{version} Provides: perl(Attean::AddativeTripleModel) = %{version} Provides: perl(Attean::AddativeTripleModelRole) = %{version} Provides: perl(Attean::AggregateExpression) = %{version} Provides: perl(Attean::Algebra::Add) = %{version} Provides: perl(Attean::Algebra::AlternativePath) = %{version} Provides: perl(Attean::Algebra::Ask) = %{version} Provides: perl(Attean::Algebra::BGP) = %{version} Provides: perl(Attean::Algebra::Clear) = %{version} Provides: perl(Attean::Algebra::Comparator) = %{version} Provides: perl(Attean::Algebra::Construct) = %{version} Provides: perl(Attean::Algebra::Create) = %{version} Provides: perl(Attean::Algebra::Describe) = %{version} Provides: perl(Attean::Algebra::Distinct) = %{version} Provides: perl(Attean::Algebra::Extend) = %{version} Provides: perl(Attean::Algebra::Filter) = %{version} Provides: perl(Attean::Algebra::Graph) = %{version} Provides: perl(Attean::Algebra::Group) = %{version} Provides: perl(Attean::Algebra::InversePath) = %{version} Provides: perl(Attean::Algebra::Join) = %{version} Provides: perl(Attean::Algebra::LeftJoin) = %{version} Provides: perl(Attean::Algebra::Load) = %{version} Provides: perl(Attean::Algebra::Minus) = %{version} Provides: perl(Attean::Algebra::Modify) = %{version} Provides: perl(Attean::Algebra::NegatedPropertySet) = %{version} Provides: perl(Attean::Algebra::OneOrMorePath) = %{version} Provides: perl(Attean::Algebra::OrderBy) = %{version} Provides: perl(Attean::Algebra::Path) = %{version} Provides: perl(Attean::Algebra::PredicatePath) = %{version} Provides: perl(Attean::Algebra::Project) = %{version} Provides: perl(Attean::Algebra::Query) = %{version} Provides: perl(Attean::Algebra::Reduced) = %{version} Provides: perl(Attean::Algebra::Sequence) = %{version} Provides: perl(Attean::Algebra::SequencePath) = %{version} Provides: perl(Attean::Algebra::Service) = %{version} Provides: perl(Attean::Algebra::Slice) = %{version} Provides: perl(Attean::Algebra::Table) = %{version} Provides: perl(Attean::Algebra::Unfold) = 0.31.0 Provides: perl(Attean::Algebra::Union) = %{version} Provides: perl(Attean::Algebra::Update) = %{version} Provides: perl(Attean::Algebra::ZeroOrMorePath) = %{version} Provides: perl(Attean::Algebra::ZeroOrOnePath) = %{version} Provides: perl(Attean::BinaryExpression) = %{version} Provides: perl(Attean::BindingEqualityTest) = %{version} Provides: perl(Attean::Blank) = %{version} Provides: perl(Attean::CastExpression) = %{version} Provides: perl(Attean::CodeIterator) = %{version} Provides: perl(Attean::ExistsExpression) = %{version} Provides: perl(Attean::ExistsPlanExpression) = %{version} Provides: perl(Attean::FunctionExpression) = %{version} Provides: perl(Attean::IDPQueryPlanner) = %{version} Provides: perl(Attean::IRI) = %{version} Provides: perl(Attean::IteratorSequence) = %{version} Provides: perl(Attean::ListIterator) = %{version} Provides: perl(Attean::Literal) = %{version} Provides: perl(Attean::Mapper) = %{version} Provides: perl(Attean::MutableQuadModel) = %{version} Provides: perl(Attean::MutableTripleModel) = %{version} Provides: perl(Attean::Plan::ALPPath) = %{version} Provides: perl(Attean::Plan::Aggregate) = %{version} Provides: perl(Attean::Plan::Clear) = %{version} Provides: perl(Attean::Plan::Construct) = %{version} Provides: perl(Attean::Plan::Describe) = %{version} Provides: perl(Attean::Plan::Drop) = %{version} Provides: perl(Attean::Plan::EBVFilter) = %{version} Provides: perl(Attean::Plan::Exists) = %{version} Provides: perl(Attean::Plan::Extend) = %{version} Provides: perl(Attean::Plan::HashDistinct) = %{version} Provides: perl(Attean::Plan::HashJoin) = %{version} Provides: perl(Attean::Plan::Iterator) = %{version} Provides: perl(Attean::Plan::Load) = %{version} Provides: perl(Attean::Plan::Merge) = %{version} Provides: perl(Attean::Plan::NestedLoopJoin) = %{version} Provides: perl(Attean::Plan::OrderBy) = %{version} Provides: perl(Attean::Plan::Project) = %{version} Provides: perl(Attean::Plan::Quad) = %{version} Provides: perl(Attean::Plan::Sequence) = %{version} Provides: perl(Attean::Plan::Service) = %{version} Provides: perl(Attean::Plan::Slice) = %{version} Provides: perl(Attean::Plan::Table) = %{version} Provides: perl(Attean::Plan::TripleTemplateToModelQuadMethod) = %{version} Provides: perl(Attean::Plan::Unfold) = 0.32.0 Provides: perl(Attean::Plan::Union) = %{version} Provides: perl(Attean::Plan::Unique) = %{version} Provides: perl(Attean::Plan::ZeroOrOnePath) = %{version} Provides: perl(Attean::Quad) = %{version} Provides: perl(Attean::QuadModel) = %{version} Provides: perl(Attean::QuadPattern) = %{version} Provides: perl(Attean::QueryPlanner) = %{version} Provides: perl(Attean::RDF) = %{version} Provides: perl(Attean::Result) = %{version} Provides: perl(Attean::SPARQLClient) = %{version} Provides: perl(Attean::SimpleQueryEvaluator) = %{version} Provides: perl(Attean::SimpleQueryEvaluator::ExpressionEvaluator) = %{version} Provides: perl(Attean::TermMap) = %{version} Provides: perl(Attean::TreeRewriter) = %{version} Provides: perl(Attean::Triple) = %{version} Provides: perl(Attean::TripleModel) = %{version} Provides: perl(Attean::TriplePattern) = %{version} Provides: perl(Attean::UnaryExpression) = %{version} Provides: perl(Attean::ValueExpression) = %{version} Provides: perl(Attean::Variable) = %{version} Provides: perl(AtteanX::API::JoinRotatingPlanner) = %{version} Provides: perl(AtteanX::API::Lexer) = %{version} Provides: perl(AtteanX::Functions::CompositeLists) = %{version} Provides: perl(AtteanX::Functions::CompositeLists::ListLiteral) Provides: perl(AtteanX::Functions::CompositeLists::TurtleLexerWithNull) Provides: perl(AtteanX::Functions::CompositeMaps) = 0.32.0 Provides: perl(AtteanX::Functions::CompositeMaps::MapLiteral) Provides: perl(AtteanX::Functions::CompositeMaps::TurtleLexerWithNull) Provides: perl(AtteanX::Parser::NQuads) = %{version} Provides: perl(AtteanX::Parser::NTriples) = %{version} Provides: perl(AtteanX::Parser::NTuples) = %{version} Provides: perl(AtteanX::Parser::RDFXML) = %{version} Provides: perl(AtteanX::Parser::RDFXML::SAXHandler) Provides: perl(AtteanX::Parser::SPARQL) = %{version} Provides: perl(AtteanX::Parser::SPARQL::ObjectWrapper) = %{version} Provides: perl(AtteanX::Parser::SPARQLJSON) = %{version} Provides: perl(AtteanX::Parser::SPARQLLex) = %{version} Provides: perl(AtteanX::Parser::SPARQLLex::Iterator) = %{version} Provides: perl(AtteanX::Parser::SPARQLTSV) = %{version} Provides: perl(AtteanX::Parser::SPARQLXML) = %{version} Provides: perl(AtteanX::Parser::SPARQLXML::SAXHandler) = %{version} Provides: perl(AtteanX::Parser::Trig) = %{version} Provides: perl(AtteanX::Parser::Turtle) = %{version} Provides: perl(AtteanX::Parser::Turtle::Constants) = %{version} Provides: perl(AtteanX::Parser::Turtle::Lexer) = %{version} Provides: perl(AtteanX::Parser::Turtle::Token) = %{version} Provides: perl(AtteanX::SPARQL::Constants) = %{version} Provides: perl(AtteanX::SPARQL::Token) = %{version} Provides: perl(AtteanX::Serializer::CanonicalNTriples) = %{version} Provides: perl(AtteanX::Serializer::NQuads) = %{version} Provides: perl(AtteanX::Serializer::NTriples) = %{version} Provides: perl(AtteanX::Serializer::NTuples) = %{version} Provides: perl(AtteanX::Serializer::RDFXML) = %{version} Provides: perl(AtteanX::Serializer::SPARQL) = %{version} Provides: perl(AtteanX::Serializer::SPARQLCSV) = %{version} Provides: perl(AtteanX::Serializer::SPARQLHTML) = %{version} Provides: perl(AtteanX::Serializer::SPARQLJSON) = %{version} Provides: perl(AtteanX::Serializer::SPARQLTSV) = %{version} Provides: perl(AtteanX::Serializer::SPARQLXML) = %{version} Provides: perl(AtteanX::Serializer::TextTable) = %{version} Provides: perl(AtteanX::Serializer::Turtle) = %{version} Provides: perl(AtteanX::Serializer::TurtleTokens) = %{version} Provides: perl(AtteanX::Store::Memory) = %{version} Provides: perl(AtteanX::Store::Simple) = %{version} Provides: perl(AtteanX::Store::SimpleTripleStore) = %{version} Provides: perl(Test::Attean::ETagCacheableQuadStore) Provides: perl(Test::Attean::MutableETagCacheableQuadStore) Provides: perl(Test::Attean::MutableQuadStore) Provides: perl(Test::Attean::MutableTimeCacheableQuadStore) Provides: perl(Test::Attean::MutableTripleStore) Provides: perl(Test::Attean::QuadStore) Provides: perl(Test::Attean::SPARQLStarSuite) Provides: perl(Test::Attean::SPARQLSuite) Provides: perl(Test::Attean::StoreCleanup) Provides: perl(Test::Attean::TimeCacheableQuadStore) Provides: perl(Test::Attean::TripleStore) Provides: perl(Test::Attean::W3CManifestTestSuite) Provides: perl(Types::Attean) = %{version} %undefine __perllib_provides %{perl_requires} %description Attean provides APIs for parsing, storing, querying, and serializing Semantic Web (RDF and SPARQL) data. %prep %autosetup -n %{cpan_name}-%{cpan_version} -p1 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes CONTRIBUTING README.md %changelog