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