source: projects/specs/trunk/g/gstreamer-python/gstreamer-python-vl.spec @ 9069

Revision 9069, 3.5 KB checked in by inagaki, 9 years ago (diff)

2014-11-08 Ryoichi INAGAKI <ryo1@…>

  • anjuta, bluefish, fltk, gstreamer-python, vala: updated


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