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