15249
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-python-extras
|
|
3 |
#
|
|
4 |
# Copyright 2009 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 |
%include Solaris.inc
|
|
11 |
|
|
12 |
%define pythonver 2.6
|
|
13 |
%use gpe = gnome-python-extras.spec
|
|
14 |
|
|
15 |
Name: SUNWgnome-python26-extras
|
|
16 |
Summary: Supplemental Python %{pythonver} bindings for GNOME
|
|
17 |
URL: %{gpe.url}
|
|
18 |
Version: %{gpe.version}
|
|
19 |
SUNW_BaseDir: %{_basedir}
|
|
20 |
SUNW_Copyright: SUNWgnome-python-extras.copyright
|
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
22 |
Requires: SUNWPython
|
|
23 |
Requires: SUNWgnome-python-libs
|
|
24 |
Requires: SUNWfirefox
|
|
25 |
Requires: SUNWgksu
|
|
26 |
Requires: SUNWgtkspell
|
|
27 |
BuildRequires: SUNWgnome-python-libs-devel
|
|
28 |
BuildRequires: SUNWfirefox-devel
|
|
29 |
BuildRequires: SUNWgksu-devel
|
|
30 |
BuildRequires: SUNWgtkspell-devel
|
|
31 |
BuildRequires: SUNWpython-setuptools
|
|
32 |
|
|
33 |
%include default-depend.inc
|
|
34 |
|
|
35 |
%package devel
|
|
36 |
Summary: %{summary} - development files
|
|
37 |
SUNW_BaseDir: %{_basedir}
|
|
38 |
%include default-depend.inc
|
|
39 |
Requires: %{name}
|
|
40 |
|
|
41 |
%prep
|
|
42 |
rm -rf %name-%version
|
|
43 |
mkdir -p %name-%version
|
|
44 |
%gpe.prep -d %name-%version
|
|
45 |
|
|
46 |
%build
|
|
47 |
export PYTHON=/usr/bin/python%{pythonver}
|
|
48 |
export PKG_CONFIG_PATH=/usr/lib/python%{pythonver}/pkgconfig
|
|
49 |
%gpe.build -d %name-%version
|
|
50 |
|
|
51 |
%install
|
|
52 |
rm -rf $RPM_BUILD_ROOT
|
|
53 |
%gpe.install -d %name-%version
|
|
54 |
|
|
55 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
56 |
|
|
57 |
%clean
|
|
58 |
rm -rf $RPM_BUILD_ROOT
|
|
59 |
|
|
60 |
%files
|
|
61 |
%defattr (-, root, bin)
|
|
62 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
63 |
%{_libdir}/python%{pythonver}/vendor-packages/gtk-2.0/*
|
|
64 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
65 |
%{_datadir}/pygtk/*
|
|
66 |
%doc -d gnome-python-extras-%{gpe.version} AUTHORS COPYING README
|
|
67 |
%doc(bzip2) -d gnome-python-extras-%{gpe.version} COPYING.GPL COPYING.LGPL ChangeLog NEWS
|
|
68 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
69 |
|
|
70 |
%files devel
|
|
71 |
%defattr (-, root, bin)
|
|
72 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
73 |
%{_libdir}/pkgconfig/*
|
|
74 |
|
|
75 |
%changelog
|
|
76 |
* Thu Feb 26 2009 - [email protected]
|
|
77 |
- created 2.6 version based on SUNWgnome-python26-extras.spec.
|
|
78 |
* Tue Feb 24 2009 - [email protected]
|
|
79 |
- set PYTHON and PKG_CONFIG_PATH so the correct python version and
|
|
80 |
dependencies are picked up
|
|
81 |
* Tue Feb 10 2009 - [email protected]
|
|
82 |
- Add Requires: SUNWgtkspell to fix issue #3 for CR6753371
|
|
83 |
* Tue Nov 25 2008 - [email protected]
|
|
84 |
- Remove "with-ff3" option, not needed any more
|
|
85 |
* Fri Sep 12 2008 - [email protected]
|
|
86 |
- Update copyright
|
|
87 |
* Fri May 30 2008 - [email protected]
|
|
88 |
- Add option "--with-ff3" to enable building with Firefox3
|
|
89 |
- Add patch gnome-python-extras-02-using-firefox3.diff
|
|
90 |
* Wed May 21 2008 - [email protected]
|
|
91 |
- Add Build/Requires: SUNWfirefox/-devel and SUNWgksu/-devel after
|
|
92 |
check-deps.pl run.
|
|
93 |
* Wed Feb 20 2007 - Darren Kenny <[email protected]>
|
|
94 |
- Move from spec-files-other since it's GNOME related.
|
|
95 |
* Mon Feb 18 2007 - Darren Kenny <[email protected]>
|
|
96 |
- Import into svn.opensolaris.org/spec-files-other
|
|
97 |
* Tue Jul 10 2007 - Brian Cameron <[email protected]>
|
|
98 |
- Bump to 2.19.1
|
|
99 |
* Fri Feb 9 2007 - Irene Huang <[email protected]>
|
|
100 |
- created
|