11673
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-python-extras
|
|
3 |
#
|
|
4 |
# Copyright 2008 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 |
#
|
|
8 |
# Owner: dkenny
|
|
9 |
#
|
|
10 |
|
|
11 |
%include Solaris.inc
|
|
12 |
Name: SUNWgnome-python-extras
|
|
13 |
Summary: Supplemental Python bindings for GNOME
|
|
14 |
URL: http://ftp.gnome.org/pub/GNOME/sources/gnome-python-extras
|
|
15 |
Version: 2.19.1
|
|
16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-python-extras/2.19/gnome-python-extras-%{version}.tar.bz2
|
|
17 |
# date:2008-02-18 owner:dkenny type:feature
|
|
18 |
Patch1: gnome-python-extras-01-libgksu-missing-funcs.diff
|
12545
|
19 |
# Build with Firefox3 when "--with-ff3" is specified
|
|
20 |
%if %option_with_ff3
|
12799
|
21 |
# date:2008-05-29 owner:evan type:bug bugzilla:532856
|
12545
|
22 |
Patch2: gnome-python-extras-02-using-firefox3.diff
|
|
23 |
%endif
|
11673
|
24 |
SUNW_BaseDir: %{_basedir}
|
12114
|
25 |
SUNW_Copyright: %{name}.copyright
|
11673
|
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
27 |
Requires: SUNWPython
|
11716
|
28 |
Requires: SUNWgnome-python-libs
|
12333
|
29 |
Requires: SUNWfirefox
|
|
30 |
Requires: SUNWgksu
|
11716
|
31 |
BuildRequires: SUNWgnome-python-libs-devel
|
12333
|
32 |
BuildRequires: SUNWfirefox-devel
|
|
33 |
BuildRequires: SUNWgksu-devel
|
11673
|
34 |
|
|
35 |
%include default-depend.inc
|
|
36 |
|
|
37 |
%define pythonver 2.4
|
|
38 |
|
|
39 |
%prep
|
|
40 |
%setup -q -n gnome-python-extras-%version
|
|
41 |
%patch1 -p1
|
12545
|
42 |
%if %option_with_ff3
|
|
43 |
%patch2 -p1
|
|
44 |
%endif
|
11673
|
45 |
|
|
46 |
%build
|
12545
|
47 |
autoconf
|
11673
|
48 |
./configure --prefix=%{_prefix}
|
|
49 |
make
|
|
50 |
|
|
51 |
%install
|
|
52 |
rm -rf $RPM_BUILD_ROOT
|
|
53 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
54 |
|
|
55 |
# move to vendor-packages
|
|
56 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
|
|
57 |
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
|
|
58 |
$RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
|
|
59 |
rmdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
|
|
60 |
|
|
61 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
62 |
|
|
63 |
%clean
|
|
64 |
rm -rf $RPM_BUILD_ROOT
|
|
65 |
|
|
66 |
%files
|
|
67 |
%defattr (-, root, bin)
|
|
68 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
69 |
%{_libdir}/python%{pythonver}/vendor-packages/gtk-2.0/*
|
|
70 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
71 |
%{_libdir}/pkgconfig/*
|
|
72 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
73 |
%{_datadir}/pygtk/*
|
|
74 |
%{_datadir}/gtk-doc/*
|
|
75 |
|
|
76 |
%changelog
|
12545
|
77 |
* Fri May 30 2008 - [email protected]
|
|
78 |
- Add option "--with-ff3" to enable building with Firefox3
|
|
79 |
- Add patch gnome-python-extras-02-using-firefox3.diff
|
12333
|
80 |
* Wed May 21 2008 - [email protected]
|
|
81 |
- Add Build/Requires: SUNWfirefox/-devel and SUNWgksu/-devel after
|
|
82 |
check-deps.pl run.
|
11673
|
83 |
* Wed Feb 20 2007 - Darren Kenny <[email protected]>
|
|
84 |
- Move from spec-files-other since it's GNOME related.
|
|
85 |
* Mon Feb 18 2007 - Darren Kenny <[email protected]>
|
|
86 |
- Import into svn.opensolaris.org/spec-files-other
|
|
87 |
* Tue Jul 10 2007 - Brian Cameron <[email protected]>
|
|
88 |
- Bump to 2.19.1
|
|
89 |
* Fri Feb 9 2007 - Irene Huang <[email protected]>
|
|
90 |
- created
|