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