6868
|
1 |
#
|
|
2 |
# spec file for package gnome-python-desktop
|
|
3 |
#
|
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
8530
|
8 |
# Owner: laca
|
|
9 |
#
|
6868
|
10 |
Name: gnome-python-desktop
|
|
11 |
License: GPL
|
|
12 |
Group: System/Library
|
19076
|
13 |
Version: 2.17.1
|
6868
|
14 |
Release: 1
|
|
15 |
Distribution: Java Desktop System
|
|
16 |
Vendor: Sun Microsystems, Inc.
|
|
17 |
Summary: Python bindings for various GNOME desktop libraries
|
8065
|
18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.16/%{name}-%{version}.tar.bz2
|
19076
|
19 |
#owner:dcarbery date:2006-11-22 type:bug bugzilla:368364
|
|
20 |
Patch1: gnome-python-desktop-01-no_inline.diff
|
6868
|
21 |
URL: http://www.gnome.org
|
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
Docdir: %{_defaultdocdir}/doc
|
|
24 |
Autoreqprov: on
|
|
25 |
|
6923
|
26 |
%define python_version 2.4
|
6868
|
27 |
%define pygtk2_version 2.4.0
|
|
28 |
%define gnome_python_version 2.10.0
|
|
29 |
%define gnome_panel_version 2.13.4
|
|
30 |
%define libgnomeprint_version 2.2.0
|
|
31 |
%define libgnomeprintui_version 2.2.0
|
|
32 |
%define gtksourceview_version 1.1.90
|
|
33 |
%define libwnck_version 2.9.92
|
|
34 |
%define libgtop_version 2.13.0
|
|
35 |
%define nautilus_cd_burner_version 2.11.1
|
|
36 |
%define gconf_version 2.10.0
|
|
37 |
%define metacity_version 2.13.3
|
|
38 |
|
|
39 |
Requires: pygtk2 >= %{pygtk2_version}
|
|
40 |
Requires: gnome-python >= %{gnome_python_version}
|
|
41 |
Requires: gnome-panel >= %{gnome_panel_version}
|
|
42 |
Requires: libgnomeprint >= %{libgnomeprint_version}
|
|
43 |
Requires: libgnomeprintui >= %{libgnomeprintui_version}
|
|
44 |
Requires: gtksourceview >= %{gtksourceview_version}
|
|
45 |
Requires: libwnck >= %{libwnck_version}
|
|
46 |
Requires: libgtop >= %{libgtop_version}
|
|
47 |
Requires: nautilus-cd-burner >= %{nautilus_cd_burner_version}
|
|
48 |
Requires: GConf >= %{gconf_version}
|
|
49 |
Requires: metacity >= %{metacity_version}
|
|
50 |
|
|
51 |
BuildRequires: pygtk2-devel >= %{pygtk2_version}
|
|
52 |
BuildRequires: gnome-python-devel >= %{gnome_python_version}
|
|
53 |
BuildRequires: gnome-panel-devel >= %{gnome_panel_version}
|
|
54 |
BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version}
|
|
55 |
BuildRequires: libgnomeprintui-devel >= %{libgnomeprintui_version}
|
|
56 |
BuildRequires: gtksourceview-devel >= %{gtksourceview_version}
|
|
57 |
BuildRequires: libwnck-devel >= %{libwnck_version}
|
|
58 |
BuildRequires: libgtop-devel >= %{libgtop_version}
|
|
59 |
BuildRequires: nautilus-cd-burner >= %{nautilus_cd_burner_version}
|
|
60 |
BuildRequires: GConf-devel >= %{gconf_version}
|
|
61 |
BuildRequires: metacity >= %{metacity_version}
|
|
62 |
|
|
63 |
%description
|
|
64 |
GNOME-Python provides the Python language bindings for the GNOME desktop libraries.
|
|
65 |
|
|
66 |
%package devel
|
|
67 |
Summary: Files needed to build applications using the Python bindings for GNOME desktop libraries
|
|
68 |
Group: Development/Languages
|
|
69 |
Requires: %{name} = %{version}
|
|
70 |
|
|
71 |
%description devel
|
|
72 |
This package contains files required to build Python applications that need
|
|
73 |
to interoperate with the various GNOME desktop libraries
|
|
74 |
|
|
75 |
%prep
|
|
76 |
%setup -q -n gnome-python-desktop-%{version}
|
19076
|
77 |
%patch1 -p1
|
6868
|
78 |
|
|
79 |
%build
|
|
80 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
81 |
./configure --prefix=%{_prefix} \
|
8501
|
82 |
--sysconfdir=%{_sysconfdir} \
|
|
83 |
%{gtk_doc_option}
|
6868
|
84 |
make \
|
|
85 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \
|
|
86 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages
|
|
87 |
|
|
88 |
%install
|
|
89 |
make install DESTDIR=$RPM_BUILD_ROOT \
|
|
90 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \
|
|
91 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages
|
|
92 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
93 |
find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';'
|
|
94 |
|
|
95 |
%clean
|
|
96 |
rm -rf $RPM_BUILD_ROOT
|
|
97 |
|
|
98 |
%post
|
|
99 |
|
|
100 |
%postun
|
|
101 |
|
|
102 |
%files
|
|
103 |
%defattr(-, root, root)
|
|
104 |
%{_libdir}/python?.?/vendor-packages/gtk-2.0
|
|
105 |
|
|
106 |
%doc AUTHORS NEWS README ChangeLog
|
|
107 |
%doc examples
|
|
108 |
|
|
109 |
%files devel
|
|
110 |
%defattr(644, root, root)
|
|
111 |
%{_libdir}/pkgconfig/*
|
|
112 |
%{_datadir}/pygtk
|
6923
|
113 |
%{_datadir}/gtk-doc
|
6868
|
114 |
|
|
115 |
%changelog -n gnome-python-desktop
|
19076
|
116 |
* Wed Nov 22 2006 - [email protected]
|
|
117 |
- Bump to 2.17.1. Add patch, 01-no_inline, to fix #368364.
|
8501
|
118 |
* Fri Nov 3 2006 - [email protected]
|
|
119 |
- use %gtk_doc_option in configure so that it can be disabled using
|
|
120 |
--without-gtk-doc
|
8065
|
121 |
* Tue Sep 05 2006 - [email protected]
|
|
122 |
- Bump to 2.16.0.
|
7760
|
123 |
* Wed Jul 26 2006 - [email protected]
|
|
124 |
- Bump to 2.15.90.
|
6910
|
125 |
* Mon Mar 13 2006 - [email protected]
|
|
126 |
- Bump to 2.14.0.
|
6868
|
127 |
* Wed Mar 01 2006 - [email protected]
|
|
128 |
- Initial version
|