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