|
|
1ddcfc1 |
%global commit b82360a98f49ea6cefbd6c08ede6f16231bd6522
|
|
|
1ddcfc1 |
%global shortcommit %(c=%{commit}; echo ${c:0:12})
|
|
|
1ddcfc1 |
|
|
|
bc9fe3f |
Name: dataquay
|
|
|
1ddcfc1 |
Version: 0.9.1
|
|
|
1ddcfc1 |
Release: 1.20190227git%{shortcommit}%{?dist}
|
|
|
bc9fe3f |
Summary: Simple RDF for C++ and Qt applications
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
# README says BSD but this is more similar to MIT text
|
|
|
bc9fe3f |
License: MIT
|
|
|
1ddcfc1 |
URL: https://www.breakfastquay.com/dataquay/
|
|
|
1ddcfc1 |
Source0: https://bitbucket.org/breakfastquay/dataquay/get/%{commit}.tar.bz2#/%{name}-%{shortcommit}.tar.bz2
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
BuildRequires: qt-devel
|
|
|
bc9fe3f |
BuildRequires: redland-devel
|
|
|
bc9fe3f |
BuildRequires: Xvfb xauth
|
|
|
bc9fe3f |
#Requires:
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
%description
|
|
|
bc9fe3f |
Dataquay is a free open source library that provides a friendly C++
|
|
|
bc9fe3f |
interface to an RDF datastore using Qt4 classes and
|
|
|
bc9fe3f |
containers. Supported datastores are the popular and feature-complete
|
|
|
bc9fe3f |
Redland and the lightweight Sord.
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
Dataquay is simple to use and easy to integrate. It is principally
|
|
|
bc9fe3f |
aimed at Qt-based applications that would like to use an RDF datastore
|
|
|
bc9fe3f |
as backing for in-memory project data, to avoid having to invent file
|
|
|
bc9fe3f |
formats or XML schemas and to make it easy to augment the data with
|
|
|
bc9fe3f |
descriptive metadata pulled in from external sources. It's also useful
|
|
|
bc9fe3f |
for applications with ad-hoc needs for metadata management using RDF
|
|
|
bc9fe3f |
sources.
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
Dataquay does not use a separate database, instead using in-memory
|
|
|
bc9fe3f |
storage with separate file import and export facilities. Although it
|
|
|
bc9fe3f |
offers a choice of datastore implementations, the choice is made at
|
|
|
bc9fe3f |
compile time: there is no runtime module system to take into account
|
|
|
bc9fe3f |
when deploying your application.
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
The Fedora package is configured to use Redland, as recommended by the
|
|
|
bc9fe3f |
developers for general use.
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
%package devel
|
|
|
bc9fe3f |
Summary: Development files for %{name}
|
|
|
bc9fe3f |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
c4790cb |
Requires: redland-devel%{?_isa}
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
%description devel
|
|
|
bc9fe3f |
The %{name}-devel package contains libraries and header files for
|
|
|
bc9fe3f |
developing applications that use %{name}.
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
%prep
|
|
|
1ddcfc1 |
%autosetup -n breakfastquay-dataquay-%{shortcommit}
|
|
|
bc9fe3f |
# patch for multilib
|
|
|
bc9fe3f |
%{__sed} -i.multilib 's|$${PREFIX}/lib|$${PREFIX}/%{_lib}|' lib.pro
|
|
|
bc9fe3f |
%{__sed} -i.multilib 's|${exec_prefix}/lib|${exec_prefix}/%{_lib}|' \
|
|
|
bc9fe3f |
deploy/dataquay.pc.in
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
%build
|
|
Rex Dieter |
4abd01d |
%{qmake_qt4} dataquay.pro PREFIX=%{_prefix}
|
|
|
bc9fe3f |
xvfb-run -a -w 1 make %{?_smp_mflags}
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
%install
|
|
|
bc9fe3f |
make install INSTALL_ROOT=%{buildroot}
|
|
|
bc9fe3f |
# actually copy .pc file
|
|
|
bc9fe3f |
%{__cp} -p deploy/dataquay.pc %{buildroot}%{_libdir}/pkgconfig/
|
|
|
bc9fe3f |
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
|
|
|
7f0c678 |
%ldconfig_scriptlets
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
%files
|
|
|
9496d99 |
%license COPYING
|
|
|
9496d99 |
%doc CHANGELOG README.txt
|
|
|
bc9fe3f |
%{_libdir}/*.so.*
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
%files devel
|
|
|
bc9fe3f |
%doc examples
|
|
|
bc9fe3f |
%{_includedir}/*
|
|
|
bc9fe3f |
%{_libdir}/*.so
|
|
|
bc9fe3f |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
%changelog
|
|
|
1ddcfc1 |
* Mon May 27 2019 Michel Alexandre Salim <michel@lumiere.local> - 0.9.1-1.20190227gitb82360a98f49
|
|
|
1ddcfc1 |
- Update to 0.9.1
|
|
|
1ddcfc1 |
|
|
|
18860ba |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-18
|
|
|
18860ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
18860ba |
|
|
|
6dfd032 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-17
|
|
|
6dfd032 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
6dfd032 |
|
|
|
34b23c6 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-16
|
|
|
34b23c6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
34b23c6 |
|
|
|
fa820b2 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-15
|
|
|
fa820b2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
fa820b2 |
|
|
|
8d2e367 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-14
|
|
|
8d2e367 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8d2e367 |
|
|
|
cc70af5 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-13
|
|
|
cc70af5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
cc70af5 |
|
|
|
9496d99 |
* Mon Jul 4 2016 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.9-12
|
|
|
9496d99 |
- Explicitly use GNU++98 standard
|
|
|
9496d99 |
- Use license macro
|
|
|
9496d99 |
|
|
|
f1f9c66 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-11
|
|
|
f1f9c66 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
f1f9c66 |
|
|
Rex Dieter |
4abd01d |
* Tue Feb 02 2016 Rex Dieter <rdieter@fedoraproject.org> - 0.9-10
|
|
Rex Dieter |
4abd01d |
- use %%qmake_qt4 macro to ensure proper build flags
|
|
Rex Dieter |
4abd01d |
|
|
|
8d03be5 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-9
|
|
|
8d03be5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
8d03be5 |
|
|
|
f9ee1d5 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.9-8
|
|
|
f9ee1d5 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
f9ee1d5 |
|
|
|
228c802 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-7
|
|
|
228c802 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
228c802 |
|
|
|
be89b77 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-6
|
|
|
be89b77 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
be89b77 |
|
|
|
4a6b56e |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-5
|
|
|
4a6b56e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
4a6b56e |
|
|
|
4b3131f |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-4
|
|
|
4b3131f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
4b3131f |
|
|
|
c4790cb |
* Fri Nov 2 2012 Michel Salim <salimma@fedoraproject.org> - 0.9-3
|
|
|
c4790cb |
- Make -devel subpackage pull in pkgconfig(redland) as well
|
|
|
c4790cb |
|
|
|
bc9fe3f |
* Tue Oct 9 2012 Michel Salim <salimma@fedoraproject.org> - 0.9-2
|
|
|
bc9fe3f |
- Add note with workaround for building in mock for bug #857709
|
|
|
bc9fe3f |
|
|
|
bc9fe3f |
* Sun Sep 16 2012 Michel Salim <salimma@fedoraproject.org> - 0.9-1
|
|
|
bc9fe3f |
- Initial package
|
|
|
bc9fe3f |
|