]> git.pld-linux.org Git - packages/gstreamer-devtools.git/blame - gstreamer-validate.spec
- release 2 (by relup.sh)
[packages/gstreamer-devtools.git] / gstreamer-validate.spec
CommitLineData
a5c6c1d2
JB
1%define gst_ver 1.12.0
2%define gstpb_ver 1.12.0
84b99a4c
JB
3Summary: GstValidate - suite of tools to run GStreamer integration tests
4Summary(pl.UTF-8): GstValidate - zestaw narzędzi do uruchamiania testów integracyjnych GStreamera
5Name: gstreamer-validate
2a7c50d4 6Version: 1.12.4
e54a3823 7Release: 2
84b99a4c
JB
8License: LGPL v2.1+
9Group: Libraries
52be44fe 10Source0: https://gstreamer.freedesktop.org/src/gst-validate/gst-validate-%{version}.tar.xz
2a7c50d4 11# Source0-md5: bc074d49677081f9c27de11a09165746
52be44fe 12URL: https://gstreamer.freedesktop.org/
84b99a4c
JB
13BuildRequires: autoconf >= 2.62
14BuildRequires: automake >= 1:1.11
2826b9a3 15BuildRequires: cairo-devel
84b99a4c
JB
16BuildRequires: gettext-devel >= 0.17
17BuildRequires: glib2-devel >= 1:2.36.0
18BuildRequires: gobject-introspection-devel >= 0.6.3
19BuildRequires: gstreamer-devel >= %{gst_ver}
20BuildRequires: gstreamer-plugins-base-devel >= %{gstpb_ver}
2826b9a3 21BuildRequires: gtk+3-devel >= 3.0
84b99a4c 22BuildRequires: gtk-doc >= 1.3
a5c6c1d2 23BuildRequires: json-glib-devel >= 1.0
2826b9a3
JB
24BuildRequires: libtool >= 2:2.2.6
25BuildRequires: pkgconfig >= 1:0.9.0
84b99a4c
JB
26BuildRequires: python >= 1:2.7.0
27BuildRequires: tar >= 1:1.22
28BuildRequires: xz
29Requires: glib2 >= 1:2.36.0
30Requires: gstreamer >= %{gst_ver}
31Requires: gstreamer-plugins-base >= %{gstpb_ver}
a5c6c1d2 32Requires: json-glib >= 1.0
84b99a4c
JB
33Requires: python-modules >= 1:2.7
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37The goal of GstValidate is to be able to detect when elements are not
38behaving as expected and report it to the user so he knows how things
39are supposed to work inside a GstPipeline. In the end, fixing issues
40found by the tool will ensure that all elements behave all together in
41the expected way.
42
43%description -l pl.UTF-8
44Celem GstValidate jest umożliwienie wykrycia sytuacji, kiedy elementy
45nie zachowują się w sposób oczekiwany i zgłaszanie tego faktu
46użytkownikowi tak, aby wiedział, jak powinny działać elementy wewnątrz
47GstPipeline. W efekcie, poprawienie problemów wykrytych przez to
48narzędzie zapewni, że wszystkie elementy razem będą się zachowywały w
49sposób zgodny z oczekiwaniami.
50
51%package devel
52Summary: Header files for GstValidate library
53Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GstValidate
54Group: Development/Libraries
55Requires: %{name} = %{version}-%{release}
56Requires: glib2-devel >= 1:2.36.0
57Requires: gstreamer-devel >= %{gst_ver}
58Requires: gstreamer-plugins-base-devel >= %{gstpb_ver}
59
60%description devel
61Header files for GstValidate library.
62
63%description devel -l pl.UTF-8
64Pliki nagłówkowe biblioteki GstValidate.
65
66%package apidocs
67Summary: API documentation for GstValidate library
68Summary(pl.UTF-8): Dokumentacja API biblioteki GstValidate
69Group: Documentation
70%if "%{_rpmversion}" >= "5"
71BuildArch: noarch
72%endif
73
74%description apidocs
75API documentation for GstValidate library.
76
77%description apidocs -l pl.UTF-8
78Dokumentacja 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
100rm -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
112rm -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
This page took 0.219635 seconds and 4 git commands to generate.