author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16224 | 8f9dc352ab49 |
child 16450 | 2a67bcdc32c9 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package gnome-python-desktop |
|
3 |
# |
|
11476 | 4 |
# Copyright (c) 2008 Sun Microsystems, Inc. |
9397 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16434 | 8 |
%define owner laca |
9397 | 9 |
# |
16008 | 10 |
%{?!pythonver:%define pythonver 2.4} |
11 |
||
9397 | 12 |
Name: gnome-python-desktop |
13 |
License: GPL |
|
14 |
Group: System/Library |
|
16065 | 15 |
Version: 2.27.2 |
9397 | 16 |
Release: 1 |
17 |
Distribution: Java Desktop System |
|
18 |
Vendor: Sun Microsystems, Inc. |
|
19 |
Summary: Python bindings for various GNOME desktop libraries |
|
16224 | 20 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.27/%{name}-%{version}.tar.bz2 |
9397 | 21 |
URL: http://www.gnome.org |
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
23 |
Docdir: %{_defaultdocdir}/doc |
|
24 |
Autoreqprov: on |
|
25 |
||
26 |
%define pygtk2_version 2.4.0 |
|
27 |
%define gnome_python_version 2.10.0 |
|
28 |
%define gnome_panel_version 2.13.4 |
|
29 |
%define libgnomeprint_version 2.2.0 |
|
30 |
%define libgnomeprintui_version 2.2.0 |
|
31 |
%define gtksourceview_version 1.1.90 |
|
32 |
%define libwnck_version 2.9.92 |
|
33 |
%define libgtop_version 2.13.0 |
|
34 |
%define nautilus_cd_burner_version 2.11.1 |
|
35 |
%define gconf_version 2.10.0 |
|
36 |
%define metacity_version 2.13.3 |
|
37 |
||
38 |
Requires: pygtk2 >= %{pygtk2_version} |
|
39 |
Requires: gnome-python >= %{gnome_python_version} |
|
40 |
Requires: gnome-panel >= %{gnome_panel_version} |
|
41 |
Requires: libgnomeprint >= %{libgnomeprint_version} |
|
42 |
Requires: libgnomeprintui >= %{libgnomeprintui_version} |
|
43 |
Requires: gtksourceview >= %{gtksourceview_version} |
|
44 |
Requires: libwnck >= %{libwnck_version} |
|
45 |
Requires: libgtop >= %{libgtop_version} |
|
46 |
Requires: nautilus-cd-burner >= %{nautilus_cd_burner_version} |
|
47 |
Requires: GConf >= %{gconf_version} |
|
48 |
Requires: metacity >= %{metacity_version} |
|
49 |
||
50 |
BuildRequires: pygtk2-devel >= %{pygtk2_version} |
|
51 |
BuildRequires: gnome-python-devel >= %{gnome_python_version} |
|
52 |
BuildRequires: gnome-panel-devel >= %{gnome_panel_version} |
|
53 |
BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version} |
|
54 |
BuildRequires: libgnomeprintui-devel >= %{libgnomeprintui_version} |
|
55 |
BuildRequires: gtksourceview-devel >= %{gtksourceview_version} |
|
56 |
BuildRequires: libwnck-devel >= %{libwnck_version} |
|
57 |
BuildRequires: libgtop-devel >= %{libgtop_version} |
|
58 |
BuildRequires: nautilus-cd-burner >= %{nautilus_cd_burner_version} |
|
59 |
BuildRequires: GConf-devel >= %{gconf_version} |
|
60 |
BuildRequires: metacity >= %{metacity_version} |
|
61 |
||
62 |
%description |
|
63 |
GNOME-Python provides the Python language bindings for the GNOME desktop libraries. |
|
64 |
||
65 |
%package devel |
|
66 |
Summary: Files needed to build applications using the Python bindings for GNOME desktop libraries |
|
67 |
Group: Development/Languages |
|
68 |
Requires: %{name} = %{version} |
|
69 |
||
70 |
%description devel |
|
71 |
This package contains files required to build Python applications that need |
|
72 |
to interoperate with the various GNOME desktop libraries |
|
73 |
||
74 |
%prep |
|
75 |
%setup -q -n gnome-python-desktop-%{version} |
|
76 |
||
77 |
%build |
|
16008 | 78 |
export PYTHON=/usr/bin/python%{pythonver} |
9397 | 79 |
CFLAGS="$RPM_OPT_FLAGS" \ |
80 |
./configure --prefix=%{_prefix} \ |
|
81 |
--sysconfdir=%{_sysconfdir} \ |
|
82 |
%{gtk_doc_option} |
|
83 |
make \ |
|
16008 | 84 |
pyexecdir=%{_libdir}/python%{pythonver}/vendor-packages \ |
85 |
pythondir=%{_libdir}/python%{pythonver}/vendor-packages |
|
9397 | 86 |
|
87 |
%install |
|
88 |
make install DESTDIR=$RPM_BUILD_ROOT \ |
|
16008 | 89 |
pyexecdir=%{_libdir}/python%{pythonver}/vendor-packages \ |
90 |
pythondir=%{_libdir}/python%{pythonver}/vendor-packages |
|
9397 | 91 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
92 |
find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';' |
|
93 |
||
94 |
%clean |
|
95 |
rm -rf $RPM_BUILD_ROOT |
|
96 |
||
97 |
%post |
|
98 |
||
99 |
%postun |
|
100 |
||
101 |
%files |
|
102 |
%defattr(-, root, root) |
|
103 |
%{_libdir}/python?.?/vendor-packages/gtk-2.0 |
|
104 |
||
105 |
%doc AUTHORS NEWS README ChangeLog |
|
106 |
%doc examples |
|
107 |
||
108 |
%files devel |
|
109 |
%defattr(644, root, root) |
|
110 |
%{_libdir}/pkgconfig/* |
|
111 |
%{_datadir}/pygtk |
|
112 |
%{_datadir}/gtk-doc |
|
113 |
||
114 |
%changelog -n gnome-python-desktop |
|
16065 | 115 |
* Sun Jul 19 2009 - [email protected] |
116 |
- Bump to 2.27.2. |
|
15428
2f578f997cf0
* base-specs/gnome-python-desktop.spec: Bump to 2.26.0.
davelam
parents:
15117
diff
changeset
|
117 |
* Tue Mar 17 2009 - [email protected] |
2f578f997cf0
* base-specs/gnome-python-desktop.spec: Bump to 2.26.0.
davelam
parents:
15117
diff
changeset
|
118 |
- Bump to 2.26.0 |
15117 | 119 |
* Mon Feb 16 2009 - [email protected] |
120 |
- Bump to 2.25.91 |
|
15031 | 121 |
* Thu Feb 05 2009 - [email protected] |
122 |
- Bump to 2.25.90. |
|
14945 | 123 |
* Tue Jan 20 2009 - [email protected] |
124 |
- Bump to 2.25.1. |
|
13824 | 125 |
* Mon Sep 29 2008 - [email protected] |
126 |
- Bump to 2.24.0. |
|
13371 | 127 |
* Tue Sep 02 2008 - [email protected] |
13824 | 128 |
- Bump to 2.23.1. |
12673 | 129 |
* Mon Jun 16 2008 - [email protected] |
130 |
- Bump to 2.23.0. |
|
11829 | 131 |
* Mon Mar 10 2008 - [email protected] |
132 |
- Bump to 2.22.0. |
|
11709 | 133 |
* Mon Feb 25 2008 - [email protected] |
134 |
- Bump to 2.21.3. |
|
11476 | 135 |
* Thu Jan 17 2008 - [email protected] |
136 |
- Bump to 2.21.2. |
|
11329 | 137 |
* Tue Dec 18 2007 - [email protected] |
138 |
- Bump to 2.21.1. |
|
10518 | 139 |
* Tue Sep 18 2007 - [email protected] |
140 |
- Bump to 2.20.0. |
|
10237 | 141 |
* Tue Jul 31 2007 - [email protected] |
142 |
- Bump to 2.19.2. |
|
10168 | 143 |
* Mon Jul 09 2007 - [email protected] |
144 |
- Bump to 2.19.1. |
|
9528 | 145 |
* Mon Mar 12 2007 - [email protected] |
146 |
- Bump to 2.18.0. |
|
9437 | 147 |
* Mon Mar 05 2007 - [email protected] |
9445 | 148 |
- Bump to 2.17.93. Remove upstream patch, 01-bad-include. |
9397 | 149 |
* Wed Jan 31 2007 - [email protected] |
150 |
- Add patch, 01-bad-include, to fix #401760. Patch from upstream fix. |
|
151 |
* Mon Jan 08 2007 - [email protected] |
|
152 |
- Bump to 2.17.3. Remove upstream patch, 01-no_inline. |
|
153 |
* Wed Nov 22 2006 - [email protected] |
|
154 |
- Bump to 2.17.1. Add patch, 01-no_inline, to fix #368364. |
|
155 |
* Fri Nov 3 2006 - [email protected] |
|
156 |
- use %gtk_doc_option in configure so that it can be disabled using |
|
157 |
--without-gtk-doc |
|
158 |
* Tue Sep 05 2006 - [email protected] |
|
159 |
- Bump to 2.16.0. |
|
160 |
* Wed Jul 26 2006 - [email protected] |
|
161 |
- Bump to 2.15.90. |
|
162 |
* Mon Mar 13 2006 - [email protected] |
|
163 |
- Bump to 2.14.0. |
|
164 |
* Wed Mar 01 2006 - [email protected] |
|
165 |
- Initial version |