]> git.pld-linux.org Git - packages/gstreamer.git/blame - gstreamer.spec
- updated to 1.16.2
[packages/gstreamer.git] / gstreamer.spec
CommitLineData
b68c95f7 1# TODO: suid/capabilities for ptp-helper?
500c9cf5 2%define gstmver 1.0
e1d0ecfc 3
aa3775f0 4Summary: GStreamer Streaming-media framework runtime
69ce472f 5Summary(pl.UTF-8): GStreamer - biblioteki środowiska do obróbki strumieni
aa3775f0 6Name: gstreamer
5d57bfeb
JB
7Version: 1.16.2
8Release: 1
3e490ffb 9License: LGPL v2+
aa3775f0 10Group: Libraries
b6b50e80 11Source0: https://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.xz
5d57bfeb 12# Source0-md5: 0e661ed5bdf1d8996e430228d022628e
28c60d38 13Patch0: %{name}-inspect-rpm-format.patch
5d57bfeb 14Patch1: %{name}-make.patch
b6b50e80 15URL: https://gstreamer.freedesktop.org/
b68c95f7
JB
16BuildRequires: autoconf >= 2.69
17BuildRequires: automake >= 1:1.14
4ca32f31 18BuildRequires: bison >= 1.875
d3c26881 19BuildRequires: docbook-dtd412-xml
28c60d38 20BuildRequires: elfutils-devel
4ca32f31 21BuildRequires: flex >= 2.5.31
a3fe4935 22BuildRequires: gettext-tools >= 0.17
3dcbbc36 23BuildRequires: glib2-devel >= 1:2.40.0
07a0af1a
JB
24%if %(locale -a | grep -q '^C\.UTF-8$'; echo $?)
25BuildRequires: glibc-localedb-all
26%endif
d3c26881 27BuildRequires: glibc-misc
c44ba6d0 28BuildRequires: gobject-introspection-devel >= 1.31.1
6fcf6a9b 29BuildRequires: gtk-doc >= 1.12
b68c95f7
JB
30BuildRequires: libcap-devel
31BuildRequires: libtool >= 2:2.2.6
f3cd19d1 32%ifarch %{ix86} %{x8664} x32 %{arm} hppa ia64 mips ppc ppc64 sh
28c60d38
JB
33BuildRequires: libunwind-devel
34%endif
9e6e4167 35BuildRequires: perl-base
965ff8c8 36BuildRequires: pkgconfig >= 1:0.9.0
4ca32f31 37BuildRequires: python >= 2.1
5d1e72f6 38BuildRequires: tar >= 1:1.22
5d1e72f6 39BuildRequires: xz
3dcbbc36 40Requires: glib2 >= 1:2.40.0
bc1f103d 41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
4988018f 42
500c9cf5
JB
43%define gstlibdir %{_libdir}/gstreamer-%{gstmver}
44%define gstlibexecdir %{_libexecdir}/gstreamer-%{gstmver}
45%define gstincludedir %{_includedir}/gstreamer-%{gstmver}
c6416cbe 46
8fe6c68e 47%description
aa3775f0
MP
48GStreamer is a streaming-media framework, based on graphs of filters
49which operate on media data. Applications using this library can do
50anything from real-time sound processing to playing videos, and just
51about anything else media-related. Its plugin-based architecture means
52that new data types or processing capabilities can be added simply by
53installing new plugins.
8fe6c68e 54
212bb255
JR
55%description -l pl.UTF-8
56GStreamer to środowisko obróbki danych strumieniowych, bazujące na
57grafie filtrów operujących na danych medialnych. Aplikacje używające
58tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie
59rzeczywistym, do odtwarzania filmów i czegokolwiek innego związanego z
60mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie
61nowych typów danych lub możliwości obróbki.
ef826307 62
8fe6c68e 63%package devel
ef826307 64Summary: Include files for GStreamer streaming-media framework
69ce472f 65Summary(pl.UTF-8): Pliki nagłówkowe do środowiska obróbki strumieni GStreamer
aa3775f0 66Group: Development/Libraries
9e6e4167 67Requires: %{name} = %{version}-%{release}
3dcbbc36 68Requires: glib2-devel >= 1:2.40.0
06b33981 69Obsoletes: gstreamer-plugins-bad-devel < 0.10.10
5d0defac 70Conflicts: gstreamer-plugins-bad-devel < 1.14
8fe6c68e 71
72%description devel
ef826307
JB
73This package contains the includes files necessary to develop
74applications and plugins for GStreamer.
75
212bb255
JR
76%description devel -l pl.UTF-8
77Ten pakiet zawiera pliki nagłówkowe potrzebne do rozwijania aplikacji
ef826307
JB
78i wtyczek do GStreamera.
79
80%package static
81Summary: GStreamer static libraries
69ce472f 82Summary(pl.UTF-8): Biblioteki statyczne GStreamer
ef826307 83Group: Development/Libraries
9e6e4167 84Requires: %{name}-devel = %{version}-%{release}
8fe6c68e 85
ef826307
JB
86%description static
87Static versions of GStreamer libraries.
88
212bb255 89%description static -l pl.UTF-8
ef826307 90Statyczne wersje bibliotek GStreamer.
8fe6c68e 91
078e7ce4 92%package apidocs
93Summary: GStreamer API documentation
69ce472f 94Summary(pl.UTF-8): Dokumentacja API Gstreamera
078e7ce4 95Group: Documentation
96Requires: gtk-doc-common
e1d0ecfc
ER
97%if "%{_rpmversion}" >= "5"
98BuildArch: noarch
99%endif
078e7ce4 100
101%description apidocs
102GStreamer API documentation.
103
212bb255 104%description apidocs -l pl.UTF-8
078e7ce4 105Dokumentacja API Gstreamera.
106
205d484a
BS
107%package gdb
108Summary: GStreamer pretty printers for GDB
109Summary(pl.UTF-8): Funkcje wypisujące dane GStreamer dla GDB
110Group: Development/Debuggers
111
112%description gdb
113This package contains Python scripts for GDB pretty printing of the
114GStreamer types.
115
116%description gdb -l pl.UTF-8
117Ten pakiet zawiera skrypty Pythona dla GDB służące do ładnego
118wypisywania typów GStreamer.
119
b68c95f7
JB
120%package -n bash-completion-gstreamer
121Summary: Bash completion for GStreamer utilities
122Summary(pl.UTF-8): Bashowe uzupełnianie parametrów narzędzi GStreamera
123Group: Applications/Shells
124Requires: %{name} = %{version}-%{release}
125Requires: bash-completion >= 2.0
126
127%description -n bash-completion-gstreamer
128Bash completion for GStreamer utilities: gst-inspect and gst-launch.
129
130%description -n bash-completion-gstreamer
131Bashowe uzupełnianie parametrów narzędzi GStreamera: gst-inspect oraz
132gst-launch.
133
8fe6c68e 134%prep
be480bee 135%setup -q
f61ac254 136%patch0 -p1
5d57bfeb 137%patch1 -p1
3e490ffb 138
8fe6c68e 139%build
3e490ffb
JB
140# po/Makefile.in.in is modified
141#{__gettextize}
0914acac 142%{__libtoolize}
41ad949c 143%{__aclocal} -I common/m4 -I m4 -I .
eef0a4ad 144%{__autoconf}
0914acac
MK
145%{__autoheader}
146%{__automake}
836bb034 147%configure \
91240adb 148 --disable-examples \
4ca32f31 149 --disable-silent-rules \
91240adb 150 --disable-tests \
66c5307a 151 --enable-gtk-doc \
c44ba6d0
ŁK
152 --with-html-dir=%{_gtkdocdir} \
153 --enable-static
10947d06 154
07a0af1a 155LC_ALL=C.UTF-8 \
4ca32f31 156%{__make}
8fe6c68e 157
94b8580b 158%install
aa3775f0 159rm -rf $RPM_BUILD_ROOT
8fe6c68e 160
91240adb 161%{__make} install \
7b283813
JB
162 DESTDIR=$RPM_BUILD_ROOT
163
9e6e4167 164%find_lang %{name} --all-name --with-gnome
165
f3cd19d1
JB
166# no *.la for modules nor static modules - shut up check files
167%{__rm} $RPM_BUILD_ROOT%{gstlibdir}/lib*.{la,a}
e3c412c9
JB
168# obsoleted by pkg-config
169%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgst*.la
70462d81 170
205d484a
BS
171%py_comp $RPM_BUILD_ROOT%{_datadir}/gstreamer-1.0/gdb/
172%py_ocomp $RPM_BUILD_ROOT%{_datadir}/gstreamer-1.0/gdb/
173%py_postclean %{_datadir}/gstreamer-1.0/gdb/
174
8fe6c68e 175%clean
e3bdbfbd 176rm -rf $RPM_BUILD_ROOT
8fe6c68e 177
078e7ce4 178%post -p /sbin/ldconfig
ef826307 179%postun -p /sbin/ldconfig
94b8580b 180
9e6e4167 181%files -f %{name}.lang
aa3775f0 182%defattr(644,root,root,755)
396d97fd 183%doc AUTHORS ChangeLog MAINTAINERS NEWS README RELEASE
e3c412c9
JB
184%attr(755,root,root) %{_bindir}/gst-inspect-1.0
185%attr(755,root,root) %{_bindir}/gst-launch-1.0
3dcbbc36 186%attr(755,root,root) %{_bindir}/gst-stats-1.0
e3c412c9 187%attr(755,root,root) %{_bindir}/gst-typefind-1.0
500c9cf5
JB
188%attr(755,root,root) %{_libdir}/libgstbase-%{gstmver}.so.*.*.*
189%attr(755,root,root) %ghost %{_libdir}/libgstbase-%{gstmver}.so.0
190%attr(755,root,root) %{_libdir}/libgstcheck-%{gstmver}.so.*.*.*
191%attr(755,root,root) %ghost %{_libdir}/libgstcheck-%{gstmver}.so.0
192%attr(755,root,root) %{_libdir}/libgstcontroller-%{gstmver}.so.*.*.*
193%attr(755,root,root) %ghost %{_libdir}/libgstcontroller-%{gstmver}.so.0
194%attr(755,root,root) %{_libdir}/libgstnet-%{gstmver}.so.*.*.*
195%attr(755,root,root) %ghost %{_libdir}/libgstnet-%{gstmver}.so.0
196%attr(755,root,root) %{_libdir}/libgstreamer-%{gstmver}.so.*.*.*
197%attr(755,root,root) %ghost %{_libdir}/libgstreamer-%{gstmver}.so.0
970997fa
JB
198%if "%{_libexecdir}" != "%{_libdir}"
199%dir %{gstlibexecdir}
200%endif
201%attr(755,root,root) %{gstlibexecdir}/gst-plugin-scanner
202%attr(755,root,root) %{gstlibexecdir}/gst-ptp-helper
203%dir %{gstlibdir}
204%attr(755,root,root) %{gstlibdir}/libgstcoreelements.so
205%attr(755,root,root) %{gstlibdir}/libgstcoretracers.so
e3c412c9
JB
206%{_mandir}/man1/gst-inspect-1.0.1*
207%{_mandir}/man1/gst-launch-1.0.1*
417c9e6b 208%{_mandir}/man1/gst-stats-1.0.1*
e3c412c9 209%{_mandir}/man1/gst-typefind-1.0.1*
500c9cf5
JB
210%{_libdir}/girepository-1.0/Gst-%{gstmver}.typelib
211%{_libdir}/girepository-1.0/GstBase-%{gstmver}.typelib
212%{_libdir}/girepository-1.0/GstCheck-%{gstmver}.typelib
213%{_libdir}/girepository-1.0/GstController-%{gstmver}.typelib
214%{_libdir}/girepository-1.0/GstNet-%{gstmver}.typelib
8fe6c68e 215
216%files devel
aa3775f0 217%defattr(644,root,root,755)
500c9cf5
JB
218%attr(755,root,root) %{_libdir}/libgstbase-%{gstmver}.so
219%attr(755,root,root) %{_libdir}/libgstcheck-%{gstmver}.so
220%attr(755,root,root) %{_libdir}/libgstcontroller-%{gstmver}.so
221%attr(755,root,root) %{_libdir}/libgstnet-%{gstmver}.so
222%attr(755,root,root) %{_libdir}/libgstreamer-%{gstmver}.so
970997fa
JB
223%dir %{gstincludedir}
224%{gstincludedir}/gst
500c9cf5
JB
225%{_pkgconfigdir}/gstreamer-%{gstmver}.pc
226%{_pkgconfigdir}/gstreamer-base-%{gstmver}.pc
227%{_pkgconfigdir}/gstreamer-check-%{gstmver}.pc
228%{_pkgconfigdir}/gstreamer-controller-%{gstmver}.pc
229%{_pkgconfigdir}/gstreamer-net-%{gstmver}.pc
230%{_aclocaldir}/gst-element-check-%{gstmver}.m4
231%{_datadir}/gir-1.0/Gst-%{gstmver}.gir
232%{_datadir}/gir-1.0/GstBase-%{gstmver}.gir
233%{_datadir}/gir-1.0/GstCheck-%{gstmver}.gir
234%{_datadir}/gir-1.0/GstController-%{gstmver}.gir
235%{_datadir}/gir-1.0/GstNet-%{gstmver}.gir
ef826307
JB
236
237%files static
238%defattr(644,root,root,755)
500c9cf5
JB
239%{_libdir}/libgstbase-%{gstmver}.a
240%{_libdir}/libgstcheck-%{gstmver}.a
241%{_libdir}/libgstcontroller-%{gstmver}.a
242%{_libdir}/libgstnet-%{gstmver}.a
243%{_libdir}/libgstreamer-%{gstmver}.a
078e7ce4 244
245%files apidocs
246%defattr(644,root,root,755)
500c9cf5
JB
247%{_gtkdocdir}/gstreamer-%{gstmver}
248%{_gtkdocdir}/gstreamer-libs-%{gstmver}
249%{_gtkdocdir}/gstreamer-plugins-%{gstmver}
b68c95f7 250
205d484a
BS
251%files gdb
252%defattr(644,root,root,755)
500c9cf5 253%{_datadir}/gdb/auto-load%{_libdir}/libgstreamer-%{gstmver}.so.*.*.*-gdb.py
3673a992 254%dir %{_datadir}/gstreamer-1.0
205d484a
BS
255%{_datadir}/gstreamer-1.0/gdb
256
b68c95f7
JB
257%files -n bash-completion-gstreamer
258%defattr(644,root,root,755)
3dcbbc36
ŁK
259%{bash_compdir}/gst-inspect-1.0
260%{bash_compdir}/gst-launch-1.0
970997fa 261%attr(755,root,root) %{gstlibexecdir}/gst-completion-helper
b68c95f7 262%attr(755,root,root) %{_datadir}/bash-completion/helpers/gst
This page took 0.092943 seconds and 4 git commands to generate.