|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
%global maj 0
|
|
|
|
|
|
|
|
|
|
Name: serd
|
|
|
|
|
Version: 0.30.0
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 0.30.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A lightweight C library for RDF syntax
|
|
|
|
|
|
|
|
|
|
License: ISC
|
|
|
|
@ -12,8 +12,7 @@ Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: python2
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python3
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -42,7 +41,7 @@ sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%set_build_flags
|
|
|
|
|
%{__python2} waf configure \
|
|
|
|
|
python3 waf configure \
|
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
@ -50,10 +49,10 @@ sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
|
|
|
|
|
--docdir=%{_docdir} \
|
|
|
|
|
--test \
|
|
|
|
|
--docs
|
|
|
|
|
%{__python2} waf build -v %{?_smp_mflags}
|
|
|
|
|
python3 waf build -v %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
DESTDIR=%{buildroot} %{__python2} waf install
|
|
|
|
|
DESTDIR=%{buildroot} python3 waf install
|
|
|
|
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
# Move devel docs to the right directory
|
|
|
|
|
install -d %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}
|
|
|
|
@ -74,6 +73,10 @@ mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{n
|
|
|
|
|
%{_includedir}/%{name}-%{maj}/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Dec 06 2019 Guido Aulisi <guido.aulisi@gmail.com> - 0.30.2-1
|
|
|
|
|
- Update to 0.30.2
|
|
|
|
|
- Use python3
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|