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