]>
Commit | Line | Data |
---|---|---|
a5c6c1d2 JB |
1 | %define gst_ver 1.12.0 |
2 | %define gstpb_ver 1.12.0 | |
84b99a4c JB |
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 | |
2a7c50d4 | 6 | Version: 1.12.4 |
e54a3823 | 7 | Release: 2 |
84b99a4c JB |
8 | License: LGPL v2.1+ |
9 | Group: Libraries | |
52be44fe | 10 | Source0: https://gstreamer.freedesktop.org/src/gst-validate/gst-validate-%{version}.tar.xz |
2a7c50d4 | 11 | # Source0-md5: bc074d49677081f9c27de11a09165746 |
52be44fe | 12 | URL: https://gstreamer.freedesktop.org/ |
84b99a4c JB |
13 | BuildRequires: autoconf >= 2.62 |
14 | BuildRequires: automake >= 1:1.11 | |
2826b9a3 | 15 | BuildRequires: cairo-devel |
84b99a4c JB |
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} | |
2826b9a3 | 21 | BuildRequires: gtk+3-devel >= 3.0 |
84b99a4c | 22 | BuildRequires: gtk-doc >= 1.3 |
a5c6c1d2 | 23 | BuildRequires: json-glib-devel >= 1.0 |
2826b9a3 JB |
24 | BuildRequires: libtool >= 2:2.2.6 |
25 | BuildRequires: pkgconfig >= 1:0.9.0 | |
84b99a4c JB |
26 | BuildRequires: python >= 1:2.7.0 |
27 | BuildRequires: tar >= 1:1.22 | |
28 | BuildRequires: xz | |
29 | Requires: glib2 >= 1:2.36.0 | |
30 | Requires: gstreamer >= %{gst_ver} | |
31 | Requires: gstreamer-plugins-base >= %{gstpb_ver} | |
a5c6c1d2 | 32 | Requires: json-glib >= 1.0 |
84b99a4c JB |
33 | Requires: python-modules >= 1:2.7 |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | %description | |
37 | The goal of GstValidate is to be able to detect when elements are not | |
38 | behaving as expected and report it to the user so he knows how things | |
39 | are supposed to work inside a GstPipeline. In the end, fixing issues | |
40 | found by the tool will ensure that all elements behave all together in | |
41 | the expected way. | |
42 | ||
43 | %description -l pl.UTF-8 | |
44 | Celem GstValidate jest umożliwienie wykrycia sytuacji, kiedy elementy | |
45 | nie zachowują się w sposób oczekiwany i zgłaszanie tego faktu | |
46 | użytkownikowi tak, aby wiedział, jak powinny działać elementy wewnątrz | |
47 | GstPipeline. W efekcie, poprawienie problemów wykrytych przez to | |
48 | narzędzie zapewni, że wszystkie elementy razem będą się zachowywały w | |
49 | sposób zgodny z oczekiwaniami. | |
50 | ||
51 | %package devel | |
52 | Summary: Header files for GstValidate library | |
53 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GstValidate | |
54 | Group: Development/Libraries | |
55 | Requires: %{name} = %{version}-%{release} | |
56 | Requires: glib2-devel >= 1:2.36.0 | |
57 | Requires: gstreamer-devel >= %{gst_ver} | |
58 | Requires: gstreamer-plugins-base-devel >= %{gstpb_ver} | |
59 | ||
60 | %description devel | |
61 | Header files for GstValidate library. | |
62 | ||
63 | %description devel -l pl.UTF-8 | |
64 | Pliki nagłówkowe biblioteki GstValidate. | |
65 | ||
66 | %package apidocs | |
67 | Summary: API documentation for GstValidate library | |
68 | Summary(pl.UTF-8): Dokumentacja API biblioteki GstValidate | |
69 | Group: Documentation | |
70 | %if "%{_rpmversion}" >= "5" | |
71 | BuildArch: noarch | |
72 | %endif | |
73 | ||
74 | %description apidocs | |
75 | API documentation for GstValidate library. | |
76 | ||
77 | %description apidocs -l pl.UTF-8 | |
78 | Dokumentacja API biblioteki GstValidate. | |
79 | ||
80 | %prep | |
81 | %setup -q -n gst-validate-%{version} | |
82 | ||
83 | %build | |
84 | %{__libtoolize} | |
85 | %{__aclocal} -I m4 -I common/m4 | |
86 | %{__autoconf} | |
87 | %{__autoheader} | |
88 | %{__automake} | |
89 | # disable sphinx for now: docs/launcher/conf.py is missing | |
90 | %configure \ | |
91 | --enable-gtk-doc \ | |
92 | --disable-silent-rules \ | |
93 | --disable-sphinx-doc \ | |
94 | --disable-static \ | |
95 | --with-html-dir=%{_gtkdocdir} | |
96 | ||
97 | %{__make} | |
98 | ||
99 | %install | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %{__make} install \ | |
103 | DESTDIR=$RPM_BUILD_ROOT | |
104 | ||
105 | # obsoleted by pkg-config | |
106 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
2826b9a3 | 107 | # modules loaded through glib |
a5c6c1d2 | 108 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/libgstvalidatetracer.la \ |
52be44fe | 109 | $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/validate/libgstvalidate*.la |
84b99a4c JB |
110 | |
111 | %clean | |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
114 | %post -p /sbin/ldconfig | |
115 | %postun -p /sbin/ldconfig | |
116 | ||
117 | %files | |
118 | %defattr(644,root,root,755) | |
119 | %doc AUTHORS ChangeLog NEWS README | |
120 | %attr(755,root,root) %{_bindir}/gst-validate-1.0 | |
2826b9a3 | 121 | %attr(755,root,root) %{_bindir}/gst-validate-images-check-1.0 |
84b99a4c JB |
122 | %attr(755,root,root) %{_bindir}/gst-validate-launcher |
123 | %attr(755,root,root) %{_bindir}/gst-validate-media-check-1.0 | |
124 | %attr(755,root,root) %{_bindir}/gst-validate-transcoding-1.0 | |
125 | %attr(755,root,root) %{_libdir}/libgstvalidate-1.0.so.*.*.* | |
126 | %attr(755,root,root) %ghost %{_libdir}/libgstvalidate-1.0.so.0 | |
127 | %attr(755,root,root) %{_libdir}/libgstvalidate-default-overrides-1.0.so.*.*.* | |
128 | %attr(755,root,root) %ghost %{_libdir}/libgstvalidate-default-overrides-1.0.so.0 | |
2826b9a3 JB |
129 | %attr(755,root,root) %{_libdir}/libgstvalidatevideo-1.0.so.*.*.* |
130 | %attr(755,root,root) %ghost %{_libdir}/libgstvalidatevideo-1.0.so.0 | |
84b99a4c | 131 | %{_libdir}/girepository-1.0/GstValidate-1.0.typelib |
a5c6c1d2 | 132 | %attr(755,root,root) %{_libdir}/gstreamer-1.0/libgstvalidatetracer.so |
2826b9a3 JB |
133 | %dir %{_libdir}/gstreamer-1.0/validate |
134 | %attr(755,root,root) %{_libdir}/gstreamer-1.0/validate/libgstvalidatefaultinjection.so | |
135 | %attr(755,root,root) %{_libdir}/gstreamer-1.0/validate/libgstvalidategapplication.so | |
136 | %attr(755,root,root) %{_libdir}/gstreamer-1.0/validate/libgstvalidategtk.so | |
137 | %attr(755,root,root) %{_libdir}/gstreamer-1.0/validate/libgstvalidatessim.so | |
84b99a4c JB |
138 | %{_libdir}/gst-validate-launcher |
139 | %dir %{_datadir}/gstreamer-1.0 | |
2826b9a3 | 140 | %{_datadir}/gstreamer-1.0/validate |
84b99a4c JB |
141 | |
142 | %files devel | |
143 | %defattr(644,root,root,755) | |
144 | %attr(755,root,root) %{_libdir}/libgstvalidate-1.0.so | |
145 | %attr(755,root,root) %{_libdir}/libgstvalidate-default-overrides-1.0.so | |
2826b9a3 | 146 | %attr(755,root,root) %{_libdir}/libgstvalidatevideo-1.0.so |
84b99a4c | 147 | %{_includedir}/gstreamer-1.0/gst/validate |
40dd6661 | 148 | %dir %{_includedir}/gstreamer-1.0/lib |
2826b9a3 | 149 | %{_includedir}/gstreamer-1.0/lib/validate |
84b99a4c JB |
150 | %{_pkgconfigdir}/gst-validate-1.0.pc |
151 | %{_datadir}/gir-1.0/GstValidate-1.0.gir | |
152 | ||
153 | %files apidocs | |
154 | %defattr(644,root,root,755) | |
155 | %{_gtkdocdir}/gst-validate-1.0 | |
2826b9a3 | 156 | %{_gtkdocdir}/gst-validate-plugins-1.0 |