2 %define gstpb_ver 1.0.0
3 Summary: GstValidate - suite of tools to run GStreamer integration tests
4 Summary(pl.UTF-8): GstValidate - zestaw narzędzi do uruchamiania testów integracyjnych GStreamera
5 Name: gstreamer-validate
10 Source0: http://gstreamer.freedesktop.org/src/gst-validate/gst-validate-%{version}.tar.xz
11 # Source0-md5: 39ccc35814b1aa1c6b200e42e0eda94b
12 URL: http://gstreamer.net/
13 BuildRequires: autoconf >= 2.62
14 BuildRequires: automake >= 1:1.11
15 BuildRequires: cairo-devel
16 BuildRequires: gettext-devel >= 0.17
17 BuildRequires: glib2-devel >= 1:2.36.0
18 BuildRequires: gobject-introspection-devel >= 0.6.3
19 BuildRequires: gstreamer-devel >= %{gst_ver}
20 BuildRequires: gstreamer-plugins-base-devel >= %{gstpb_ver}
21 BuildRequires: gtk+3-devel >= 3.0
22 BuildRequires: gtk-doc >= 1.3
23 BuildRequires: libtool >= 2:2.2.6
24 BuildRequires: pkgconfig >= 1:0.9.0
25 BuildRequires: python >= 1:2.7.0
26 BuildRequires: tar >= 1:1.22
28 Requires: glib2 >= 1:2.36.0
29 Requires: gstreamer >= %{gst_ver}
30 Requires: gstreamer-plugins-base >= %{gstpb_ver}
31 Requires: python-modules >= 1:2.7
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 The goal of GstValidate is to be able to detect when elements are not
36 behaving as expected and report it to the user so he knows how things
37 are supposed to work inside a GstPipeline. In the end, fixing issues
38 found by the tool will ensure that all elements behave all together in
41 %description -l pl.UTF-8
42 Celem GstValidate jest umożliwienie wykrycia sytuacji, kiedy elementy
43 nie zachowują się w sposób oczekiwany i zgłaszanie tego faktu
44 użytkownikowi tak, aby wiedział, jak powinny działać elementy wewnątrz
45 GstPipeline. W efekcie, poprawienie problemów wykrytych przez to
46 narzędzie zapewni, że wszystkie elementy razem będą się zachowywały w
47 sposób zgodny z oczekiwaniami.
50 Summary: Header files for GstValidate library
51 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GstValidate
52 Group: Development/Libraries
53 Requires: %{name} = %{version}-%{release}
54 Requires: glib2-devel >= 1:2.36.0
55 Requires: gstreamer-devel >= %{gst_ver}
56 Requires: gstreamer-plugins-base-devel >= %{gstpb_ver}
59 Header files for GstValidate library.
61 %description devel -l pl.UTF-8
62 Pliki nagłówkowe biblioteki GstValidate.
65 Summary: API documentation for GstValidate library
66 Summary(pl.UTF-8): Dokumentacja API biblioteki GstValidate
68 %if "%{_rpmversion}" >= "5"
73 API documentation for GstValidate library.
75 %description apidocs -l pl.UTF-8
76 Dokumentacja API biblioteki GstValidate.
79 %setup -q -n gst-validate-%{version}
83 %{__aclocal} -I m4 -I common/m4
87 # disable sphinx for now: docs/launcher/conf.py is missing
90 --disable-silent-rules \
91 --disable-sphinx-doc \
93 --with-html-dir=%{_gtkdocdir}
98 rm -rf $RPM_BUILD_ROOT
101 DESTDIR=$RPM_BUILD_ROOT
103 # obsoleted by pkg-config
104 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
105 # modules loaded through glib
106 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/validate/libgstvalidate*.la
109 rm -rf $RPM_BUILD_ROOT
111 %post -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
115 %defattr(644,root,root,755)
116 %doc AUTHORS ChangeLog NEWS README
117 %attr(755,root,root) %{_bindir}/gst-validate-1.0
118 %attr(755,root,root) %{_bindir}/gst-validate-images-check-1.0
119 %attr(755,root,root) %{_bindir}/gst-validate-launcher
120 %attr(755,root,root) %{_bindir}/gst-validate-media-check-1.0
121 %attr(755,root,root) %{_bindir}/gst-validate-transcoding-1.0
122 %attr(755,root,root) %{_libdir}/libgstvalidate-1.0.so.*.*.*
123 %attr(755,root,root) %ghost %{_libdir}/libgstvalidate-1.0.so.0
124 %attr(755,root,root) %{_libdir}/libgstvalidate-default-overrides-1.0.so.*.*.*
125 %attr(755,root,root) %ghost %{_libdir}/libgstvalidate-default-overrides-1.0.so.0
126 %attr(755,root,root) %{_libdir}/libgstvalidate_preload-1.0.so.*.*.*
127 %attr(755,root,root) %ghost %{_libdir}/libgstvalidate_preload-1.0.so.0
128 %attr(755,root,root) %{_libdir}/libgstvalidatevideo-1.0.so.*.*.*
129 %attr(755,root,root) %ghost %{_libdir}/libgstvalidatevideo-1.0.so.0
130 %{_libdir}/girepository-1.0/GstValidate-1.0.typelib
131 %dir %{_libdir}/gstreamer-1.0/validate
132 %attr(755,root,root) %{_libdir}/gstreamer-1.0/validate/libgstvalidatefaultinjection.so
133 %attr(755,root,root) %{_libdir}/gstreamer-1.0/validate/libgstvalidategapplication.so
134 %attr(755,root,root) %{_libdir}/gstreamer-1.0/validate/libgstvalidategtk.so
135 %attr(755,root,root) %{_libdir}/gstreamer-1.0/validate/libgstvalidatessim.so
136 %{_libdir}/gst-validate-launcher
137 %dir %{_datadir}/gstreamer-1.0
138 %{_datadir}/gstreamer-1.0/validate
141 %defattr(644,root,root,755)
142 %attr(755,root,root) %{_libdir}/libgstvalidate-1.0.so
143 %attr(755,root,root) %{_libdir}/libgstvalidate-default-overrides-1.0.so
144 %attr(755,root,root) %{_libdir}/libgstvalidate_preload-1.0.so
145 %attr(755,root,root) %{_libdir}/libgstvalidatevideo-1.0.so
146 %{_includedir}/gstreamer-1.0/gst/validate
147 %{_includedir}/gstreamer-1.0/lib/validate
148 %{_pkgconfigdir}/gst-validate-1.0.pc
149 %{_datadir}/gir-1.0/GstValidate-1.0.gir
152 %defattr(644,root,root,755)
153 %{_gtkdocdir}/gst-validate-1.0
154 %{_gtkdocdir}/gst-validate-plugins-1.0