]> git.pld-linux.org Git - packages/gstreamer.git/blame - gstreamer.spec
- release 2
[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
1e8fc18a 4Version: 0.10.21
d33dfc3e 5Release: 2
3e490ffb 6License: LGPL v2+
aa3775f0 7Group: Libraries
166c0b54 8Source0: http://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.bz2
1e8fc18a 9# Source0-md5: 7bad90af3fd81a1535363cf85359125c
f61ac254
JB
10Patch0: %{name}-without_ps_pdf.patch
11Patch1: %{name}-eps.patch
ef826307 12URL: http://gstreamer.net/
911db201 13BuildRequires: autoconf >= 2.52
14BuildRequires: automake >= 1.6
15BuildRequires: bison >= 1.35
fb635e9c 16BuildRequires: check >= 0.9.3-2
f61ac254 17BuildRequires: docbook-utils >= 0.6.10
6034545d 18BuildRequires: flex
b1bab0cb 19BuildRequires: gettext-devel >= 0.11.5
06ecafda 20BuildRequires: glib2-devel >= 1:2.12.0
21BuildRequires: gtk-doc >= 1.6
911db201 22BuildRequires: libtool >= 1.4
06ecafda 23BuildRequires: libxml2-devel >= 1:2.6.26
8608015c 24BuildRequires: nasm
9e6e4167 25BuildRequires: perl-base
965ff8c8 26BuildRequires: pkgconfig >= 1:0.9.0
9e6e4167 27BuildRequires: popt-devel >= 1.6.3
078e7ce4 28# not sure it is a right place for this BR
29BuildRequires: python-PyXML
48842c38 30BuildRequires: transfig
fe044034 31BuildRequires: xmlto
06ecafda 32Requires: glib2 >= 1:2.12.0
bc1f103d 33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
4988018f 34
774fa34b
JB
35%define vmajor %(echo %{version} | cut -d. -f1,2)
36%define _gstlibdir %{_libdir}/gstreamer-%{vmajor}
37%define _gstincludedir %{_includedir}/gstreamer-%{vmajor}
c6416cbe 38
8fe6c68e 39%description
aa3775f0
MP
40GStreamer is a streaming-media framework, based on graphs of filters
41which operate on media data. Applications using this library can do
42anything from real-time sound processing to playing videos, and just
43about anything else media-related. Its plugin-based architecture means
44that new data types or processing capabilities can be added simply by
45installing new plugins.
8fe6c68e 46
212bb255
JR
47%description -l pl.UTF-8
48GStreamer to środowisko obróbki danych strumieniowych, bazujące na
49grafie filtrów operujących na danych medialnych. Aplikacje używające
50tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie
51rzeczywistym, do odtwarzania filmów i czegokolwiek innego związanego z
52mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie
53nowych typów danych lub możliwości obróbki.
ef826307 54
8fe6c68e 55%package devel
ef826307 56Summary: Include files for GStreamer streaming-media framework
69ce472f 57Summary(pl.UTF-8): Pliki nagłówkowe do środowiska obróbki strumieni GStreamer
aa3775f0 58Group: Development/Libraries
9e6e4167 59Requires: %{name} = %{version}-%{release}
06ecafda 60Requires: glib2-devel >= 1:2.12.0
61Requires: libxml2-devel >= 1:2.6.26
9e6e4167 62Requires: popt-devel >= 1.6.3
8fe6c68e 63
64%description devel
ef826307
JB
65This package contains the includes files necessary to develop
66applications and plugins for GStreamer.
67
212bb255
JR
68%description devel -l pl.UTF-8
69Ten pakiet zawiera pliki nagłówkowe potrzebne do rozwijania aplikacji
ef826307
JB
70i wtyczek do GStreamera.
71
72%package static
73Summary: GStreamer static libraries
69ce472f 74Summary(pl.UTF-8): Biblioteki statyczne GStreamer
ef826307 75Group: Development/Libraries
9e6e4167 76Requires: %{name}-devel = %{version}-%{release}
8fe6c68e 77
ef826307
JB
78%description static
79Static versions of GStreamer libraries.
80
212bb255 81%description static -l pl.UTF-8
ef826307 82Statyczne wersje bibliotek GStreamer.
8fe6c68e 83
078e7ce4 84%package apidocs
85Summary: GStreamer API documentation
69ce472f 86Summary(pl.UTF-8): Dokumentacja API Gstreamera
078e7ce4 87Group: Documentation
88Requires: gtk-doc-common
89
90%description apidocs
91GStreamer API documentation.
92
212bb255 93%description apidocs -l pl.UTF-8
078e7ce4 94Dokumentacja API Gstreamera.
95
8fe6c68e 96%prep
be480bee 97%setup -q
f61ac254
JB
98%patch0 -p1
99%patch1 -p1
3e490ffb 100
8fe6c68e 101%build
3e490ffb
JB
102# po/Makefile.in.in is modified
103#{__gettextize}
0914acac 104%{__libtoolize}
fe044034 105%{__aclocal} -I common/m4
eef0a4ad 106%{__autoconf}
0914acac
MK
107%{__autoheader}
108%{__automake}
836bb034 109%configure \
91240adb 110 --disable-examples \
bc366c85 111 --disable-pspdf \
91240adb 112 --disable-tests \
66c5307a 113 --enable-docbook \
114 --enable-gtk-doc \
f7b78f50 115 --with-html-dir=%{_gtkdocdir}
10947d06 116
aa3775f0 117%{__make}
8fe6c68e 118
94b8580b 119%install
aa3775f0 120rm -rf $RPM_BUILD_ROOT
316dbee1 121install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
8fe6c68e 122
91240adb 123%{__make} install \
7b283813
JB
124 DESTDIR=$RPM_BUILD_ROOT
125
774fa34b 126mv $RPM_BUILD_ROOT%{_docdir}/%{name}-{%{vmajor},%{version}}
9e6e4167 127mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{manual,pwg} \
128 $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
129
130%find_lang %{name} --all-name --with-gnome
131
70462d81
JB
132# no static modules and *.la for them - shut up check files
133rm -f $RPM_BUILD_ROOT%{_gstlibdir}/lib*.{la,a}
134
8fe6c68e 135%clean
e3bdbfbd 136rm -rf $RPM_BUILD_ROOT
8fe6c68e 137
078e7ce4 138%post -p /sbin/ldconfig
ef826307 139%postun -p /sbin/ldconfig
94b8580b 140
9e6e4167 141%files -f %{name}.lang
aa3775f0 142%defattr(644,root,root,755)
9e6e4167 143%doc AUTHORS ChangeLog NEWS README TODO
774fa34b
JB
144%attr(755,root,root) %{_bindir}/gst-*
145%attr(755,root,root) %{_libdir}/libgstbase-0.10.so.*.*.*
146%attr(755,root,root) %ghost %{_libdir}/libgstbase-0.10.so.0
147%attr(755,root,root) %{_libdir}/libgstcheck-0.10.so.*.*.*
148%attr(755,root,root) %ghost %{_libdir}/libgstcheck-0.10.so.0
149%attr(755,root,root) %{_libdir}/libgstcontroller-0.10.so.*.*.*
150%attr(755,root,root) %ghost %{_libdir}/libgstcontroller-0.10.so.0
151%attr(755,root,root) %{_libdir}/libgstdataprotocol-0.10.so.*.*.*
152%attr(755,root,root) %ghost %{_libdir}/libgstdataprotocol-0.10.so.0
153%attr(755,root,root) %{_libdir}/libgstnet-0.10.so.*.*.*
154%attr(755,root,root) %ghost %{_libdir}/libgstnet-0.10.so.0
155%attr(755,root,root) %{_libdir}/libgstreamer-0.10.so.*.*.*
156%attr(755,root,root) %ghost %{_libdir}/libgstreamer-0.10.so.0
7b283813 157%dir %{_gstlibdir}
774fa34b
JB
158%attr(755,root,root) %{_gstlibdir}/libgstcoreelements.so
159%attr(755,root,root) %{_gstlibdir}/libgstcoreindexers.so
160%{_mandir}/man1/gst-*.1*
8fe6c68e 161
162%files devel
aa3775f0 163%defattr(644,root,root,755)
774fa34b
JB
164%attr(755,root,root) %{_libdir}/libgstbase-0.10.so
165%attr(755,root,root) %{_libdir}/libgstcheck-0.10.so
166%attr(755,root,root) %{_libdir}/libgstcontroller-0.10.so
167%attr(755,root,root) %{_libdir}/libgstdataprotocol-0.10.so
168%attr(755,root,root) %{_libdir}/libgstnet-0.10.so
169%attr(755,root,root) %{_libdir}/libgstreamer-0.10.so
170%{_libdir}/libgstbase-0.10.la
171%{_libdir}/libgstcheck-0.10.la
172%{_libdir}/libgstcontroller-0.10.la
173%{_libdir}/libgstdataprotocol-0.10.la
174%{_libdir}/libgstnet-0.10.la
175%{_libdir}/libgstreamer-0.10.la
66c5307a 176%{_docdir}/%{name}-devel-%{version}
c6416cbe 177%{_gstincludedir}
774fa34b
JB
178%{_pkgconfigdir}/gstreamer-0.10.pc
179%{_pkgconfigdir}/gstreamer-base-0.10.pc
180%{_pkgconfigdir}/gstreamer-check-0.10.pc
181%{_pkgconfigdir}/gstreamer-controller-0.10.pc
182%{_pkgconfigdir}/gstreamer-dataprotocol-0.10.pc
183%{_pkgconfigdir}/gstreamer-net-0.10.pc
184%{_aclocaldir}/gst-element-check-0.10.m4
ef826307
JB
185
186%files static
187%defattr(644,root,root,755)
774fa34b
JB
188%{_libdir}/libgstbase-0.10.a
189%{_libdir}/libgstcheck-0.10.a
190%{_libdir}/libgstcontroller-0.10.a
191%{_libdir}/libgstdataprotocol-0.10.a
192%{_libdir}/libgstnet-0.10.a
193%{_libdir}/libgstreamer-0.10.a
078e7ce4 194
195%files apidocs
196%defattr(644,root,root,755)
774fa34b
JB
197%{_gtkdocdir}/gstreamer-0.10
198%{_gtkdocdir}/gstreamer-libs-0.10
199%{_gtkdocdir}/gstreamer-plugins-0.10
This page took 0.0708 seconds and 4 git commands to generate.