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