]> git.pld-linux.org Git - packages/python-gstreamer.git/blob - python-gstreamer.spec
- up to 0.10.14
[packages/python-gstreamer.git] / python-gstreamer.spec
1 %define         pname   gst-python
2 Summary:        GStreamer Python bindings
3 Summary(pl.UTF-8):      Wiązania języka Python do GStreamera
4 Name:           python-gstreamer
5 Version:        0.10.14
6 Release:        1
7 License:        LGPL v2+
8 Group:          Libraries/Python
9 Source0:        http://gstreamer.freedesktop.org/src/gst-python/%{pname}-%{version}.tar.bz2
10 # Source0-md5:  a2df4bc00c718ab9d1edda4429a58b9d
11 URL:            http://gstreamer.freedesktop.org/modules/gst-python.html
12 BuildRequires:  autoconf >= 2.57
13 BuildRequires:  automake
14 BuildRequires:  glib2-devel >= 1:2.8.0
15 BuildRequires:  gstreamer-devel >= 0.10.16
16 BuildRequires:  gstreamer-plugins-base-devel >= 0.10.16
17 BuildRequires:  gtk+2-devel >= 2:2.6.0
18 BuildRequires:  libtool >= 1.4
19 BuildRequires:  pkgconfig >= 1:0.9.0
20 BuildRequires:  python-pygobject-devel >= 2.11.2
21 BuildRequires:  python-devel >= 1:2.3
22 %pyrequires_eq  python-libs
23 Requires:       glib2 >= 1:2.8.0
24 Requires:       gstreamer >= 0.10.16
25 Requires:       gstreamer-plugins-base >= 0.10.16
26 Requires:       python-pygobject >= 2.11.2
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 GStreamer Python bindings.
31
32 %description -l pl.UTF-8
33 Wiązania języka Python do GStreamera.
34
35 %package devel
36 Summary:        Development files and examples for GStreamer Python bindings
37 Summary(pl.UTF-8):      Pliki programistyczne i przykłady dla wiązań Pythona do GStreamera
38 Group:          Development/Languages/Python
39 Requires:       %{name} = %{version}-%{release}
40
41 %description devel
42 Development files and examples for GStreamer Python bindings.
43
44 %description devel -l pl.UTF-8
45 Pliki programistyczne i przykłady dla wiązań Pythona do GStreamera.
46
47 %prep
48 %setup -q -n %{pname}-%{version}
49
50 %build
51 %{__libtoolize}
52 %{__aclocal} -I common/m4
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT \
66         examplesdir=%{_examplesdir}/%{name}-%{version}
67
68 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
69 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
70
71 %py_postclean
72
73 rm -f $RPM_BUILD_ROOT%{py_sitedir}/gst-*/gst/*.la
74 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.la
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog NEWS RELEASE TODO
82 %dir %{py_sitedir}/gst-*
83 %dir %{py_sitedir}/gst-*/gst
84 %attr(755,root,root) %{py_sitedir}/gstoption.so
85 %attr(755,root,root) %{py_sitedir}/gst-*/gst/_gst.so
86 %attr(755,root,root) %{py_sitedir}/gst-*/gst/audio.so
87 %attr(755,root,root) %{py_sitedir}/gst-*/gst/tag.so
88 %attr(755,root,root) %{py_sitedir}/gst-*/gst/video.so
89 %attr(755,root,root) %{py_sitedir}/gst-*/gst/interfaces.so
90 %attr(755,root,root) %{py_sitedir}/gst-*/gst/pbutils.so
91 %{py_sitedir}/gst-*/gst/__init__.py[co]
92 %dir %{py_sitedir}/gst-*/gst/extend
93 %{py_sitedir}/gst-*/gst/extend/*.py[co]
94 %{py_sitedir}/pygst.pth
95 %{py_sitedir}/pygst.py[co]
96
97 %files devel
98 %defattr(644,root,root,755)
99 %dir %{_datadir}/gst-python
100 %dir %{_datadir}/gst-python/0.10
101 %{_datadir}/gst-python/0.10/defs
102 %{_pkgconfigdir}/gst-python-0.10.pc
103 %{_examplesdir}/%{name}-%{version}
This page took 0.027901 seconds and 3 git commands to generate.