source: projects/specs/branches/6/g/gstreamer-python/gstreamer-python-vl.spec @ 2547

Revision 2547, 3.1 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release

Line 
1%{!?python_sitearch:    %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2%{!?python_sitelib:     %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
3
4%define majorminor      0.10
5%define pkg_release     1%{?_dist_release}
6
7Summary:        Python bindings for GStreamer
8Summary(ja):    GStreamer の Python バインディング
9Name:           gstreamer-python
10Version:        0.10.21
11Release:        %{pkg_release}
12Source0:        http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.bz2
13License:        LGPLv2+
14Group:          Development/Languages
15URL:            http://gstreamer.freedesktop.org/
16
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18BuildRequires:  python, python-devel
19BuildRequires:  pygtk2-devel
20BuildRequires:  gstreamer-devel
21BuildRequires:  gstreamer-plugins-base-devel
22BuildRequires:  pygobject-devel
23Requires:       python, pygtk2
24Requires:       gstreamer, gstreamer-plugins-base
25
26Vendor:         Project Vine
27Distribution:   Vine Linux
28
29%description
30This package contains a python bindings to the GStreamer
31streaming-media framework.
32
33%description -l ja
34このパッケージは GStreamer ストリーミングメディアフレームワーク
35向けの Python バインディングを含みます。
36
37%package devel
38Summary:        Development environment for gstreamer-python
39Summary(ja):    gstreamer-pythonの開発環境
40Group:          Development/Libraries
41Requires:       %{name} = %{version}-%{release}
42Requires:       pkgconfig
43
44%description devel
45Header files and libraries for building a extension library for the
46gstreamer-python.
47
48
49%prep
50%setup -q -n gst-python-%{version}
51
52%build
53%configure
54%{__make} %{?_smp_mflags}
55
56%install
57%{__rm} -rf ${RPM_BUILD_ROOT}
58%{__make} install DESTDIR=${RPM_BUILD_ROOT}
59
60# remove unnecessary .la files
61find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
62
63
64%clean
65%{__rm} -rf ${RPM_BUILD_ROOT}
66
67
68%files
69%defattr(-,root,root)
70%doc AUTHORS COPYING ChangeLog INSTALL NEWS README RELEASE TODO
71%{_libdir}/gstreamer-%{majorminor}/lib*.so
72%{python_sitearch}/*.so
73#%{python_sitelib}/*.py*
74#%{python_sitelib}/pygst.p*
75#%{python_sitelib}/gst-%{majorminor}
76%{python_sitearch}/pygst.p*
77%{python_sitearch}/gst-%{majorminor}
78%{_datadir}/gst-python/%{majorminor}/defs/*.defs
79%{_datadir}/gst-python/%{majorminor}/examples
80
81%files devel
82%{_libdir}/pkgconfig/gst-python-%{majorminor}.pc
83
84
85%changelog
86* Sun Jan 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.21-1
87- new upstream release
88
89* Thu Dec 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.20-1
90- new upstream release
91- create -devel sub package
92
93* Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.10.17-3
94- rebuilt with rpm-4.8.1 for pkg-config
95
96* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.10.17-2
97- rebuild with python-2.6
98
99* Sun Nov 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.17-1
100- new upstream release
101
102* Sun Aug  9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.14-1
103- new upstream release
104
105* Wed Dec 31 2008 Shu KONNO <owa@bg.wakwak.com> 0.10.13-2
106- changed python-lib directory to %%{python_sitearch}
107
108* Sat Dec 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.13-1
109- initial build for Vine Linux
110
Note: See TracBrowser for help on using the repository browser.