]>
Commit | Line | Data |
---|---|---|
1 | Summary: GStreamer Streaming-media framework runtime | |
2 | Name: gstreamer | |
3 | Version: 0.2.2 | |
4 | Release: 0.20011125.1 | |
5 | License: LGPL | |
6 | Group: Libraries | |
7 | Group(de): Libraries | |
8 | Group(es): Bibliotecas | |
9 | Group(fr): Librairies | |
10 | Group(pl): Biblioteki | |
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 | |
14 | URL: http://gstreamer.net | |
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 | |
22 | BuildRequires: arts-devel | |
23 | BuildRequires: audiofile-devel | |
24 | BuildRequires: avifile-devel | |
25 | BuildRequires: cdparanoia-III-devel | |
26 | BuildRequires: esound-devel | |
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 | |
34 | BuildRequires: libghttp-devel | |
35 | BuildRequires: libglade-devel | |
36 | BuildRequires: libgsm-devel | |
37 | BuildRequires: libjpeg-devel | |
38 | BuildRequires: libmikmod-devel | |
39 | BuildRequires: libraw1394-devel | |
40 | BuildRequires: libvorbis-devel | |
41 | BuildRequires: libxml-devel | |
42 | BuildRequires: mad-devel | |
43 | BuildRequires: mpeg2dec-devel | |
44 | BuildRequires: quicktime4linux-devel | |
45 | BuildRequires: xmms-devel | |
46 | ||
47 | # libshout 1.0.5 is out of date... | |
48 | # http://cvs.icecast.org/cvsweb.cgi/ | |
49 | # module shout | |
50 | #BuildRequires: libshout-devel | |
51 | ||
52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
53 | ||
54 | %description | |
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. | |
61 | ||
62 | %package devel | |
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 | |
68 | Requires: %{name} = %{version} | |
69 | ||
70 | %description devel | |
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. | |
77 | ||
78 | This package contains the libraries and includes files necessary to | |
79 | develop applications and plugins for GStreamer. | |
80 | ||
81 | %prep | |
82 | %setup -q -n %{name} | |
83 | %patch0 -p1 | |
84 | ||
85 | %build | |
86 | rm -f missing | |
87 | ./makeconfigure < configure.base > configure.in configure.in | |
88 | libtoolize --force --copy | |
89 | aclocal | |
90 | automake --add-missing | |
91 | autoconf | |
92 | %configure \ | |
93 | --enable-libmmx \ | |
94 | --enable-libghttp \ | |
95 | --enable-alsa \ | |
96 | --enable-libxmms \ | |
97 | --enable-gdk_pixbuf \ | |
98 | --enable-libaudiofile \ | |
99 | --enable-libesd \ | |
100 | --enable-arts \ | |
101 | --enable-atomic \ | |
102 | --enable-autoplug | |
103 | ||
104 | %{__make} | |
105 | ||
106 | %install | |
107 | rm -rf $RPM_BUILD_ROOT | |
108 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT | |
109 | ||
110 | %{__make} DESTDIR=$RPM_BUILD_ROOT install | |
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 | |
123 | %defattr(644,root,root,755) | |
124 | %attr(755,root,root) %{_bindir}/* | |
125 | %{_libdir}/lib*.so.* | |
126 | %{_libdir}/gst/* | |
127 | %{_datadir}/* | |
128 | ||
129 | %files devel | |
130 | %defattr(644,root,root,755) | |
131 | %{_includedir}/* | |
132 | %{_libdir}/lib*.a | |
133 | %{_libdir}/lib*.so |