Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 8bb3cf9018 | |||
| acb1beb7c1 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:79c00235b08b90ecfc7a9405282d25d15df4bcf48a71d6557a6040afdd55c864
|
||||
size 92757
|
||||
3
dataquay-0.9.5.tar.bz2
Normal file
3
dataquay-0.9.5.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:deeed4a9ea87f62437990ddfb3c7c10e736010789fef81c04d93b371b0d2bb14
|
||||
size 94222
|
||||
@@ -1,10 +1,26 @@
|
||||
Index: dataquay-0.9.1/deploy/dataquay.pc.in
|
||||
Index: dataquay-0.9.5/deploy/dataquay.pc.in
|
||||
===================================================================
|
||||
--- dataquay-0.9.1.orig/deploy/dataquay.pc.in
|
||||
+++ dataquay-0.9.1/deploy/dataquay.pc.in
|
||||
@@ -7,4 +7,4 @@ Name: dataquay
|
||||
--- dataquay-0.9.5.orig/deploy/dataquay.pc.in
|
||||
+++ dataquay-0.9.5/deploy/dataquay.pc.in
|
||||
@@ -5,6 +5,6 @@ includedir=${prefix}/include
|
||||
|
||||
Name: dataquay
|
||||
Version: 0.9.1
|
||||
Description: C++ API for an RDF data store using Qt4 classes and containers
|
||||
-Description: C++ API for an RDF data store using Qt4 classes and containers
|
||||
+Description: C++ API for an RDF data store using Qt5/Qt6 classes and containers
|
||||
Libs: -L${libdir} -ldataquay %EXTRALIBS%
|
||||
-Cflags: -I${includedir}
|
||||
+Cflags: -I${includedir} -I${includedir}/dataquay
|
||||
Index: dataquay-0.9.5/lib.pro
|
||||
===================================================================
|
||||
--- dataquay-0.9.5.orig/lib.pro
|
||||
+++ dataquay-0.9.5/lib.pro
|
||||
@@ -77,7 +77,7 @@ linux* {
|
||||
includes.files = dataquay
|
||||
pkgconfig.path = $${LIBDIR}/pkgconfig
|
||||
pkgconfig.files = deploy/dataquay.pc
|
||||
- pkgconfig.extra = sed -e "'"s.%PREFIX%.$${PREFIX}."'" -e "'"s.%LIBDIR%.$${LIBDIR}."'" -e "'"s.%EXTRALIBS%.$${EXTRALIBS}."'" deploy/dataquay.pc.in > deploy/dataquay.pc
|
||||
+ pkgconfig.extra = sed -e "'"s.%PREFIX%.$${PREFIX}."'" -e "'"s.%LIBDIR%.$${LIBDIR}."'" -e "'"s.%EXTRALIBS%.$${EXTRALIBS}."'" -e "'"s,Version:.*,Version: $${VERSION},"'" deploy/dataquay.pc.in > deploy/dataquay.pc
|
||||
INSTALLS += target includes pkgconfig
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
Index: dataquay-0.9.1/config.pri
|
||||
Index: dataquay-0.9.5/config.pri
|
||||
===================================================================
|
||||
--- dataquay-0.9.1.orig/config.pri
|
||||
+++ dataquay-0.9.1/config.pri
|
||||
@@ -3,7 +3,7 @@ CONFIG += release
|
||||
--- dataquay-0.9.5.orig/config.pri
|
||||
+++ dataquay-0.9.5/config.pri
|
||||
@@ -3,8 +3,8 @@ CONFIG += release
|
||||
|
||||
# Define these to use the Redland datastore (http://librdf.org/)
|
||||
DEFINES += USE_REDLAND
|
||||
-QMAKE_CXXFLAGS += -I/usr/include/rasqal -I/usr/include/raptor2
|
||||
+QMAKE_CXXFLAGS += `pkg-config --cflags redland`
|
||||
EXTRALIBS += -lrdf
|
||||
-EXTRALIBS += -lrdf
|
||||
+QMAKE_CXXFLAGS += `pkg-config --cflags redland raptor2`
|
||||
+EXTRALIBS += -lrdf -lraptor2
|
||||
|
||||
# Define this to use the Sord datastore (http://drobilla.net/software/sord/)
|
||||
#DEFINES += USE_SORD
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
Index: dataquay-0.9.1/lib.pro
|
||||
Index: dataquay-0.9.5/lib.pro
|
||||
===================================================================
|
||||
--- dataquay-0.9.1.orig/lib.pro
|
||||
+++ dataquay-0.9.1/lib.pro
|
||||
@@ -4,8 +4,9 @@ exists(debug.pri) {
|
||||
}
|
||||
|
||||
--- dataquay-0.9.5.orig/lib.pro
|
||||
+++ dataquay-0.9.5/lib.pro
|
||||
@@ -6,6 +6,7 @@ exists(debug.pri) {
|
||||
TEMPLATE = lib
|
||||
-CONFIG += warn_on staticlib c++11
|
||||
+CONFIG += warn_on c++11
|
||||
CONFIG += warn_on c++11
|
||||
QT -= gui
|
||||
+LIBS += `pkg-config --libs redland`
|
||||
+LIBS += `pkg-config --libs redland raptor2`
|
||||
|
||||
TARGET = dataquay
|
||||
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 9 17:44:45 UTC 2025 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
- Update to version 0.9.5
|
||||
* Update to support Qt6
|
||||
* Add importString methods
|
||||
- Refresh dataquay-redland.patch, dataquay-sharedlib.patch
|
||||
and dataquay-includedir.patch
|
||||
- Switch to qt6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 07:44:06 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dataquay
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -13,33 +13,34 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define soname 0
|
||||
Name: dataquay
|
||||
Version: 0.9.1
|
||||
Version: 0.9.5
|
||||
Release: 0
|
||||
Summary: C++ API for RDF data stores
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://breakfastquay.com/dataquay/
|
||||
Source: http://breakfastquay.com/files/releases/%{name}-%{version}.tar.bz2
|
||||
URL: https://breakfastquay.com/dataquay/
|
||||
Source: https://breakfastquay.com/files/releases/%{name}-%{version}.tar.bz2
|
||||
Patch1: dataquay-lib64.patch
|
||||
Patch2: dataquay-redland.patch
|
||||
Patch4: dataquay-sharedlib.patch
|
||||
# PATCH-FIX-OPENSUSE dataquay-includedir.patch aloisio@gmx.co -- add dataquay subdir to include path
|
||||
# PATCH-FIX-OPENSUSE dataquay-includedir.patch aloisio@gmx.com -- add dataquay subdir to include path
|
||||
Patch5: dataquay-includedir.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libqt5-qtbase-common-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt6Core)
|
||||
BuildRequires: pkgconfig(Qt6Test)
|
||||
BuildRequires: pkgconfig(raptor2)
|
||||
BuildRequires: pkgconfig(redland)
|
||||
|
||||
%description
|
||||
Dataquay is a library that provides a C++ API for an
|
||||
RDF data store using Qt5 classes and containers.
|
||||
RDF data store using Qt6 classes and containers.
|
||||
|
||||
%package -n lib%{name}%{soname}
|
||||
Summary: C++ API for RDF data stores
|
||||
@@ -47,7 +48,7 @@ Group: System/Libraries
|
||||
|
||||
%description -n lib%{name}%{soname}
|
||||
Dataquay is a library that provides a C++ API for an
|
||||
RDF data store using Qt5 classes and containers.
|
||||
RDF data store using Qt6 classes and containers.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for dataquay, an RDF data store library
|
||||
@@ -56,7 +57,7 @@ Requires: libdataquay%{soname} = %{version}
|
||||
|
||||
%description devel
|
||||
Dataquay is a library that provides a C++ API for an
|
||||
RDF data store using Qt5 classes and containers.
|
||||
RDF data store using Qt6 classes and containers.
|
||||
|
||||
This subpackage contains the header files for developing
|
||||
applications that want to make use of dataquay.
|
||||
@@ -65,10 +66,11 @@ applications that want to make use of dataquay.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%qmake5 PREFIX=%{_prefix} LIBDIR=%{_libdir} dataquay.pro
|
||||
%qmake6 PREFIX=%{_prefix} LIBDIR=%{_libdir} dataquay.pro
|
||||
%qmake6_build
|
||||
|
||||
%install
|
||||
%qmake5_install
|
||||
%qmake6_install
|
||||
install -D -m0644 deploy/%{name}.pc %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%post -n lib%{name}%{soname} -p /sbin/ldconfig
|
||||
@@ -76,7 +78,8 @@ install -D -m0644 deploy/%{name}.pc %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%files -n lib%{name}%{soname}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG COPYING README.txt
|
||||
%license COPYING
|
||||
%doc CHANGELOG README.txt
|
||||
%{_libdir}/lib%{name}.so.%{soname}
|
||||
%{_libdir}/lib%{name}.so.%{soname}.*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user