]>
Commit | Line | Data |
---|---|---|
66c5307a | 1 | |
2 | %define _vmajor 0.10 | |
fbc71390 | 3 | %define _vminor 14 |
66c5307a | 4 | |
aa3775f0 | 5 | Summary: GStreamer Streaming-media framework runtime |
69ce472f | 6 | Summary(pl.UTF-8): GStreamer - biblioteki środowiska do obróbki strumieni |
aa3775f0 | 7 | Name: gstreamer |
66c5307a | 8 | Version: %{_vmajor}.%{_vminor} |
e9b41347 | 9 | Release: 1 |
aa3775f0 MP |
10 | License: LGPL |
11 | Group: Libraries | |
166c0b54 | 12 | Source0: http://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.bz2 |
fbc71390 | 13 | # Source0-md5: eb83767c877990c8a7540693d196c822 |
f61ac254 JB |
14 | Patch0: %{name}-without_ps_pdf.patch |
15 | Patch1: %{name}-eps.patch | |
ef826307 | 16 | URL: http://gstreamer.net/ |
911db201 | 17 | BuildRequires: autoconf >= 2.52 |
18 | BuildRequires: automake >= 1.6 | |
19 | BuildRequires: bison >= 1.35 | |
fb635e9c | 20 | BuildRequires: check >= 0.9.3-2 |
f61ac254 | 21 | BuildRequires: docbook-utils >= 0.6.10 |
6034545d | 22 | BuildRequires: flex |
b1bab0cb | 23 | BuildRequires: gettext-devel >= 0.11.5 |
06ecafda | 24 | BuildRequires: glib2-devel >= 1:2.12.0 |
25 | BuildRequires: gtk-doc >= 1.6 | |
911db201 | 26 | BuildRequires: libtool >= 1.4 |
06ecafda | 27 | BuildRequires: libxml2-devel >= 1:2.6.26 |
8608015c | 28 | BuildRequires: nasm |
9e6e4167 | 29 | BuildRequires: perl-base |
965ff8c8 | 30 | BuildRequires: pkgconfig >= 1:0.9.0 |
9e6e4167 | 31 | BuildRequires: popt-devel >= 1.6.3 |
078e7ce4 | 32 | # not sure it is a right place for this BR |
33 | BuildRequires: python-PyXML | |
48842c38 | 34 | BuildRequires: transfig |
fe044034 | 35 | BuildRequires: xmlto |
06ecafda | 36 | Requires: glib2 >= 1:2.12.0 |
bc1f103d | 37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
4988018f | 38 | |
66c5307a | 39 | %define _gstlibdir %{_libdir}/gstreamer-%{_vmajor} |
40 | %define _gstincludedir %{_includedir}/gstreamer-%{_vmajor} | |
c6416cbe | 41 | |
8fe6c68e | 42 | %description |
aa3775f0 MP |
43 | GStreamer is a streaming-media framework, based on graphs of filters |
44 | which operate on media data. Applications using this library can do | |
45 | anything from real-time sound processing to playing videos, and just | |
46 | about anything else media-related. Its plugin-based architecture means | |
47 | that new data types or processing capabilities can be added simply by | |
48 | installing new plugins. | |
8fe6c68e | 49 | |
212bb255 JR |
50 | %description -l pl.UTF-8 |
51 | GStreamer to środowisko obróbki danych strumieniowych, bazujące na | |
52 | grafie filtrów operujących na danych medialnych. Aplikacje używające | |
53 | tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie | |
54 | rzeczywistym, do odtwarzania filmów i czegokolwiek innego związanego z | |
55 | mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie | |
56 | nowych typów danych lub możliwości obróbki. | |
ef826307 | 57 | |
8fe6c68e | 58 | %package devel |
ef826307 | 59 | Summary: Include files for GStreamer streaming-media framework |
69ce472f | 60 | Summary(pl.UTF-8): Pliki nagłówkowe do środowiska obróbki strumieni GStreamer |
aa3775f0 | 61 | Group: Development/Libraries |
9e6e4167 | 62 | Requires: %{name} = %{version}-%{release} |
06ecafda | 63 | Requires: glib2-devel >= 1:2.12.0 |
64 | Requires: libxml2-devel >= 1:2.6.26 | |
9e6e4167 | 65 | Requires: popt-devel >= 1.6.3 |
8fe6c68e | 66 | |
67 | %description devel | |
ef826307 JB |
68 | This package contains the includes files necessary to develop |
69 | applications and plugins for GStreamer. | |
70 | ||
212bb255 JR |
71 | %description devel -l pl.UTF-8 |
72 | Ten pakiet zawiera pliki nagłówkowe potrzebne do rozwijania aplikacji | |
ef826307 JB |
73 | i wtyczek do GStreamera. |
74 | ||
75 | %package static | |
76 | Summary: GStreamer static libraries | |
69ce472f | 77 | Summary(pl.UTF-8): Biblioteki statyczne GStreamer |
ef826307 | 78 | Group: Development/Libraries |
9e6e4167 | 79 | Requires: %{name}-devel = %{version}-%{release} |
8fe6c68e | 80 | |
ef826307 JB |
81 | %description static |
82 | Static versions of GStreamer libraries. | |
83 | ||
212bb255 | 84 | %description static -l pl.UTF-8 |
ef826307 | 85 | Statyczne wersje bibliotek GStreamer. |
8fe6c68e | 86 | |
078e7ce4 | 87 | %package apidocs |
88 | Summary: GStreamer API documentation | |
69ce472f | 89 | Summary(pl.UTF-8): Dokumentacja API Gstreamera |
078e7ce4 | 90 | Group: Documentation |
91 | Requires: gtk-doc-common | |
92 | ||
93 | %description apidocs | |
94 | GStreamer API documentation. | |
95 | ||
212bb255 | 96 | %description apidocs -l pl.UTF-8 |
078e7ce4 | 97 | Dokumentacja API Gstreamera. |
98 | ||
8fe6c68e | 99 | %prep |
be480bee | 100 | %setup -q |
f61ac254 JB |
101 | %patch0 -p1 |
102 | %patch1 -p1 | |
8fe6c68e | 103 | |
104 | %build | |
b1bab0cb | 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 | 122 | rm -rf $RPM_BUILD_ROOT |
316dbee1 | 123 | install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version} |
8fe6c68e | 124 | |
91240adb | 125 | %{__make} install \ |
7b283813 JB |
126 | DESTDIR=$RPM_BUILD_ROOT |
127 | ||
66c5307a | 128 | mv $RPM_BUILD_ROOT%{_docdir}/%{name}-{%{_vmajor},%{version}} |
9e6e4167 | 129 | mv $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 |
135 | rm -f $RPM_BUILD_ROOT%{_gstlibdir}/lib*.{la,a} | |
136 | ||
8fe6c68e | 137 | %clean |
e3bdbfbd | 138 | rm -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 |
aa3775f0 | 146 | %attr(755,root,root) %{_bindir}/* |
70462d81 | 147 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
7b283813 | 148 | %dir %{_gstlibdir} |
c6416cbe | 149 | %attr(755,root,root) %{_gstlibdir}/*.so |
be480bee | 150 | %{_mandir}/man1/* |
8fe6c68e | 151 | |
152 | %files devel | |
aa3775f0 | 153 | %defattr(644,root,root,755) |
9e1011b9 | 154 | %attr(755,root,root) %{_libdir}/lib*.so |
848b2a83 | 155 | %{_libdir}/lib*.la |
66c5307a | 156 | %{_docdir}/%{name}-devel-%{version} |
c6416cbe | 157 | %{_gstincludedir} |
be480bee | 158 | %{_pkgconfigdir}/* |
1b41258f | 159 | %{_aclocaldir}/* |
ef826307 JB |
160 | |
161 | %files static | |
162 | %defattr(644,root,root,755) | |
163 | %{_libdir}/lib*.a | |
078e7ce4 | 164 | |
165 | %files apidocs | |
166 | %defattr(644,root,root,755) | |
167 | %{_gtkdocdir}/* |