noarch apidocs
[packages/gstreamer.git] / gstreamer.spec
CommitLineData
c44ba6d0
ŁK
1#
2%define vmajor 1.0
e1d0ecfc 3
aa3775f0 4Summary: GStreamer Streaming-media framework runtime
69ce472f 5Summary(pl.UTF-8): GStreamer - biblioteki środowiska do obróbki strumieni
aa3775f0 6Name: gstreamer
8f0c4216 7Version: 1.4.5
e1d0ecfc 8Release: 3
3e490ffb 9License: LGPL v2+
aa3775f0 10Group: Libraries
5d1e72f6 11Source0: http://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.xz
8f0c4216 12# Source0-md5: 88a9289c64a4950ebb4f544980234289
f61ac254
JB
13Patch0: %{name}-without_ps_pdf.patch
14Patch1: %{name}-eps.patch
5ab189e4 15Patch2: %{name}-inspect-rpm-format.patch
ef826307 16URL: http://gstreamer.net/
e36bc0ac 17BuildRequires: autoconf >= 2.68
4946a592 18BuildRequires: automake >= 1:1.11
4ca32f31 19BuildRequires: bison >= 1.875
cebc43df 20BuildRequires: docbook-dtd30-sgml
d3c26881 21BuildRequires: docbook-dtd412-xml
f61ac254 22BuildRequires: docbook-utils >= 0.6.10
4ca32f31 23BuildRequires: flex >= 2.5.31
a3fe4935 24BuildRequires: gettext-tools >= 0.17
c44ba6d0 25BuildRequires: glib2-devel >= 1:2.32.0
d3c26881 26BuildRequires: glibc-misc
cebc43df 27BuildRequires: gnome-doc-tools
c44ba6d0 28BuildRequires: gobject-introspection-devel >= 1.31.1
6fcf6a9b 29BuildRequires: gtk-doc >= 1.12
911db201 30BuildRequires: libtool >= 1.4
8608015c 31BuildRequires: nasm
9e6e4167 32BuildRequires: perl-base
965ff8c8 33BuildRequires: pkgconfig >= 1:0.9.0
4ca32f31 34BuildRequires: python >= 2.1
5d1e72f6 35BuildRequires: tar >= 1:1.22
48842c38 36BuildRequires: transfig
fe044034 37BuildRequires: xmlto
5d1e72f6 38BuildRequires: xz
555f3e2e 39Requires: glib2 >= 1:2.32.0
bc1f103d 40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
4988018f 41
774fa34b
JB
42%define _gstlibdir %{_libdir}/gstreamer-%{vmajor}
43%define _gstincludedir %{_includedir}/gstreamer-%{vmajor}
c6416cbe 44
8fe6c68e 45%description
aa3775f0
MP
46GStreamer is a streaming-media framework, based on graphs of filters
47which operate on media data. Applications using this library can do
48anything from real-time sound processing to playing videos, and just
49about anything else media-related. Its plugin-based architecture means
50that new data types or processing capabilities can be added simply by
51installing new plugins.
8fe6c68e 52
212bb255
JR
53%description -l pl.UTF-8
54GStreamer to środowisko obróbki danych strumieniowych, bazujące na
55grafie filtrów operujących na danych medialnych. Aplikacje używające
56tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie
57rzeczywistym, do odtwarzania filmów i czegokolwiek innego związanego z
58mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie
59nowych typów danych lub możliwości obróbki.
ef826307 60
8fe6c68e 61%package devel
ef826307 62Summary: Include files for GStreamer streaming-media framework
69ce472f 63Summary(pl.UTF-8): Pliki nagłówkowe do środowiska obróbki strumieni GStreamer
aa3775f0 64Group: Development/Libraries
9e6e4167 65Requires: %{name} = %{version}-%{release}
555f3e2e 66Requires: glib2-devel >= 1:2.32.0
06b33981 67Obsoletes: gstreamer-plugins-bad-devel < 0.10.10
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
e1d0ecfc
ER
94%if "%{_rpmversion}" >= "5"
95BuildArch: noarch
96%endif
078e7ce4 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 \
c44ba6d0
ŁK
125 --with-html-dir=%{_gtkdocdir} \
126 --enable-static
10947d06 127
4ca32f31 128%{__make}
8fe6c68e 129
94b8580b 130%install
aa3775f0 131rm -rf $RPM_BUILD_ROOT
a693ae43 132install -d $RPM_BUILD_ROOT{%{_docdir}/%{name}-devel-%{version},%{rpmlibdir}}
8fe6c68e 133
91240adb 134%{__make} install \
7b283813
JB
135 DESTDIR=$RPM_BUILD_ROOT
136
774fa34b 137mv $RPM_BUILD_ROOT%{_docdir}/%{name}-{%{vmajor},%{version}}
17e5a044 138mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{faq,manual,pwg} \
9e6e4167 139 $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
140
141%find_lang %{name} --all-name --with-gnome
142
d9da29b9
JB
143# no *.la for modules - shut up check files
144%{__rm} $RPM_BUILD_ROOT%{_gstlibdir}/lib*.la
e3c412c9
JB
145# obsoleted by pkg-config
146%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgst*.la
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)
396d97fd 156%doc AUTHORS ChangeLog MAINTAINERS NEWS README RELEASE
e3c412c9
JB
157%attr(755,root,root) %{_bindir}/gst-inspect-1.0
158%attr(755,root,root) %{_bindir}/gst-launch-1.0
159%attr(755,root,root) %{_bindir}/gst-typefind-1.0
c44ba6d0
ŁK
160%attr(755,root,root) %{_libdir}/libgstbase-%{vmajor}.so.*.*.*
161%attr(755,root,root) %ghost %{_libdir}/libgstbase-%{vmajor}.so.0
162%attr(755,root,root) %{_libdir}/libgstcheck-%{vmajor}.so.*.*.*
163%attr(755,root,root) %ghost %{_libdir}/libgstcheck-%{vmajor}.so.0
164%attr(755,root,root) %{_libdir}/libgstcontroller-%{vmajor}.so.*.*.*
165%attr(755,root,root) %ghost %{_libdir}/libgstcontroller-%{vmajor}.so.0
166%attr(755,root,root) %{_libdir}/libgstnet-%{vmajor}.so.*.*.*
167%attr(755,root,root) %ghost %{_libdir}/libgstnet-%{vmajor}.so.0
168%attr(755,root,root) %{_libdir}/libgstreamer-%{vmajor}.so.*.*.*
169%attr(755,root,root) %ghost %{_libdir}/libgstreamer-%{vmajor}.so.0
7b283813 170%dir %{_gstlibdir}
87b5d78a 171%attr(755,root,root) %{_gstlibdir}/gst-plugin-scanner
774fa34b 172%attr(755,root,root) %{_gstlibdir}/libgstcoreelements.so
e3c412c9
JB
173%{_mandir}/man1/gst-inspect-1.0.1*
174%{_mandir}/man1/gst-launch-1.0.1*
175%{_mandir}/man1/gst-typefind-1.0.1*
c44ba6d0
ŁK
176%{_libdir}/girepository-1.0/Gst-%{vmajor}.typelib
177%{_libdir}/girepository-1.0/GstBase-%{vmajor}.typelib
178%{_libdir}/girepository-1.0/GstCheck-%{vmajor}.typelib
179%{_libdir}/girepository-1.0/GstController-%{vmajor}.typelib
180%{_libdir}/girepository-1.0/GstNet-%{vmajor}.typelib
8fe6c68e 181
182%files devel
aa3775f0 183%defattr(644,root,root,755)
c44ba6d0
ŁK
184%attr(755,root,root) %{_libdir}/libgstbase-%{vmajor}.so
185%attr(755,root,root) %{_libdir}/libgstcheck-%{vmajor}.so
186%attr(755,root,root) %{_libdir}/libgstcontroller-%{vmajor}.so
187%attr(755,root,root) %{_libdir}/libgstnet-%{vmajor}.so
188%attr(755,root,root) %{_libdir}/libgstreamer-%{vmajor}.so
66c5307a 189%{_docdir}/%{name}-devel-%{version}
c6416cbe 190%{_gstincludedir}
c44ba6d0
ŁK
191%{_pkgconfigdir}/gstreamer-%{vmajor}.pc
192%{_pkgconfigdir}/gstreamer-base-%{vmajor}.pc
193%{_pkgconfigdir}/gstreamer-check-%{vmajor}.pc
194%{_pkgconfigdir}/gstreamer-controller-%{vmajor}.pc
195%{_pkgconfigdir}/gstreamer-net-%{vmajor}.pc
196%{_aclocaldir}/gst-element-check-%{vmajor}.m4
c44ba6d0
ŁK
197%{_datadir}/gir-1.0/Gst-%{vmajor}.gir
198%{_datadir}/gir-1.0/GstBase-%{vmajor}.gir
199%{_datadir}/gir-1.0/GstCheck-%{vmajor}.gir
200%{_datadir}/gir-1.0/GstController-%{vmajor}.gir
201%{_datadir}/gir-1.0/GstNet-%{vmajor}.gir
ef826307
JB
202
203%files static
204%defattr(644,root,root,755)
c44ba6d0
ŁK
205%{_libdir}/libgstbase-%{vmajor}.a
206%{_libdir}/libgstcheck-%{vmajor}.a
207%{_libdir}/libgstcontroller-%{vmajor}.a
208%{_libdir}/libgstnet-%{vmajor}.a
209%{_libdir}/libgstreamer-%{vmajor}.a
078e7ce4 210
211%files apidocs
212%defattr(644,root,root,755)
c44ba6d0
ŁK
213%{_gtkdocdir}/gstreamer-%{vmajor}
214%{_gtkdocdir}/gstreamer-libs-%{vmajor}
215%{_gtkdocdir}/gstreamer-plugins-%{vmajor}
This page took 0.106131 seconds and 4 git commands to generate.