|
|
@ -15,6 +15,7 @@ BuildRequires: doxygen
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: pkgconfig(cppunit)
|
|
|
|
BuildRequires: pkgconfig(cppunit)
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -69,10 +70,13 @@ sed -i \
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
# we install API docs directly from build
|
|
|
|
# we install API docs directly from build
|
|
|
|
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%py_byte_compile %{python3} %{buildroot}%{_datadir}
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
@ -104,6 +108,7 @@ export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PA
|
|
|
|
%files gdb
|
|
|
|
%files gdb
|
|
|
|
%{_datadir}/gdb/auto-load%{_libdir}/%{name}-%{apiversion}-gdb.py*
|
|
|
|
%{_datadir}/gdb/auto-load%{_libdir}/%{name}-%{apiversion}-gdb.py*
|
|
|
|
%{_datadir}/gdb/auto-load%{_libdir}/%{name}-stream-%{apiversion}-gdb.py*
|
|
|
|
%{_datadir}/gdb/auto-load%{_libdir}/%{name}-stream-%{apiversion}-gdb.py*
|
|
|
|
|
|
|
|
%{_datadir}/gdb/auto-load%{_libdir}/__pycache__
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}/python
|
|
|
|
%{_datadir}/%{name}/python
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|