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