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