From 84b99a4c534a97ebf8efd75b6158770ed1399867 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 6 Oct 2014 20:30:25 +0200 Subject: [PATCH] - new --- gstreamer-validate.spec | 136 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 gstreamer-validate.spec diff --git a/gstreamer-validate.spec b/gstreamer-validate.spec new file mode 100644 index 0000000..801054d --- /dev/null +++ b/gstreamer-validate.spec @@ -0,0 +1,136 @@ +%define gst_ver 1.0.0 +%define gstpb_ver 1.0.0 +Summary: GstValidate - suite of tools to run GStreamer integration tests +Summary(pl.UTF-8): GstValidate - zestaw narzędzi do uruchamiania testów integracyjnych GStreamera +Name: gstreamer-validate +Version: 1.3.90 +Release: 1 +License: LGPL v2.1+ +Group: Libraries +Source0: http://gstreamer.freedesktop.org/src/gst-validate/gst-validate-%{version}.tar.xz +# Source0-md5: e1b1524794e7886a7c164dff5a244b7c +URL: http://gstreamer.net/ +BuildRequires: autoconf >= 2.62 +BuildRequires: automake >= 1:1.11 +BuildRequires: gettext-devel >= 0.17 +BuildRequires: glib2-devel >= 1:2.36.0 +BuildRequires: gobject-introspection-devel >= 0.6.3 +BuildRequires: gstreamer-devel >= %{gst_ver} +BuildRequires: gstreamer-plugins-base-devel >= %{gstpb_ver} +BuildRequires: gtk-doc >= 1.3 +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: python >= 1:2.7.0 +BuildRequires: tar >= 1:1.22 +BuildRequires: xz +Requires: glib2 >= 1:2.36.0 +Requires: gstreamer >= %{gst_ver} +Requires: gstreamer-plugins-base >= %{gstpb_ver} +Requires: python-modules >= 1:2.7 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The goal of GstValidate is to be able to detect when elements are not +behaving as expected and report it to the user so he knows how things +are supposed to work inside a GstPipeline. In the end, fixing issues +found by the tool will ensure that all elements behave all together in +the expected way. + +%description -l pl.UTF-8 +Celem GstValidate jest umożliwienie wykrycia sytuacji, kiedy elementy +nie zachowują się w sposób oczekiwany i zgłaszanie tego faktu +użytkownikowi tak, aby wiedział, jak powinny działać elementy wewnątrz +GstPipeline. W efekcie, poprawienie problemów wykrytych przez to +narzędzie zapewni, że wszystkie elementy razem będą się zachowywały w +sposób zgodny z oczekiwaniami. + +%package devel +Summary: Header files for GstValidate library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GstValidate +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: glib2-devel >= 1:2.36.0 +Requires: gstreamer-devel >= %{gst_ver} +Requires: gstreamer-plugins-base-devel >= %{gstpb_ver} + +%description devel +Header files for GstValidate library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki GstValidate. + +%package apidocs +Summary: API documentation for GstValidate library +Summary(pl.UTF-8): Dokumentacja API biblioteki GstValidate +Group: Documentation +%if "%{_rpmversion}" >= "5" +BuildArch: noarch +%endif + +%description apidocs +API documentation for GstValidate library. + +%description apidocs -l pl.UTF-8 +Dokumentacja API biblioteki GstValidate. + +%prep +%setup -q -n gst-validate-%{version} + +%build +%{__libtoolize} +%{__aclocal} -I m4 -I common/m4 +%{__autoconf} +%{__autoheader} +%{__automake} +# disable sphinx for now: docs/launcher/conf.py is missing +%configure \ + --enable-gtk-doc \ + --disable-silent-rules \ + --disable-sphinx-doc \ + --disable-static \ + --with-html-dir=%{_gtkdocdir} + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +# obsoleted by pkg-config +%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_bindir}/gst-validate-1.0 +%attr(755,root,root) %{_bindir}/gst-validate-launcher +%attr(755,root,root) %{_bindir}/gst-validate-media-check-1.0 +%attr(755,root,root) %{_bindir}/gst-validate-transcoding-1.0 +%attr(755,root,root) %{_libdir}/libgstvalidate-1.0.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libgstvalidate-1.0.so.0 +%attr(755,root,root) %{_libdir}/libgstvalidate-default-overrides-1.0.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libgstvalidate-default-overrides-1.0.so.0 +%{_libdir}/girepository-1.0/GstValidate-1.0.typelib +%{_libdir}/gst-validate-launcher +%dir %{_datadir}/gstreamer-1.0 +%{_datadir}/gstreamer-1.0/validate-scenario + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libgstvalidate-1.0.so +%attr(755,root,root) %{_libdir}/libgstvalidate-default-overrides-1.0.so +%{_includedir}/gstreamer-1.0/gst/validate +%{_pkgconfigdir}/gst-validate-1.0.pc +%{_datadir}/gir-1.0/GstValidate-1.0.gir + +%files apidocs +%defattr(644,root,root,755) +%{_gtkdocdir}/gst-validate-1.0 -- 2.44.0