1
by Víctor M. Hernández
Initial commit |
1 |
Summary: Python bindings for the GtkSheet widget set. |
2 |
Name: python-gtksheet |
|
3 |
Version: @VERSION@ |
|
4 |
Release: 1 |
|
5 |
Copyright: LGPL |
|
6 |
Group: Development/Languages |
|
2
by Víctor M. Hernández
Updated spec file |
7 |
Source: http://cloud.github.com/downloads/vhernandez/pygtksheet/python-gtksheet-%{version}.tar.gz |
1
by Víctor M. Hernández
Initial commit |
8 |
BuildRoot: /var/tmp/python-gtksheet-root |
9 |
Requires: gtk2 >= 2.10.0 |
|
10 |
Requires: python >= 2.4 |
|
11 |
Requires: pygtk2 >= 2.8.0 |
|
12 |
Requires: gtksheet >= 0.1 |
|
13 |
Buildrequires: python-devel >= 2.4 |
|
14 |
Buildrequires: pygtk2-devel >= 2.8.0 |
|
2
by Víctor M. Hernández
Updated spec file |
15 |
Buildrequires: gtk+sheet-devel >= 0.1 |
1
by Víctor M. Hernández
Initial commit |
16 |
|
17 |
%description
|
|
18 |
Python-gtksheet is an extension module for python that gives you access to |
|
19 |
the GtkSheet widget. |
|
20 |
||
21 |
%package devel |
|
22 |
Summary: files needed to build wrappers for python-gtksheet addon libraries |
|
23 |
Group: Development/Languages |
|
24 |
Requires: python-gtksheet = %{version} |
|
25 |
||
26 |
%description devel |
|
27 |
This package containes files needed to build wrappers for python-gtksheet |
|
28 |
addon libraries so that they interoperate with python-gtksheet. |
|
29 |
||
30 |
%prep
|
|
31 |
%setup -q -n python-gtkshet-%{version} |
|
32 |
./configure --prefix=%{_prefix} |
|
33 |
||
34 |
%build
|
|
35 |
make
|
|
36 |
||
37 |
%install
|
|
38 |
rm -rf $RPM_BUILD_ROOT |
|
39 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
40 |
||
41 |
%files
|
|
42 |
%defattr(644, root, root, 755) |
|
43 |
%dir %{_prefix}/lib/python?.?/site-packages/gtk-2.0/gtksheet |
|
44 |
%{_prefix}/lib/python?.?/site-packages/gtk-2.0/gtksheet/*.py* |
|
45 |
||
46 |
%defattr(755, root, root, 755)
|
|
47 |
%{_prefix}/lib/python?.?/site-packages/gtk-2.0/gtksheet/_gtksheetmodule.so
|
|
48 |
||
49 |
%doc AUTHORS NEWS README ChangeLog
|
|
50 |
%doc examples
|
|
51 |
||
52 |
%files devel
|
|
53 |
%defattr(755, root, root, 755)
|
|
54 |
%{_prefix}/lib/pkgconfig/python-gtksheet.pc
|
|
55 |
%{_prefix}/lib/python?.?/site-packages/gtk-2.0/gtksheet/_gtksheetmodule.la
|
|
56 |
%dir %{_prefix}/share/pygtk/2.0/defs
|
|
57 |
%{_prefix}/share/pygtk/2.0/defs/gtksheet.defs
|
|
58 |
%{_prefix}/share/pygtk/2.0/defs/gtksheet-types.defs
|
|
59 |
%{_prefix}/share/pygtk/2.0/defs/gtksheet-addons.defs
|
|
60 |
||
61 |
||
62 |