author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 8530 | ef62fbe8c956 |
child 8928 | 51717850e290 |
permissions | -rw-r--r-- |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
1 |
# |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
2 |
# spec file for package gnome-python |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
3 |
# |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
5 |
# This file and all modifications and additions to the pristine |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
6 |
# package are under the same license as the package itself. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
7 |
# |
8530 | 8 |
# Owner: laca |
9 |
# |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
10 |
Name: gnome-python |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
11 |
License: LGPL |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
12 |
Group: System/Library |
8513 | 13 |
Version: 2.16.2 |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
14 |
Release: 1 |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
15 |
Distribution: Java Desktop System |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
16 |
Vendor: Sun Microsystems, Inc. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
17 |
Summary: Python bindings for various GNOME libraries |
8065 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-python/2.16/gnome-python-%{version}.tar.bz2 |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
19 |
URL: http://www.gnome.org |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
21 |
Docdir: %{_defaultdocdir}/doc |
6923 | 22 |
Autoreqprov: off |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
23 |
|
5605 | 24 |
%define libglade_version 2.4.0 |
6193 | 25 |
%define python_version 2.4 |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
26 |
%define pygtk2_version 2.4.0 |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
27 |
%define pyorbit_version 2.0.1 |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
28 |
%define libgnomeui_version 2.0.0 |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
29 |
%define gconf_version 1.2.0 |
5605 | 30 |
%define nautilus_version 2.0.0 |
31 |
%define gnome_panel_version 2.0.0 |
|
32 |
%define gtkhtml_version 2.3.1 |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
33 |
%define libgnomeprintui_version 2.2.0 |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
34 |
|
5605 | 35 |
Requires: python >= %{python_version} |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
36 |
Requires: pygtk2 >= %{pygtk2_version} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
37 |
Requires: pyorbit >= %{pyorbit_version} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
38 |
Requires: libgnomeui >= %{libgnomeui_version} |
5605 | 39 |
Requires: libglade >= %{libglade_version} |
40 |
Requires: GConf >= %{gconf_version} |
|
41 |
Requires: nautilus >= %{nautilus_version} |
|
42 |
Requires: gnome-panel >= %{gnome_panel_version} |
|
43 |
Requires: gtkhtml >= %{gtkhtml_version} |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
44 |
Requires: libgnomeprintui >= %{libgnomeprintui_version} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
45 |
|
5605 | 46 |
BuildRequires: python >= %{python_version} |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
47 |
BuildRequires: pygtk2-devel >= %{pygtk2_version} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
48 |
BuildRequires: pyorbit-devel >= %{pyorbit_version} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
49 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
5605 | 50 |
BuildRequires: GConf-devel >= %{gconf_version} |
51 |
BuildRequires: nautilus-devel >= %{nautilus_version} |
|
52 |
BuildRequires: gnome-panel-devel >= %{gnome_panel_version} |
|
53 |
BuildRequires: gtkhtml-devel >= %{gtkhtml_version} |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
54 |
BuildRequires: libgnomeprintui-devel >= %{libgnomeprintui_version} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
55 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
56 |
%description |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
57 |
GNOME-Python provides the Python language bindings for the GNOME libraries. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
58 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
59 |
%package devel |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
60 |
Summary: Files needed to build applications using the Python bindings for GNOME libraries |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
61 |
Group: Development/Languages |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
62 |
Requires: %{name} = %{version} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
63 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
64 |
%description devel |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
65 |
This package contains files required to build Python applications that need |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
66 |
to interope rate with the various GNOME libraries |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
67 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
68 |
%prep |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
69 |
%setup -q -n gnome-python-%{version} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
70 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
71 |
%build |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
72 |
CFLAGS="$RPM_OPT_FLAGS" \ |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
73 |
./configure --prefix=%{_prefix} \ |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
74 |
--sysconfdir=%{_sysconfdir} |
6193 | 75 |
make \ |
76 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \ |
|
77 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
78 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
79 |
%install |
6193 | 80 |
make install DESTDIR=$RPM_BUILD_ROOT \ |
81 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \ |
|
82 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
83 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
84 |
find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';' |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
85 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
86 |
%clean |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
87 |
rm -rf $RPM_BUILD_ROOT |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
88 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
89 |
%post |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
90 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
91 |
%postun |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
92 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
93 |
%files |
5606 | 94 |
%defattr(-, root, root) |
6193 | 95 |
%{_libdir}/python?.?/vendor-packages/gtk-2.0 |
6923 | 96 |
%{_libdir}/gnome-vfs-*/modules/lib*.so |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
97 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
98 |
%doc AUTHORS NEWS README ChangeLog |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
99 |
%doc examples |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
100 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
101 |
%files devel |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
102 |
%defattr(644, root, root) |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
103 |
%{_libdir}/pkgconfig/* |
5606 | 104 |
%{_datadir}/pygtk |
6923 | 105 |
%{_includedir}/* |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
106 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
107 |
%changelog -n gnome-python |
8512 | 108 |
* Mon Nov 06 2006 - [email protected] |
8513 | 109 |
- Bump to 2.16.2. |
110 |
||
111 |
* Mon Nov 06 2006 - [email protected] |
|
8512 | 112 |
- Bump to 2.16.1. |
113 |
||
8065 | 114 |
* Tue Sep 05 2006 - [email protected] |
115 |
- Bump to 2.16.0. |
|
116 |
||
7950 | 117 |
* Tue Aug 22 2006 - [email protected] |
118 |
- Bump to 2.15.91. |
|
119 |
||
7760 | 120 |
* Wed Jul 26 2006 - [email protected] |
121 |
- Bump to 2.15.90. |
|
122 |
||
7706 | 123 |
* Fri Jul 21 2006 - [email protected] |
124 |
- Bump to 2.15.4. |
|
125 |
||
6910 | 126 |
* Mon Mar 13 2006 - [email protected] |
127 |
- Bump to 2.12.4. |
|
128 |
||
6464 | 129 |
* Tue Jan 03 2006 - [email protected] |
130 |
- Bump to 2.12.3. |
|
131 |
||
6427
0e3b94fe124d
pyorbit.spec: Bump to 2.13.1; gnome-python: Bump to 2.12.2; pygtk2.spec: Bump to 2.8.2
dermotm
parents:
6200
diff
changeset
|
132 |
* Tue Dec 20 2005 - [email protected] |
0e3b94fe124d
pyorbit.spec: Bump to 2.13.1; gnome-python: Bump to 2.12.2; pygtk2.spec: Bump to 2.8.2
dermotm
parents:
6200
diff
changeset
|
133 |
- Bump to 2.12.2 |
0e3b94fe124d
pyorbit.spec: Bump to 2.13.1; gnome-python: Bump to 2.12.2; pygtk2.spec: Bump to 2.8.2
dermotm
parents:
6200
diff
changeset
|
134 |
|
6200 | 135 |
* Thu Oct 27 2005 - [email protected] |
136 |
- move from site-packages to vendor-packages |
|
137 |
- include the .pyc files |
|
6427
0e3b94fe124d
pyorbit.spec: Bump to 2.13.1; gnome-python: Bump to 2.12.2; pygtk2.spec: Bump to 2.8.2
dermotm
parents:
6200
diff
changeset
|
138 |
|
5605 | 139 |
* Fri Aug 26 2005 - [email protected] |
5606 | 140 |
- fix dependencies, fix %files |
6427
0e3b94fe124d
pyorbit.spec: Bump to 2.13.1; gnome-python: Bump to 2.12.2; pygtk2.spec: Bump to 2.8.2
dermotm
parents:
6200
diff
changeset
|
141 |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
142 |
* Fri Aug 12 2005 - [email protected] |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
143 |
- Initial Sun release |