diff --git a/.gitignore b/.gitignore index 3b40a43..771ac87 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /serd-0.30.2.tar.bz2 /serd-0.30.4.tar.bz2 /serd-0.30.6.tar.bz2 +/serd-0.30.10.tar.bz2 diff --git a/serd.spec b/serd.spec index dad0d9d..3b575fc 100644 --- a/serd.spec +++ b/serd.spec @@ -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 - 0.30.10-1 +- Update to 0.30.10 + * Sun Oct 04 2020 Guido Aulisi - 0.30.6-1 - Update to 0.30.6 diff --git a/sources b/sources index 56c16e0..f8e211b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serd-0.30.6.tar.bz2) = db08d6c67d8627728679d0ed3770b8219a58f3eef82194ef8ba5682d3ff1f1033e2bbc8d6a1115a3fe0e32990f635c707a81ad8b4f457153fa78ff5991c9c30f +SHA512 (serd-0.30.10.tar.bz2) = ed7b49abfd3dc3a724b047f5f0cd07b811596330c96d91c0ce90540440f03260e05daee76c3ccccc3d4ca39afbbd4f3d07decbb601730e90c133a09c640c0006