raptor2,rasqal,redland for libreoffice
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
docdir = "/%s/%s" % (get.docDIR(), get.srcNAME())
|
||||
|
||||
def setup():
|
||||
autotools.configure("--with-www=curl \
|
||||
--disable-gtk-doc \
|
||||
--with-yajl=no \
|
||||
--with-html-dir=%s/html\
|
||||
--with-icu-config=/usr/bin/icu-config \
|
||||
--disable-static" % docdir)
|
||||
|
||||
# for fix unused dependency
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dosym("raptor2/raptor.h", "/usr/include/raptor.h")
|
||||
pisitools.dosym("raptor2/raptor2.h", "/usr/include/raptor2.h")
|
||||
pisitools.insinto("%s/html" % docdir, "%s/%s/html/raptor2/*" % (get.installDIR(), docdir))
|
||||
pisitools.removeDir("%s/html/raptor2" % docdir)
|
||||
pisitools.dohtml("*.html")
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
|
||||
@@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>raptor2</Name>
|
||||
<Homepage>http://librdf.org/raptor</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<Summary>The RDF Parser Toolkit</Summary>
|
||||
<Description>Raptor2 is the RDF Parser Toolkit for Redland that provides a set of Resource Description Framework (RDF) parsers and serializers.</Description>
|
||||
<Archive sha1sum="504231f87024df9aceb90eb957196b557b4b8e38" type="targz">http://download.librdf.org/source/raptor2-2.0.15.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
<Dependency>gtk-doc</Dependency>
|
||||
<Dependency>libxslt-devel</Dependency>
|
||||
<Dependency>icu4c-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>raptor2</Name>
|
||||
<IsA>library</IsA>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>icu4c</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>libxslt</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="man">/usr/share/man/man1</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>raptor2-devel</Name>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Development headers for raptor2</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">raptor2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
<Path fileType="executable">/usr/bin/raptor-config</Path>
|
||||
<Path fileType="man">/usr/share/man/man1/raptor-config.1</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>raptor2-docs</Name>
|
||||
<IsA>data:doc</IsA>
|
||||
<Summary>Documentation files for raptor</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">raptor2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/raptor2/html</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2017-03-03</Date>
|
||||
<Version>2.0.15</Version>
|
||||
<Comment>First Release</Comment>
|
||||
<Name>ayhanyalcinsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>raptor2</Name>
|
||||
<Summary xml:lang="tr">RDF ayrıştırıcı araç kiti</Summary>
|
||||
<Description xml:lang="tr">librdf, RDF ayrıştırıcılar ve yorumlayıcılar için gerekli kitaplığı ve araçları içerir.</Description>
|
||||
<Description xml:lang="fr">Raptor est une boîte à outils d'analyse RDF pour Redland fournissant un ensemble d'analyseurs et de sérialiseurs (serializers) pour Resource Description Framework (RDF - Cadre de Développement pour description de ressource).</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>raptor2-devel</Name>
|
||||
<Summary xml:lang="tr">Raptor için başlık dosyaları</Summary>
|
||||
<Description xml:lang="tr">raptor2-devel raptor2 için başlık dosyalarını içerir.</Description>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>raptor2-docs</Name>
|
||||
<Summary xml:lang="tr">Raptor için belgelendirme dosyaları</Summary>
|
||||
<Description xml:lang="tr">raptor2-docs raptor2 için belgelendirme dosyalarını içerir.</Description>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
docdir = "/%s/%s" % (get.docDIR(), get.srcNAME())
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static \
|
||||
--enable-pcre \
|
||||
--enable-xml2 \
|
||||
--with-regex-library=pcre \
|
||||
--disable-gtk-doc \
|
||||
--with-html-dir=%s" % docdir)
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dosym("rasqal/rasqal.h", "/usr/include/rasqal.h")
|
||||
pisitools.insinto("%s/html" % docdir, "%s/%s/rasqal/*" % (get.installDIR(), docdir))
|
||||
pisitools.removeDir("%s/rasqal" % docdir)
|
||||
pisitools.dohtml("*.html")
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog*", "COPYING*", "NEWS", "README")
|
||||
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>rasqal</Name>
|
||||
<Homepage>http://librdf.org/rasqal</Homepage>
|
||||
<Packager>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<License>Apache-2.0</License>
|
||||
<IsA>app:console</IsA>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Library that handles Resource Description Framework (RDF)</Summary>
|
||||
<Description>Rasqal is a C library that handles Resource Description Framework (RDF) query syntaxes, query construction and query execution returning result bindings. The supported query languages are SPARQL and RDQL.</Description>
|
||||
<Archive sha1sum="281c2e0a352c53ef1656bfe778c380226d61726f" type="targz">http://download.librdf.org/source/rasqal-0.9.33.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>raptor2-devel</Dependency>
|
||||
<Dependency>libpcre-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>mpfr-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>rasqal</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>raptor2</Dependency>
|
||||
<Dependency>libpcre</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>rasqal-devel</Name>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Development files for rasqal</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">rasqal</Dependency>
|
||||
<Dependency>raptor2-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/rasqal-config</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
<Path fileType="man">/usr/share/man/man1/rasqal-config*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>rasqal-docs</Name>
|
||||
<IsA>data:doc</IsA>
|
||||
<Summary>Development documents for rasqal in HTML format</Summary>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/rasqal/html</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2017-03-03</Date>
|
||||
<Version>0.9.33</Version>
|
||||
<Comment>First Release</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>rasqal</Name>
|
||||
<Summary xml:lang="tr">RDF (Resource Description Framework) işleme kitaplığı</Summary>
|
||||
<Description xml:lang="tr">Rasqal RDF (Resource Description Framework) sözdizimindeki sorguları işleyebilen bir C kitaplığıdır. SPARQL ve RDQL biçimlerini destekler.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>rasqal-devel</Name>
|
||||
<Summary xml:lang="tr">rasqal için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>rasqal-docs</Name>
|
||||
<Summary xml:lang="tr">rasqal için HTML formatında geliştirme belgeleri</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
docdir = "/%s/%s" % (get.docDIR(), get.srcNAME())
|
||||
|
||||
def setup():
|
||||
pisitools.cflags.add("-fno-strict-aliasing")
|
||||
pisitools.cxxflags.add("-fno-strict-aliasing")
|
||||
|
||||
autotools.configure("--disable-static \
|
||||
--disable-gtk-doc \
|
||||
--with-raptor=system \
|
||||
--with-rasqal=system ")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dohtml("*.html")
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog*", "COPYING", "NEWS", "README")
|
||||
@@ -0,0 +1,13 @@
|
||||
diff -Nuar redland-1.0.10.orig/src/rdf_digest.c redland-1.0.10/src/rdf_digest.c
|
||||
--- redland-1.0.10.orig/src/rdf_digest.c 2010-03-07 01:30:22.588657802 +0200
|
||||
+++ redland-1.0.10/src/rdf_digest.c 2010-03-07 01:37:17.716408728 +0200
|
||||
@@ -209,6 +209,9 @@
|
||||
{
|
||||
librdf_digest* d;
|
||||
|
||||
+ if (!factory)
|
||||
+ return NULL;
|
||||
+
|
||||
librdf_world_open(world);
|
||||
|
||||
d=(librdf_digest*)LIBRDF_CALLOC(librdf_digest, 1, sizeof(librdf_digest));
|
||||
@@ -0,0 +1,34 @@
|
||||
diff -Naur redland-1.0.9-orig/configure.ac redland-1.0.9/configure.ac
|
||||
--- redland-1.0.9-orig/configure.ac 2009-07-28 14:59:04.361703816 +0300
|
||||
+++ redland-1.0.9/configure.ac 2009-07-28 14:59:16.608454149 +0300
|
||||
@@ -977,8 +977,6 @@
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
redland.rdf
|
||||
-docs/Makefile
|
||||
-docs/version.xml
|
||||
examples/Makefile
|
||||
src/Makefile
|
||||
src/redland.spec
|
||||
@@ -990,9 +988,6 @@
|
||||
AC_CONFIG_FILES([redland-config], [chmod +x redland-config])
|
||||
AC_CONFIG_FILES([redland-src-config], [chmod +x redland-src-config])
|
||||
|
||||
-dnl Check for gtk-doc and docbook
|
||||
-GTK_DOC_CHECK([1.3])
|
||||
-
|
||||
AC_OUTPUT
|
||||
|
||||
AC_MSG_RESULT([
|
||||
diff -Naur redland-1.0.9-orig/Makefile.am redland-1.0.9/Makefile.am
|
||||
--- redland-1.0.9-orig/Makefile.am 2009-07-28 14:59:04.365626697 +0300
|
||||
+++ redland-1.0.9/Makefile.am 2009-07-28 14:59:24.224454025 +0300
|
||||
@@ -34,7 +34,7 @@
|
||||
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
|
||||
|
||||
# Subdirectories to build/install/distribute etc.
|
||||
-SUBDIRS=$(subdirs) src examples utils demos docs data
|
||||
+SUBDIRS=$(subdirs) src examples utils demos data
|
||||
|
||||
EXTRA_DIST=ChangeLog ChangeLog.1 ChangeLog.2 ChangeLog.3 ChangeLog.4 \
|
||||
ChangeLog.5 ChangeLog.6 ChangeLog.7 \
|
||||
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>redland</Name>
|
||||
<Homepage>http://librdf.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<License>Apache-2.0</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>High-level interface for the Resource Description Framework</Summary>
|
||||
<Description>Redland is a set of free software C libraries that provide support for the Resource Description Framework (RDF).</Description>
|
||||
<Archive sha1sum="a47a7e98f934d17d60a241db90be407a0abe3c5d" type="targz">http://download.librdf.org/source/redland-1.0.17.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>rasqal-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>redland</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>rasqal</Dependency>
|
||||
<Dependency>raptor2</Dependency>
|
||||
<Dependency>libtool-ltdl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="doc">/usr/share/gtk-doc/html/redland/</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share/redland</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>redland-devel</Name>
|
||||
<Summary>Development files for redland</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">redland</Dependency>
|
||||
<!-- librdf.h includes headers from packages below -->
|
||||
<Dependency>raptor2-devel</Dependency>
|
||||
<Dependency>rasqal-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="executable">/usr/bin/redland-config</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="man">/usr/share/man/man1/redland-config*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2017-03-03</Date>
|
||||
<Version>1.0.17</Version>
|
||||
<Comment>First Relase</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>redland</Name>
|
||||
<Summary xml:lang="tr">RDF (Resource Description Framework) için üst seviye katman kitaplıkları</Summary>
|
||||
<Description xml:lang="tr">Redland, RDF (Resource Description Framework) desteği sağlayan C kitaplıklarından oluşur.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>redland-devel</Name>
|
||||
<Summary xml:lang="tr">redland için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user