author | mattman |
Fri, 12 Sep 2008 17:36:55 +0000 | |
changeset 13573 | 341105fe187e |
parent 12799 | 04ceadac2747 |
child 14173 | fe63d4719576 |
child 14650 | 78ca5d1eaefd |
permissions | -rw-r--r-- |
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/* |
|
13573
341105fe187e
* SUNWgnome-python-extras.spec: Add %doc to %files
mattman
parents:
12799
diff
changeset
|
75 |
%doc AUTHORS COPYING README |
341105fe187e
* SUNWgnome-python-extras.spec: Add %doc to %files
mattman
parents:
12799
diff
changeset
|
76 |
%doc(bzip2) COPYING.GPL COPYING.LGPL ChangeLog NEWS |
341105fe187e
* SUNWgnome-python-extras.spec: Add %doc to %files
mattman
parents:
12799
diff
changeset
|
77 |
%dir %attr (0755, root, other) %{_datadir}/doc |
11673 | 78 |
|
79 |
%changelog |
|
13573
341105fe187e
* SUNWgnome-python-extras.spec: Add %doc to %files
mattman
parents:
12799
diff
changeset
|
80 |
* Fri Sep 12 2008 - [email protected] |
341105fe187e
* SUNWgnome-python-extras.spec: Add %doc to %files
mattman
parents:
12799
diff
changeset
|
81 |
- Update copyright |
12545 | 82 |
* Fri May 30 2008 - [email protected] |
83 |
- Add option "--with-ff3" to enable building with Firefox3 |
|
84 |
- Add patch gnome-python-extras-02-using-firefox3.diff |
|
12333 | 85 |
* Wed May 21 2008 - [email protected] |
86 |
- Add Build/Requires: SUNWfirefox/-devel and SUNWgksu/-devel after |
|
87 |
check-deps.pl run. |
|
11673 | 88 |
* Wed Feb 20 2007 - Darren Kenny <[email protected]> |
89 |
- Move from spec-files-other since it's GNOME related. |
|
90 |
* Mon Feb 18 2007 - Darren Kenny <[email protected]> |
|
91 |
- Import into svn.opensolaris.org/spec-files-other |
|
92 |
* Tue Jul 10 2007 - Brian Cameron <[email protected]> |
|
93 |
- Bump to 2.19.1 |
|
94 |
* Fri Feb 9 2007 - Irene Huang <[email protected]> |
|
95 |
- created |