Update to 0.30.16

epel10
Guido Aulisi 2 years ago
parent ec7d33a485
commit 01bf17cd8c

1
.gitignore vendored

@ -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

@ -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 <guido.aulisi@gmail.com> - 0.30.16-1
- Update to 0.30.16
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

@ -1 +1 @@
SHA512 (serd-0.30.12.tar.bz2) = c330648eb2c947a6d220f42d0af63fd2744da496301483e58be3cda387da166711d6acd5cee2df8cbb837ab450e1802b3f9a0a2973e5ad6d976b69b863aecb7f
SHA512 (serd-0.30.16.tar.xz) = 1bc2e310027d52ea675aa261b52e89c4c1ccb622fa9fef11c874876de7821fe94672918ff58b9edcc7995daa70fc88b7ceb88fae61dd40f601285de1995b39ff

Loading…
Cancel
Save