]> git.pld-linux.org Git - packages/gstreamer.git/blob - gstreamer.spec
- BR: am,lt; disable fast-stack-trash on i[34]86
[packages/gstreamer.git] / gstreamer.spec
1 Summary:        GStreamer Streaming-media framework runtime
2 Summary(pl):    GStreamer - biblioteki ¶rodowiska do obróbki strumieni
3 Name:           gstreamer
4 Version:        0.6.4
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
9 # Source0-md5:  d607f42d4a6de9e79d74ccaa6469ded6
10 Patch0:         %{name}-libtool.patch
11 Patch1:         %{name}-without_ps_pdf.patch
12 Patch2:         %{name}-doc-destdir.patch
13 URL:            http://gstreamer.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  bison
17 BuildRequires:  flex
18 BuildRequires:  glib2-devel >= 2.0.1
19 BuildRequires:  gtk-doc >= 0.7
20 BuildRequires:  libtool
21 BuildRequires:  libxml2-devel >= 2.4.17
22 BuildRequires:  nasm
23 BuildRequires:  pkgconfig
24 BuildRequires:  popt-devel >= 1.6.1
25 BuildRequires:  transfig
26 BuildRequires:  xmlto
27 Requires(post): /sbin/ldconfig
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         _gstlibdir      %{_libdir}/gstreamer-0.6
31 %define         _gstincludedir  %{_includedir}/gstreamer-0.6
32 %define         _gstcachedir    %{_var}/cache/gstreamer-0.6
33
34 %description
35 GStreamer is a streaming-media framework, based on graphs of filters
36 which operate on media data. Applications using this library can do
37 anything from real-time sound processing to playing videos, and just
38 about anything else media-related. Its plugin-based architecture means
39 that new data types or processing capabilities can be added simply by
40 installing new plugins.
41
42 %description -l pl
43 GStreamer to ¶rodowisko obróbki danych strumieniowych, bazuj±ce na
44 grafie filtrów operuj±cych na danych medialnych. Aplikacje u¿ywaj±ce
45 tej biblioteki mog± robiæ wszystko od przetwarzania d¼wiêku w czasie
46 rzeczywistym, do odtwarzania filmów i czegokolwiek innego zwi±zego z
47 mediami. Architektura bazuj±ca na wtyczkach pozwala na ³atwe dodawanie
48 nowych typów danych lub mo¿liwo¶ci obróbki.
49
50 %package devel
51 Summary:        Include files for GStreamer streaming-media framework
52 Summary(pl):    Pliki nag³ówkowe do ¶rodowiska obróbki strumieni GStreamer
53 Group:          Development/Libraries
54 Requires:       %{name} = %{version}
55 Requires:       glib2-devel >= 2.0.1
56 Requires:       libxml2-devel >= 2.4.17
57 Requires:       popt-devel >= 1.6.1
58
59 %description devel
60 This package contains the includes files necessary to develop
61 applications and plugins for GStreamer.
62
63 %description devel -l pl
64 Ten pakiet zawiera pliki nag³ówkowe potrzebne do rozwijania aplikacji
65 i wtyczek do GStreamera.
66
67 %package static
68 Summary:        GStreamer static libraries
69 Summary(pl):    Biblioteki statyczne GStreamer
70 Group:          Development/Libraries
71 Requires:       %{name}-devel = %{version}
72
73 %description static
74 Static versions of GStreamer libraries.
75
76 %description static -l pl
77 Statyczne wersje bibliotek GStreamer.
78
79 %prep
80 %setup -q
81 %patch0 -p1
82 %patch1 -p1
83 %patch2 -p1
84
85 %build
86 %{__libtoolize}
87 %{__aclocal} -I common/m4
88 %{__autoconf}
89 %{__autoheader}
90 %{__automake}
91 %configure \
92 %ifarch i586 i686 athlon
93         --enable-fast-stack-trash \
94 %else
95         --disable-fast-stack-trash \
96 %endif
97         --enable-glib2 \
98         --enable-libmmx \
99         --enable-atomic \
100         --disable-examples \
101         --disable-tests \
102         --disable-debug \
103         --disable-debug-color \
104         --enable-docs-build \
105         --with-html-dir=%{_gtkdocdir} \
106         --with-cachedir=%{_gstcachedir}
107         
108 %{__make}
109
110 %install
111 rm -rf $RPM_BUILD_ROOT
112
113 %{__make} install \
114         DESTDIR=$RPM_BUILD_ROOT
115
116
117 install -d $RPM_BUILD_ROOT%{_gstcachedir}
118 touch $RPM_BUILD_ROOT%{_gstcachedir}/registry.xml
119
120 # no static modules and *.la for them - shut up check files
121 rm -f $RPM_BUILD_ROOT%{_gstlibdir}/lib*.{la,a}
122
123 %clean
124 rm -rf $RPM_BUILD_ROOT
125
126 %post
127 /sbin/ldconfig
128 %{_bindir}/gst-register --gst-mask=0
129
130 %postun -p /sbin/ldconfig
131
132 %files
133 %defattr(644,root,root,755)
134 %doc AUTHORS README RELEASE NEWS TODO ChangeLog
135 %attr(755,root,root) %{_bindir}/*
136 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
137 %dir %{_gstlibdir}
138 %attr(755,root,root) %{_gstlibdir}/*.so
139 %dir %{_gstcachedir}
140 %ghost %{_gstcachedir}/registry.xml
141 %{_mandir}/man1/*
142
143 %files devel
144 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_libdir}/lib*.so
146 %{_libdir}/lib*.la
147 %{_gstincludedir}
148 %{_gtkdocdir}/*
149 %{_pkgconfigdir}/*
150 %{_aclocaldir}/*
151
152 %files static
153 %defattr(644,root,root,755)
154 %{_libdir}/lib*.a
This page took 0.058006 seconds and 3 git commands to generate.