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