|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
%global maj 0
|
|
|
|
|
|
|
|
|
|
Name: serd
|
|
|
|
|
Version: 0.30.6
|
|
|
|
|
Version: 0.30.10
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A lightweight C library for RDF syntax
|
|
|
|
|
|
|
|
|
@ -14,6 +14,8 @@ BuildRequires: graphviz
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: python3
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: python3-sphinx_lv2_theme
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{name} is a lightweight C library for RDF syntax which supports reading and
|
|
|
|
@ -34,8 +36,8 @@ writing Turtle, TRiG, NTriples, and NQuads.
|
|
|
|
|
This package contains the headers and development libraries for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
# we'll run ldconfig, well not any more, see
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
# Do not run ldconfig, see
|
|
|
|
|
# https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
|
|
|
|
|
sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
|
|
|
|
|
|
|
|
|
@ -54,25 +56,29 @@ sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
|
|
|
|
|
%install
|
|
|
|
|
DESTDIR=%{buildroot} %{python3} waf install
|
|
|
|
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
# Delete sphinx buildinfo
|
|
|
|
|
rm %{buildroot}%{_docdir}/%{name}-%{maj}/c/{html,singlehtml}/.buildinfo
|
|
|
|
|
# Move devel docs to the right directory
|
|
|
|
|
install -d %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}
|
|
|
|
|
mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}/html
|
|
|
|
|
mv %{buildroot}%{_docdir}/%{name}-%{maj}/c %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}/c
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS NEWS README.md
|
|
|
|
|
%doc %{_mandir}/man1/serdi.1*
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}.so.%{maj}*
|
|
|
|
|
%{_bindir}/serdi
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc %{_mandir}/man3/serd.3*
|
|
|
|
|
%doc %{_docdir}/%{name}/%{name}-%{maj}/
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}*.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}*.pc
|
|
|
|
|
%{_includedir}/%{name}-%{maj}/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jan 24 2021 Guido Aulisi <guido.aulisi@gmail.com> - 0.30.10-1
|
|
|
|
|
- Update to 0.30.10
|
|
|
|
|
|
|
|
|
|
* Sun Oct 04 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.30.6-1
|
|
|
|
|
- Update to 0.30.6
|
|
|
|
|
|
|
|
|
|