librdf.sqlite.podspec 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #
  2. # Be sure to run `pod lib lint librdf.sqlite.podspec' to ensure this is a
  3. # valid spec and remove all comments before submitting the spec.
  4. #
  5. # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
  6. #
  7. Pod::Spec.new do |s|
  8. s.name = "librdf.sqlite"
  9. s.version = File.read('VERSION')
  10. s.summary = "improved SQLite RDF triple store for Redland librdf"
  11. s.description = <<-DESC
  12. Improved [SQLite](http://sqlite.org) RDF triple [storage module](http://librdf.org/docs/api/redland-storage-modules.html)
  13. for [librdf](http://librdf.org/).
  14. Cross platform, plain C source file.
  15. Inspired by the [official sqlite store](https://github.com/dajobe/librdf/blob/master/src/rdf_storage_sqlite.c).
  16. ## Usage
  17. ```c
  18. #include "rdf_storage_sqlite_mro.h"
  19. ....
  20. librdf_world *world = librdf_new_world();
  21. librdf_init_storage_sqlite_mro(world); // register storage factory
  22. ....
  23. const char* options = "new='yes', contexts='no'";
  24. librdf_storage *newStorage = librdf_new_storage(world, LIBRDF_STORAGE_SQLITE_MRO, file_path, options);
  25. ```
  26. DESC
  27. s.homepage = "http://purl.mro.name/librdf.sqlite/"
  28. s.license = 'Human Rights'
  29. s.author = { "Marcus Rohrmoser" => "http://mro.name/me" }
  30. s.source = { :git => "https://github.com/mro/librdf.sqlite.git", :tag => s.version.to_s }
  31. s.requires_arc = false
  32. s.platform = :ios, '5.0'
  33. s.source_files = 'rdf_storage_sqlite_mro.{c,h}'
  34. s.public_header_files = 'rdf_storage_sqlite_mro.h'
  35. s.dependency 'librdf.ios', '~> 1.0'
  36. end