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