]> git.pld-linux.org Git - packages/gstreamer.git/blob - gstreamer.spec
- BR: transfig (for documentation)
[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 BuildRequires:  transfig
25 Requires(post): /sbin/ldconfig
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _gstlibdir      %{_libdir}/gstreamer-0.6
29 %define         _gstincludedir  %{_includedir}/gstreamer-0.6
30 %define         _gstcachedir    %{_var}/cache/gstreamer-0.6
31
32 %description
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.
39
40 %description -l pl
41 GStreamer to ¶rodowisko obróbki danych strumieniowych, bazuj±ce na
42 grafie filtrów operuj±cych na danych medialnych. Aplikacje u¿ywaj±ce
43 tej biblioteki mog± robiæ wszystko od przetwarzania d¼wiêku w czasie
44 rzeczywistym, do odtwarzania filmów i czegokolwiek innego zwi±zego z
45 mediami. Architektura bazuj±ca na wtyczkach pozwala na ³atwe dodawanie
46 nowych typów danych lub mo¿liwo¶ci obróbki.
47
48 %package devel
49 Summary:        Include files for GStreamer streaming-media framework
50 Summary(pl):    Pliki nag³ówkowe do ¶rodowiska obróbki strumieni GStreamer
51 Group:          Development/Libraries
52 Requires:       %{name} = %{version}
53 Requires:       glib2-devel >= 2.0.1
54 Requires:       libxml2-devel >= 2.4.17
55 Requires:       popt-devel >= 1.6.1
56
57 %description devel
58 This package contains the includes files necessary to develop
59 applications and plugins for GStreamer.
60
61 %description devel -l pl
62 Ten pakiet zawiera pliki nag³ówkowe potrzebne do rozwijania aplikacji
63 i wtyczek do GStreamera.
64
65 %package static
66 Summary:        GStreamer static libraries
67 Summary(pl):    Biblioteki statyczne GStreamer
68 Group:          Development/Libraries
69 Requires:       %{name}-devel = %{version}
70
71 %description static
72 Static versions of GStreamer libraries.
73
74 %description static -l pl
75 Statyczne wersje bibliotek GStreamer.
76
77 %prep
78 %setup -q
79 %patch0 -p1
80 %patch1 -p1
81 %patch2 -p1
82
83 %build
84 rm -f missing
85 %{__aclocal} -I common/m4
86 %{__libtoolize}
87 %{__autoconf}
88 %{__autoheader}
89 %{__automake}
90 %configure \
91 %ifarch i586 i686 athlon
92         --enable-fast-stack-trash \
93 %endif
94         --enable-glib2 \
95         --enable-libmmx \
96         --enable-atomic \
97         --disable-examples \
98         --disable-tests \
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.035448 seconds and 4 git commands to generate.