diff --git a/.gitignore b/.gitignore index fce7cdc..4f4bedc 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /serd-0.30.6.tar.bz2 /serd-0.30.10.tar.bz2 /serd-0.30.12.tar.bz2 +/serd-0.30.16.tar.xz diff --git a/serd.spec b/serd.spec index df187bb..029822f 100644 --- a/serd.spec +++ b/serd.spec @@ -1,14 +1,15 @@ %global maj 0 Name: serd -Version: 0.30.12 -Release: 3%{?dist} +Version: 0.30.16 +Release: 1%{?dist} Summary: A lightweight C library for RDF syntax License: ISC URL: http://drobilla.net/software/serd/ -Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2 +Source0: http://download.drobilla.net/%{name}-%{version}.tar.xz +BuildRequires: meson BuildRequires: doxygen BuildRequires: graphviz BuildRequires: glib2-devel @@ -37,30 +38,21 @@ This package contains the headers and development libraries for %{name}. %prep %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 %build -%set_build_flags -%{python3} waf configure \ - --prefix=%{_prefix} \ - --libdir=%{_libdir} \ - --mandir=%{_mandir} \ - --datadir=%{_datadir} \ - --docdir=%{_docdir} \ - --test \ - --docs -%{python3} waf build -v %{?_smp_mflags} +%meson +%meson_build %install -DESTDIR=%{buildroot} %{python3} waf install -chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.* +%meson_install # Delete sphinx buildinfo -rm %{buildroot}%{_docdir}/%{name}-%{maj}/c/{html,singlehtml}/.buildinfo +rm %{buildroot}%{_docdir}/%{name}-%{maj}/{html,singlehtml}/.buildinfo # Move devel docs to the right directory -install -d %{buildroot}%{_docdir}/%{name}/%{name}-%{maj} -mv %{buildroot}%{_docdir}/%{name}-%{maj}/c %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}/c +install -d %{buildroot}%{_docdir}/%{name} +mv %{buildroot}%{_docdir}/%{name}-%{maj} %{buildroot}%{_docdir}/%{name} + +%check +%meson_test %files %license COPYING @@ -76,6 +68,9 @@ mv %{buildroot}%{_docdir}/%{name}-%{maj}/c %{buildroot}%{_docdir}/%{name}/%{name %{_includedir}/%{name}-%{maj}/ %changelog +* Tue Jan 31 2023 Guido Aulisi - 0.30.16-1 +- Update to 0.30.16 + * Sat Jan 21 2023 Fedora Release Engineering - 0.30.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index 9af8663..4c688c3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serd-0.30.12.tar.bz2) = c330648eb2c947a6d220f42d0af63fd2744da496301483e58be3cda387da166711d6acd5cee2df8cbb837ab450e1802b3f9a0a2973e5ad6d976b69b863aecb7f +SHA512 (serd-0.30.16.tar.xz) = 1bc2e310027d52ea675aa261b52e89c4c1ccb622fa9fef11c874876de7821fe94672918ff58b9edcc7995daa70fc88b7ceb88fae61dd40f601285de1995b39ff