6 |
|
|
7 |
%define _exclude_files_from_autoreq ^%{py_platsitedir}/gi/_gobject/__init__.py |
%define _exclude_files_from_autoreq ^%{py_platsitedir}/gi/_gobject/__init__.py |
8 |
|
|
9 |
Summary: Python bindings for GObject Introspection |
Summary: Python bindings for GObject Introspection |
10 |
Name: python-gobject3 |
Name: python-gobject3 |
11 |
Version: 2.90.4 |
Version: 3.0.0 |
12 |
Release: %mkrel 1 |
Release: %mkrel 1 |
13 |
Source0: http://ftp.gnome.org/pub/GNOME/sources/pygobject/%{oname}-%{version}.tar.xz |
Source0: http://download.gnomeorg/sources/%{oname}/3.0/%{oname}-%{version}.tar.xz |
14 |
Patch0: pygobject-2.90.2-link.patch |
Patch0: pygobject-2.90.2-link.patch |
15 |
License: LGPLv2+ and MIT |
License: LGPLv2+ and MIT |
16 |
Group: Development/Python |
Group: Development/Python |
17 |
Url: http://www.gnome.org |
Url: http://www.gnome.org |
18 |
BuildRequires: python-devel >= 2.5.2 |
BuildRequires: python-devel >= 2.5.2 |
19 |
BuildRequires: pkgconfig(glib-2.0) >= 2.24.0 |
BuildRequires: pkgconfig(glib-2.0) >= 2.24.0 |
20 |
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.2 |
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.2 |
21 |
BuildRequires: pkgconfig(libffi) >= 3.0 |
BuildRequires: pkgconfig(libffi) >= 3.0 |
22 |
BuildRequires: pkgconfig(pycairo) >= 1.2.0 |
BuildRequires: pkgconfig(pycairo) >= 1.2.0 |
23 |
BuildRequires: gtk-doc |
BuildRequires: gtk-doc |
24 |
BuildRequires: automake |
BuildRequires: automake |
25 |
|
|
26 |
%description |
%description |
27 |
The %{name} package provides a convenient wrapper for the GObject library |
The %{name} package provides a convenient wrapper for the GObject library |
28 |
for use in Python programs. |
for use in Python programs. |
29 |
|
|
30 |
%package -n python-gi |
%package -n python-gi |
31 |
Summary: Python bindings for GObject Introspection |
Summary: Python bindings for GObject Introspection |
32 |
Group: Development/Python |
Group: Development/Python |
33 |
Provides: python-gobject-introspection = %{version}-%{release} |
Provides: python-gobject-introspection = %{version}-%{release} |
34 |
Provides: %{name} = %{version}-%{release} |
Provides: %{name} = %{version}-%{release} |
35 |
Conflicts: python-gobject < 2.28.6-4 |
Conflicts: python-gobject < 2.28.6-4 |
36 |
|
|
37 |
%description -n python-gi |
%description -n python-gi |
38 |
The %{name} package provides a convenient wrapper for the GObject library |
The %{name} package provides a convenient wrapper for the GObject library |
41 |
This package contains the Python GObject Introspection bindings. |
This package contains the Python GObject Introspection bindings. |
42 |
|
|
43 |
%package -n python-gi-cairo |
%package -n python-gi-cairo |
44 |
Summary: Python-gi bindings for Cairo |
Summary: Python-gi bindings for Cairo |
45 |
Group: Development/Python |
Group: Development/Python |
46 |
Requires: python-gi = %{version}-%{release} |
Requires: python-gi = %{version}-%{release} |
47 |
Requires: python-cairo >= 1.2.0 |
Requires: python-cairo >= 1.2.0 |
48 |
Obsoletes: python-gobject-cairo < 2.28.6-4 |
Obsoletes: python-gobject-cairo < 2.28.6-4 |
49 |
Provides: python-gobject-cairo = %{version}-%{release} |
Provides: python-gobject-cairo = %{version}-%{release} |
50 |
|
|
51 |
%description -n python-gi-cairo |
%description -n python-gi-cairo |
52 |
The %{name} package provides a convenient wrapper for the GObject library |
The %{name} package provides a convenient wrapper for the GObject library |
54 |
|
|
55 |
This package contains the Python-gi Cairo bindings. |
This package contains the Python-gi Cairo bindings. |
56 |
|
|
57 |
%package -n %libname |
%package -n %{libname} |
58 |
Group: System/Libraries |
Group: System/Libraries |
59 |
Summary: Python GObject Introspection bindings shared library |
Summary: Python GObject Introspection bindings shared library |
60 |
|
|
61 |
%description -n %libname |
%description -n %{libname} |
62 |
This archive contains bindings for the GObject, to be used in Python |
This archive contains bindings for the GObject, to be used in Python |
63 |
It is a fairly complete set of bindings, it's already rather useful, |
It is a fairly complete set of bindings, it's already rather useful, |
64 |
and is usable to write moderately complex programs. |
and is usable to write moderately complex programs. |
65 |
|
|
66 |
%package devel |
%package devel |
67 |
Group: Development/C |
Group: Development/C |
68 |
Summary: Python-gobject development files |
Summary: Python-gobject development files |
69 |
Requires: %libname = %version-%release |
Requires: %{libname} = %{version}-%{release} |
70 |
|
|
71 |
%description devel |
%description devel |
72 |
This contains the python-gobject development files, including C |
This contains the python-gobject development files, including C |
73 |
header, pkg-config file. |
header, pkg-config file. |
74 |
|
|
75 |
%prep |
%prep |
76 |
%setup -q -n %oname-%version |
%setup -q -n %{oname}-%{version} |
77 |
#patch0 -p0 |
#patch0 -p0 |
78 |
|
|
79 |
%build |
%build |