summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2012-09-16 18:18:02 +0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2012-09-16 18:18:02 +0700
commit6ec827c0bb1d07ebbe8947263c74e1ba68b2b659 (patch)
treee6b32759ee1a305e2b937770ffdd025e59992834
parentc763deac383f1f216fcf452928748a7274f5f46d (diff)
downloadspecs-6ec827c0bb1d07ebbe8947263c74e1ba68b2b659.tar.gz
specs-6ec827c0bb1d07ebbe8947263c74e1ba68b2b659.tar.xz
specs-6ec827c0bb1d07ebbe8947263c74e1ba68b2b659.zip
add dataquay for review (sonic-visualiser dependency)
-rw-r--r--media/dataquay.spec85
1 files changed, 85 insertions, 0 deletions
diff --git a/media/dataquay.spec b/media/dataquay.spec
new file mode 100644
index 0000000..52c2e20
--- /dev/null
+++ b/media/dataquay.spec
@@ -0,0 +1,85 @@
+Name: dataquay
+Version: 0.9
+Release: 1%{?dist}
+Summary: Simple RDF for C++ and Qt applications
+
+# README says BSD but this is more similar to MIT text
+License: MIT
+URL: http://breakfastquay.com/dataquay/
+Source0: http://code.breakfastquay.com/attachments/download/30/dataquay-0.9.tar.bz2
+
+BuildRequires: qt-devel
+BuildRequires: redland-devel
+BuildRequires: Xvfb xauth
+#Requires:
+
+%description
+Dataquay is a free open source library that provides a friendly C++
+interface to an RDF datastore using Qt4 classes and
+containers. Supported datastores are the popular and feature-complete
+Redland and the lightweight Sord.
+
+Dataquay is simple to use and easy to integrate. It is principally
+aimed at Qt-based applications that would like to use an RDF datastore
+as backing for in-memory project data, to avoid having to invent file
+formats or XML schemas and to make it easy to augment the data with
+descriptive metadata pulled in from external sources. It's also useful
+for applications with ad-hoc needs for metadata management using RDF
+sources.
+
+Dataquay does not use a separate database, instead using in-memory
+storage with separate file import and export facilities. Although it
+offers a choice of datastore implementations, the choice is made at
+compile time: there is no runtime module system to take into account
+when deploying your application.
+
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+# patch for multilib
+%{__sed} -i.multilib 's|$${PREFIX}/lib|$${PREFIX}/%{_lib}|' lib.pro
+%{__sed} -i.multilib 's|${exec_prefix}/lib|${exec_prefix}/%{_lib}|' \
+ deploy/dataquay.pc.in
+
+
+%build
+qmake-qt4 dataquay.pro PREFIX=%{_prefix}
+xvfb-run -a -w 1 make %{?_smp_mflags}
+
+
+%install
+make install INSTALL_ROOT=%{buildroot}
+# actually copy .pc file
+%{__cp} -p deploy/dataquay.pc %{buildroot}%{_libdir}/pkgconfig/
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%doc COPYING CHANGELOG README.txt
+%{_libdir}/*.so.*
+
+%files devel
+%doc examples
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/%{name}.pc
+
+
+%changelog
+* Sun Sep 16 2012 Michel Salim <salimma@fedoraproject.org> - 0.9-1
+- Initial package
+