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