%global apiver 1.0 Name: gst-devtools Version: 1.12.3 Release: 8%{?dist} Summary: Development and debugging tools for GStreamer License: LGPLv2+ URL: https://github.com/GStreamer/gst-devtools Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: meson BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-pbutils-1.0) BuildRequires: gobject-introspection-devel BuildRequires: json-glib-devel BuildRequires: gtk-doc BuildRequires: python3-devel %description %{summary}. %package devel Summary: Development libraries and header files for %{name} Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: gstreamer1-devel%{?_isa} %description devel %{summary}. %prep %autosetup %build %meson -D disable_doc=true %meson_build %install %meson_install for lib in `find %{buildroot} -type f -name '*.py'`; do sed '1{\@^#!/usr/bin/env python@d}' $lib > $lib.new && touch -r $lib $lib.new && mv $lib.new $lib done sed -i "s/env\ //g" %{buildroot}%{_bindir}/gst-validate-launcher %ldconfig_scriptlets %files %doc validate/ChangeLog validate/NEWS validate/README %license validate/COPYING %{_bindir}/gst-validate-* %dir %{_libdir}/girepository-1.0/ %{_libdir}/girepository-1.0/GstValidate-%{apiver}.typelib %{_libdir}/gstreamer-1.0/libgstvalidatetracer.so %{_libdir}/libgstvalidate-%{apiver}.so.* %{_datadir}/gstreamer-1.0/validate/ %{_libdir}/gstreamer-1.0/validate/*.so %{_libdir}/gst-validate-launcher/ %files devel %doc %{_datadir}/gtk-doc/ %{_includedir}/gstreamer-1.0/gst/validate/ %{_libdir}/libgstvalidate-%{apiver}.so %{_libdir}/pkgconfig/gst-validate-%{apiver}.pc %dir %{_datadir}/gir-1.0/ %{_datadir}/gir-1.0/GstValidate-%{apiver}.gir %changelog * Wed Jan 29 2020 Fedora Release Engineering - 1.12.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.12.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.12.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.12.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro HronĨok - 1.12.3-4 - Rebuilt for Python 3.7 * Wed Feb 07 2018 Fedora Release Engineering - 1.12.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Oct 04 2017 Gwyn Ciesla - 1.12.3-2 - Review fixes. * Mon Oct 02 2017 Gwyn Ciesla - 1.12.3-1 - Initial package.