]>
Commit | Line | Data |
---|---|---|
aa3775f0 MP |
1 | Summary: GStreamer Streaming-media framework runtime |
2 | Name: gstreamer | |
836bb034 | 3 | Version: 0.2.1 |
2a895c19 | 4 | Release: 2 |
aa3775f0 MP |
5 | License: LGPL |
6 | Group: Libraries | |
7 | Group(de): Libraries | |
8 | Group(es): Bibliotecas | |
9 | Group(fr): Librairies | |
10 | Group(pl): Biblioteki | |
836bb034 | 11 | Source0: http://download.sourceforge.net/gstreamer/%{name}-%{version}.tar.bz2 |
bc1f103d | 12 | #Patch0: %{name}-buffer.patch |
836bb034 PG |
13 | URL: http://gstreamer.net |
14 | BuildRequires: gtk+-devel | |
15 | BuildRequires: libxml-devel | |
16 | BuildRequires: arts-devel | |
836bb034 | 17 | BuildRequires: gdk-pixbuf-devel |
836bb034 PG |
18 | BuildRequires: audiofile-devel |
19 | BuildRequires: esound-devel | |
836bb034 PG |
20 | BuildRequires: libjpeg-devel |
21 | BuildRequires: libvorbis-devel | |
22 | BuildRequires: libghttp-devel | |
23 | BuildRequires: Hermes-devel | |
836bb034 | 24 | BuildRequires: libraw1394-devel |
4988018f | 25 | BuildRequires: gnome-libs-devel |
836bb034 | 26 | BuildRequires: mpeg2dec-devel |
4988018f PG |
27 | BuildRequires: libshout-devel |
28 | BuildRequires: libgsm-devel | |
29 | BuildRequires: cdparanoia-III-devel | |
4988018f PG |
30 | BuildRequires: libdv-devel |
31 | BuildRequires: aalib-devel | |
bc1f103d | 32 | BuildRequires: quicktime4linux-devel |
33 | BuildRequires: mad-devel | |
34 | BuildRequires: nasm | |
35 | ||
36 | # it should compile with, but it is not possible | |
37 | # without patching... I think... | |
38 | # check also configure switches below... | |
39 | #BuildRequires: lame-libs-devel | |
40 | #BuildRequires: avifile-devel | |
41 | #BuildRequires: xmms-devel | |
42 | #BuildRequires: alsa-lib-devel | |
43 | #BuildRequires: SDL-devel | |
44 | #BuildRequires: gnome-vfs-devel | |
45 | #BuildRequires: libglade-devel | |
8fe6c68e | 46 | |
bc1f103d | 47 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
4988018f | 48 | |
8fe6c68e | 49 | %description |
aa3775f0 MP |
50 | GStreamer is a streaming-media framework, based on graphs of filters |
51 | which operate on media data. Applications using this library can do | |
52 | anything from real-time sound processing to playing videos, and just | |
53 | about anything else media-related. Its plugin-based architecture means | |
54 | that new data types or processing capabilities can be added simply by | |
55 | installing new plugins. | |
8fe6c68e | 56 | |
57 | %package devel | |
aa3775f0 MP |
58 | Summary: Libraries and include files for GStreamer streaming-media framework |
59 | Group: Development/Libraries | |
60 | Group(de): Entwicklung/Libraries | |
61 | Group(fr): Development/Librairies | |
62 | Group(pl): Programowanie/Biblioteki | |
2a895c19 | 63 | Requires: %{name} = %{version} |
8fe6c68e | 64 | |
65 | %description devel | |
aa3775f0 MP |
66 | GStreamer is a streaming-media framework, based on graphs of filters |
67 | which operate on media data. Applications using this library can do | |
68 | anything from real-time sound processing to playing videos, and just | |
69 | about anything else media-related. Its plugin-based architecture means | |
70 | that new data types or processing capabilities can be added simply by | |
71 | installing new plugins. | |
8fe6c68e | 72 | |
aa3775f0 MP |
73 | This package contains the libraries and includes files necessary to |
74 | develop applications and plugins for GStreamer. | |
8fe6c68e | 75 | |
76 | %prep | |
aa3775f0 | 77 | %setup -q |
bc1f103d | 78 | #%patch0 -p1 |
8fe6c68e | 79 | |
80 | %build | |
bc1f103d | 81 | LDFLAGS="-L/usr/X11R6/lib" |
82 | export LDFLAGS | |
836bb034 | 83 | %configure \ |
4988018f | 84 | --prefix=%{_prefix} \ |
836bb034 PG |
85 | --enable-libmmx \ |
86 | --enable-libghttp \ | |
87 | --enable-gdk_pixbuf \ | |
88 | --enable-libaudiofile \ | |
836bb034 PG |
89 | --enable-libesd \ |
90 | --enable-arts \ | |
bc1f103d | 91 | --enable-atomic \ |
836bb034 | 92 | --enable-autoplug |
bc1f103d | 93 | # --enable-alsa \ |
94 | # --enable-libxmms \ | |
8fe6c68e | 95 | |
aa3775f0 | 96 | %{__make} |
8fe6c68e | 97 | |
98 | %install | |
aa3775f0 | 99 | rm -rf $RPM_BUILD_ROOT |
8fe6c68e | 100 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
101 | ||
bc1f103d | 102 | %{__make} DESTDIR=$RPM_BUILD_ROOT install |
8fe6c68e | 103 | |
104 | %clean | |
105 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT | |
106 | ||
107 | %post | |
108 | /sbin/ldconfig | |
109 | %{prefix}/bin/gstreamer-register | |
110 | ||
111 | %postun | |
112 | /sbin/ldconfig | |
113 | ||
114 | %files | |
aa3775f0 MP |
115 | %defattr(644,root,root,755) |
116 | %attr(755,root,root) %{_bindir}/* | |
117 | %{_libdir}/lib*.so.* | |
118 | %{_libdir}/gst/* | |
119 | %{_datadir}/* | |
8fe6c68e | 120 | |
121 | %files devel | |
aa3775f0 MP |
122 | %defattr(644,root,root,755) |
123 | %{_includedir}/* | |
124 | %{_libdir}/lib*.a | |
125 | %{_libdir}/lib*.so |