- use cvs version (next version should be released this month)
[packages/gstreamer.git] / gstreamer.spec
CommitLineData
aa3775f0
MP
1Summary: GStreamer Streaming-media framework runtime
2Name: gstreamer
8608015c 3Version: 0.2.2
4Release: 0.20011125.1
aa3775f0
MP
5License: LGPL
6Group: Libraries
7Group(de): Libraries
8Group(es): Bibliotecas
9Group(fr): Librairies
10Group(pl): Biblioteki
8608015c 11Source0: http://download.sourceforge.net/gstreamer/%{name}.tar.bz2
12#Source0: http://download.sourceforge.net/gstreamer/%{name}-%{version}.tar.bz2
13Patch0: %{name}-size_t.patch
836bb034 14URL: http://gstreamer.net
8608015c 15BuildRequires: nasm
16BuildRequires: pkgconfig
17BuildRequires: GConf-devel
18BuildRequires: Hermes-devel
19BuildRequires: SDL-devel
20BuildRequires: aalib-devel
21BuildRequires: alsa-lib-devel
836bb034 22BuildRequires: arts-devel
836bb034 23BuildRequires: audiofile-devel
8608015c 24BuildRequires: avifile-devel
25BuildRequires: cdparanoia-III-devel
836bb034 26BuildRequires: esound-devel
8608015c 27BuildRequires: gdk-pixbuf-devel
28BuildRequires: gnome-libs-devel
29BuildRequires: gnome-vfs-devel
30BuildRequires: gtk+-devel
31BuildRequires: lame-libs-devel
32BuildRequires: libdv-devel
33BuildRequires: libdvdread-devel
836bb034 34BuildRequires: libghttp-devel
8608015c 35BuildRequires: libglade-devel
36BuildRequires: libgsm-devel
37BuildRequires: libjpeg-devel
38BuildRequires: libmikmod-devel
836bb034 39BuildRequires: libraw1394-devel
8608015c 40BuildRequires: libvorbis-devel
41BuildRequires: libxml-devel
42BuildRequires: mad-devel
836bb034 43BuildRequires: mpeg2dec-devel
bc1f103d 44BuildRequires: quicktime4linux-devel
8608015c 45BuildRequires: 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 52BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
4988018f 53
8fe6c68e 54%description
aa3775f0
MP
55GStreamer is a streaming-media framework, based on graphs of filters
56which operate on media data. Applications using this library can do
57anything from real-time sound processing to playing videos, and just
58about anything else media-related. Its plugin-based architecture means
59that new data types or processing capabilities can be added simply by
60installing new plugins.
8fe6c68e 61
62%package devel
aa3775f0
MP
63Summary: Libraries and include files for GStreamer streaming-media framework
64Group: Development/Libraries
65Group(de): Entwicklung/Libraries
66Group(fr): Development/Librairies
67Group(pl): Programowanie/Biblioteki
2a895c19 68Requires: %{name} = %{version}
8fe6c68e 69
70%description devel
aa3775f0
MP
71GStreamer is a streaming-media framework, based on graphs of filters
72which operate on media data. Applications using this library can do
73anything from real-time sound processing to playing videos, and just
74about anything else media-related. Its plugin-based architecture means
75that new data types or processing capabilities can be added simply by
76installing new plugins.
8fe6c68e 77
aa3775f0
MP
78This package contains the libraries and includes files necessary to
79develop applications and plugins for GStreamer.
8fe6c68e 80
81%prep
8608015c 82%setup -q -n %{name}
83%patch0 -p1
8fe6c68e 84
85%build
8608015c 86rm -f missing
87./makeconfigure < configure.base > configure.in configure.in
88libtoolize --force --copy
89aclocal
90automake --add-missing
91autoconf
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 107rm -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
This page took 0.140804 seconds and 4 git commands to generate.