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