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