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