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