|
|
|
%global maj 0
|
|
|
|
|
|
|
|
Name: sord
|
|
|
|
Version: 0.16.14
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: A lightweight Resource Description Framework (RDF) C library
|
|
|
|
|
|
|
|
License: ISC
|
|
|
|
URL: https://drobilla.net/software/%{name}.html
|
|
|
|
Source0: https://download.drobilla.net/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: pkgconfig(libpcre)
|
|
|
|
BuildRequires: pkgconfig(serd-0) >= 0.30.10
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{name} is a lightweight C library for storing Resource Description
|
|
|
|
Framework (RDF) data in memory. %{name} and parent library serd form
|
|
|
|
a lightweight RDF tool-set for resource limited or performance critical
|
|
|
|
applications.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development libraries and headers for %{name}
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%{name} is a lightweight C library for storing Resource Description
|
|
|
|
Framework (RDF) data in memory.
|
|
|
|
|
|
|
|
This package contains the headers and development libraries for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
# Move devel docs to the right directory
|
|
|
|
install -d %{buildroot}%{_docdir}/%{name}
|
|
|
|
mv %{buildroot}%{_docdir}/%{name}-%{maj} %{buildroot}%{_docdir}/%{name}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%meson_test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_pkgdocdir}
|
|
|
|
%exclude %{_pkgdocdir}/%{name}-%{maj}/
|
|
|
|
%license COPYING
|
|
|
|
%{_libdir}/lib%{name}-%{maj}.so.%{maj}*
|
|
|
|
%{_bindir}/sordi
|
|
|
|
%{_bindir}/sord_validate
|
|
|
|
%{_mandir}/man1/%{name}*.1*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_pkgdocdir}/%{name}-%{maj}/
|
|
|
|
%{_libdir}/lib%{name}-%{maj}.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}-%{maj}.pc
|
|
|
|
%{_includedir}/%{name}-%{maj}/
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%autochangelog
|