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