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