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