- release 3
[packages/gstreamer.git] / gstreamer.spec
CommitLineData
aa3775f0 1Summary: GStreamer Streaming-media framework runtime
69ce472f 2Summary(pl.UTF-8): GStreamer - biblioteki środowiska do obróbki strumieni
aa3775f0 3Name: gstreamer
5d1e72f6 4Version: 0.10.36
d64f4563 5Release: 3
3e490ffb 6License: LGPL v2+
aa3775f0 7Group: Libraries
5d1e72f6
JB
8Source0: http://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.xz
9# Source0-md5: 15389c73e091b1dda915279c388b9cb2
a693ae43 10Source1: %{name}-rpmdeps.sh
f61ac254
JB
11Patch0: %{name}-without_ps_pdf.patch
12Patch1: %{name}-eps.patch
5ab189e4 13Patch2: %{name}-inspect-rpm-format.patch
ef826307 14URL: http://gstreamer.net/
4ca32f31 15BuildRequires: autoconf >= 2.60
4946a592 16BuildRequires: automake >= 1:1.11
4ca32f31 17BuildRequires: bison >= 1.875
cebc43df 18BuildRequires: docbook-dtd30-sgml
d3c26881 19BuildRequires: docbook-dtd412-xml
f61ac254 20BuildRequires: docbook-utils >= 0.6.10
4ca32f31
JB
21BuildRequires: flex >= 2.5.31
22BuildRequires: gettext-devel >= 0.17
5d1e72f6 23BuildRequires: glib2-devel >= 1:2.24
d3c26881 24BuildRequires: glibc-misc
cebc43df 25BuildRequires: gnome-doc-tools
5d1e72f6 26BuildRequires: gobject-introspection-devel >= 0.6.8
06ecafda 27BuildRequires: gtk-doc >= 1.6
911db201 28BuildRequires: libtool >= 1.4
06ecafda 29BuildRequires: libxml2-devel >= 1:2.6.26
8608015c 30BuildRequires: nasm
9e6e4167 31BuildRequires: perl-base
965ff8c8 32BuildRequires: pkgconfig >= 1:0.9.0
4ca32f31 33BuildRequires: python >= 2.1
5d1e72f6 34BuildRequires: tar >= 1:1.22
48842c38 35BuildRequires: transfig
fe044034 36BuildRequires: xmlto
5d1e72f6
JB
37BuildRequires: xz
38Requires: glib2 >= 1:2.24
bc1f103d 39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
4988018f 40
774fa34b
JB
41%define vmajor %(echo %{version} | cut -d. -f1,2)
42%define _gstlibdir %{_libdir}/gstreamer-%{vmajor}
43%define _gstincludedir %{_includedir}/gstreamer-%{vmajor}
c6416cbe 44
a693ae43
MB
45%define rpmlibdir /usr/lib/rpm
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}
5d1e72f6 68Requires: glib2-devel >= 1:2.24
06ecafda 69Requires: libxml2-devel >= 1:2.6.26
06b33981 70Obsoletes: gstreamer-plugins-bad-devel < 0.10.10
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
97
98%description apidocs
99GStreamer API documentation.
100
212bb255 101%description apidocs -l pl.UTF-8
078e7ce4 102Dokumentacja API Gstreamera.
103
8fe6c68e 104%prep
be480bee 105%setup -q
f61ac254
JB
106%patch0 -p1
107%patch1 -p1
955c6464 108%patch2 -p1
3e490ffb 109
8fe6c68e 110%build
3e490ffb
JB
111# po/Makefile.in.in is modified
112#{__gettextize}
0914acac 113%{__libtoolize}
41ad949c 114%{__aclocal} -I common/m4 -I m4 -I .
eef0a4ad 115%{__autoconf}
0914acac
MK
116%{__autoheader}
117%{__automake}
836bb034 118%configure \
91240adb 119 --disable-examples \
bc366c85 120 --disable-pspdf \
4ca32f31 121 --disable-silent-rules \
91240adb 122 --disable-tests \
66c5307a 123 --enable-docbook \
124 --enable-gtk-doc \
f7b78f50 125 --with-html-dir=%{_gtkdocdir}
10947d06 126
4ca32f31 127%{__make}
8fe6c68e 128
94b8580b 129%install
aa3775f0 130rm -rf $RPM_BUILD_ROOT
a693ae43 131install -d $RPM_BUILD_ROOT{%{_docdir}/%{name}-devel-%{version},%{rpmlibdir}}
8fe6c68e 132
91240adb 133%{__make} install \
7b283813
JB
134 DESTDIR=$RPM_BUILD_ROOT
135
a693ae43 136install %{SOURCE1} $RPM_BUILD_ROOT%{rpmlibdir}/gstreamerdeps.sh
a693ae43 137
774fa34b 138mv $RPM_BUILD_ROOT%{_docdir}/%{name}-{%{vmajor},%{version}}
9e6e4167 139mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{manual,pwg} \
140 $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
141
142%find_lang %{name} --all-name --with-gnome
143
d9da29b9
JB
144# no *.la for modules - shut up check files
145%{__rm} $RPM_BUILD_ROOT%{_gstlibdir}/lib*.la
891b7a18 146# *.la for libs kept - no .private dependencies in *.pc
70462d81 147
8fe6c68e 148%clean
e3bdbfbd 149rm -rf $RPM_BUILD_ROOT
8fe6c68e 150
078e7ce4 151%post -p /sbin/ldconfig
ef826307 152%postun -p /sbin/ldconfig
94b8580b 153
9e6e4167 154%files -f %{name}.lang
aa3775f0 155%defattr(644,root,root,755)
9e6e4167 156%doc AUTHORS ChangeLog NEWS README TODO
774fa34b
JB
157%attr(755,root,root) %{_bindir}/gst-*
158%attr(755,root,root) %{_libdir}/libgstbase-0.10.so.*.*.*
159%attr(755,root,root) %ghost %{_libdir}/libgstbase-0.10.so.0
160%attr(755,root,root) %{_libdir}/libgstcheck-0.10.so.*.*.*
161%attr(755,root,root) %ghost %{_libdir}/libgstcheck-0.10.so.0
162%attr(755,root,root) %{_libdir}/libgstcontroller-0.10.so.*.*.*
163%attr(755,root,root) %ghost %{_libdir}/libgstcontroller-0.10.so.0
164%attr(755,root,root) %{_libdir}/libgstdataprotocol-0.10.so.*.*.*
165%attr(755,root,root) %ghost %{_libdir}/libgstdataprotocol-0.10.so.0
166%attr(755,root,root) %{_libdir}/libgstnet-0.10.so.*.*.*
167%attr(755,root,root) %ghost %{_libdir}/libgstnet-0.10.so.0
168%attr(755,root,root) %{_libdir}/libgstreamer-0.10.so.*.*.*
169%attr(755,root,root) %ghost %{_libdir}/libgstreamer-0.10.so.0
7b283813 170%dir %{_gstlibdir}
87b5d78a 171%attr(755,root,root) %{_gstlibdir}/gst-plugin-scanner
774fa34b
JB
172%attr(755,root,root) %{_gstlibdir}/libgstcoreelements.so
173%attr(755,root,root) %{_gstlibdir}/libgstcoreindexers.so
174%{_mandir}/man1/gst-*.1*
ce532c1e
AF
175%{_libdir}/girepository-1.0/Gst-0.10.typelib
176%{_libdir}/girepository-1.0/GstBase-0.10.typelib
177%{_libdir}/girepository-1.0/GstCheck-0.10.typelib
178%{_libdir}/girepository-1.0/GstController-0.10.typelib
179%{_libdir}/girepository-1.0/GstNet-0.10.typelib
8fe6c68e 180
181%files devel
aa3775f0 182%defattr(644,root,root,755)
774fa34b
JB
183%attr(755,root,root) %{_libdir}/libgstbase-0.10.so
184%attr(755,root,root) %{_libdir}/libgstcheck-0.10.so
185%attr(755,root,root) %{_libdir}/libgstcontroller-0.10.so
186%attr(755,root,root) %{_libdir}/libgstdataprotocol-0.10.so
187%attr(755,root,root) %{_libdir}/libgstnet-0.10.so
188%attr(755,root,root) %{_libdir}/libgstreamer-0.10.so
189%{_libdir}/libgstbase-0.10.la
190%{_libdir}/libgstcheck-0.10.la
191%{_libdir}/libgstcontroller-0.10.la
192%{_libdir}/libgstdataprotocol-0.10.la
193%{_libdir}/libgstnet-0.10.la
194%{_libdir}/libgstreamer-0.10.la
66c5307a 195%{_docdir}/%{name}-devel-%{version}
c6416cbe 196%{_gstincludedir}
774fa34b
JB
197%{_pkgconfigdir}/gstreamer-0.10.pc
198%{_pkgconfigdir}/gstreamer-base-0.10.pc
199%{_pkgconfigdir}/gstreamer-check-0.10.pc
200%{_pkgconfigdir}/gstreamer-controller-0.10.pc
201%{_pkgconfigdir}/gstreamer-dataprotocol-0.10.pc
202%{_pkgconfigdir}/gstreamer-net-0.10.pc
203%{_aclocaldir}/gst-element-check-0.10.m4
a693ae43 204%attr(755,root,root) %{rpmlibdir}/gstreamerdeps.sh
ce532c1e
AF
205%{_datadir}/gir-1.0/Gst-0.10.gir
206%{_datadir}/gir-1.0/GstBase-0.10.gir
207%{_datadir}/gir-1.0/GstCheck-0.10.gir
208%{_datadir}/gir-1.0/GstController-0.10.gir
209%{_datadir}/gir-1.0/GstNet-0.10.gir
ef826307
JB
210
211%files static
212%defattr(644,root,root,755)
774fa34b
JB
213%{_libdir}/libgstbase-0.10.a
214%{_libdir}/libgstcheck-0.10.a
215%{_libdir}/libgstcontroller-0.10.a
216%{_libdir}/libgstdataprotocol-0.10.a
217%{_libdir}/libgstnet-0.10.a
218%{_libdir}/libgstreamer-0.10.a
078e7ce4 219
220%files apidocs
221%defattr(644,root,root,755)
774fa34b
JB
222%{_gtkdocdir}/gstreamer-0.10
223%{_gtkdocdir}/gstreamer-libs-0.10
224%{_gtkdocdir}/gstreamer-plugins-0.10
This page took 0.079154 seconds and 4 git commands to generate.