Blob Blame History Raw
%global apiver 1.0

Name:           gst-devtools
Version:        1.12.3
Release:        3%{?dist}
Summary:        Development and debugging tools for GStreamer

License:        LGPLv2+
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


%package devel
Summary:        Development libraries and header files for %{name}
Requires:       %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires:       gstreamer1-devel%{?_isa}

%description devel


%meson -D disable_doc=true


for lib in `find %{buildroot} -type f -name '*.py'`; do
 sed '1{\@^#!/usr/bin/env python@d}' $lib > $ &&
 touch -r $lib $ &&
 mv $ $lib

sed -i "s/env\ //g" %{buildroot}%{_bindir}/gst-validate-launcher

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%doc validate/ChangeLog validate/NEWS validate/README
%license validate/COPYING
%dir %{_libdir}/girepository-1.0/

%files devel
%doc %{_datadir}/gtk-doc/
%dir %{_datadir}/gir-1.0/

* Wed Feb 07 2018 Fedora Release Engineering <> - 1.12.3-3
- Rebuilt for

* Wed Oct 04 2017 Gwyn Ciesla <> - 1.12.3-2
- Review fixes.

* Mon Oct 02 2017 Gwyn Ciesla <> - 1.12.3-1
- Initial package.