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