source: projects/specs/trunk/p/pyclutter-gtk/pyclutter-gtk-vl.spec @ 1901

Revision 1901, 1.9 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

Line 
1%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2
3%define pkg_version 0.10.0
4%define pkg_release 2%{?_dist_release}
5
6Summary:        Python binding for the Clutter-Gtk
7Summary(ja):    Clutter-Gtk 用 Python バインディング
8Name:           pyclutter-gtk
9Version:        %{pkg_version}
10Release:        %{pkg_release}
11Source0:        http://www.clutter-project.org/sources/%{name}/0.10/%{name}-%{version}.tar.bz2
12License:        LGPLv2+
13Group:          Development/Languages
14URL:            http://www.clutter-project.org/
15
16BuildRequires:  clutter-devel           >= 1.0.0
17BuildRequires:  pyclutter-devel         >= 1.0.0
18BuildRequires:  gtk2-devel              >= 2.10.0
19BuildRequires:  clutter-gtk-devel       >= 0.10.2
20BuildRequires:  pygtk2-devel            >= 2.8.0
21BuildRoot:      %{_tmppath}/%{name}-%{version}-root
22
23Vendor: Project Vine
24Distribution: Vine Linux
25Packager: Takemikaduchi
26
27
28%description
29This archive provides Python bindings for the clutter-gtk integration library.
30
31
32%package devel
33Summary:        PyClutter-Gtk development environment
34Summary(ja):    PyClutter-Gtk の開発環境
35Group:          Development/Libraries
36Requires:       %{name} = %{version}-%{release}
37Requires:       pyclutter-devel
38
39%description devel
40Header files and libraries for building a extension library for the pyclutter-gtk.
41
42
43%prep
44%setup -q
45
46
47%build
48%configure --enable-static=no
49%{__make} %{?_smp_mflags}
50
51
52%install
53%{__rm} -rf ${RPM_BUILD_ROOT}
54%{__make} install DESTDIR=${RPM_BUILD_ROOT}
55
56%{__rm} -rf ${RPM_BUILD_ROOT}/%{python_sitearch}/cluttergtk/*.la
57
58
59%clean
60%{__rm} -rf ${RPM_BUILD_ROOT}
61
62
63%files
64%defattr(-,root,root)
65%doc AUTHORS ChangeLog COPYING NEWS README
66%{python_sitearch}/cluttergtk
67%{_datadir}/pyclutter/1.0/defs/cluttergtk*
68
69%files devel
70%defattr(-,root,root)
71%{_libdir}/pkgconfig/pyclutter-gtk-0.10.pc
72
73
74%changelog
75* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.0-2
76- rebuild with rpm-4.8.1 for pkg-config file
77
78* Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.0-1
79- initial build for Vine Linux
80
Note: See TracBrowser for help on using the repository browser.