]>
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 | |
27 | BuildRequires: gnome-libs-devel | |
28 | BuildRequires: libraw1394-devel | |
29 | BuildRequires: mpeg2dec-devel | |
aa3775f0 | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8fe6c68e | 31 | |
32 | %description | |
aa3775f0 MP |
33 | GStreamer is a streaming-media framework, based on graphs of filters |
34 | which operate on media data. Applications using this library can do | |
35 | anything from real-time sound processing to playing videos, and just | |
36 | about anything else media-related. Its plugin-based architecture means | |
37 | that new data types or processing capabilities can be added simply by | |
38 | installing new plugins. | |
8fe6c68e | 39 | |
40 | %package devel | |
aa3775f0 MP |
41 | Summary: Libraries and include files for GStreamer streaming-media framework |
42 | Group: Development/Libraries | |
43 | Group(de): Entwicklung/Libraries | |
44 | Group(fr): Development/Librairies | |
45 | Group(pl): Programowanie/Biblioteki | |
46 | Requires: %{name} | |
8fe6c68e | 47 | |
48 | %description devel | |
aa3775f0 MP |
49 | GStreamer is a streaming-media framework, based on graphs of filters |
50 | which operate on media data. Applications using this library can do | |
51 | anything from real-time sound processing to playing videos, and just | |
52 | about anything else media-related. Its plugin-based architecture means | |
53 | that new data types or processing capabilities can be added simply by | |
54 | installing new plugins. | |
8fe6c68e | 55 | |
aa3775f0 MP |
56 | This package contains the libraries and includes files necessary to |
57 | develop applications and plugins for GStreamer. | |
8fe6c68e | 58 | |
59 | %prep | |
aa3775f0 | 60 | %setup -q |
8fe6c68e | 61 | |
62 | %build | |
836bb034 PG |
63 | %configure \ |
64 | --enable-libmmx \ | |
65 | --enable-libghttp \ | |
66 | --enable-gdk_pixbuf \ | |
67 | --enable-libaudiofile \ | |
68 | --enable-alsa \ | |
69 | --enable-libxmms \ | |
70 | --enable-libesd \ | |
71 | --enable-arts \ | |
72 | --enable-atomic \ | |
73 | --enable-autoplug | |
8fe6c68e | 74 | |
aa3775f0 | 75 | %{__make} |
8fe6c68e | 76 | |
77 | %install | |
aa3775f0 | 78 | rm -rf $RPM_BUILD_ROOT |
8fe6c68e | 79 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
80 | ||
aa3775f0 | 81 | %{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install |
8fe6c68e | 82 | |
83 | %clean | |
84 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %post | |
87 | /sbin/ldconfig | |
88 | %{prefix}/bin/gstreamer-register | |
89 | ||
90 | %postun | |
91 | /sbin/ldconfig | |
92 | ||
93 | %files | |
aa3775f0 MP |
94 | %defattr(644,root,root,755) |
95 | %attr(755,root,root) %{_bindir}/* | |
96 | %{_libdir}/lib*.so.* | |
97 | %{_libdir}/gst/* | |
98 | %{_datadir}/* | |
8fe6c68e | 99 | |
100 | %files devel | |
aa3775f0 MP |
101 | %defattr(644,root,root,755) |
102 | %{_includedir}/* | |
103 | %{_libdir}/lib*.a | |
104 | %{_libdir}/lib*.so |