author | davelam |
Wed, 08 Jul 2009 08:22:22 +0000 | |
changeset 16009 | b7f80736eff7 |
parent 15799 | bd8bd5c8b2f3 |
child 16280 | 462de9e707f7 |
permissions | -rw-r--r-- |
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 |
|
15650 | 22 |
Requires: SUNWgtk2 |
15271 | 23 |
Requires: SUNWPython26 |
24 |
Requires: SUNWgnome-python26-libs |
|
15249 | 25 |
Requires: SUNWfirefox |
26 |
Requires: SUNWgksu |
|
27 |
Requires: SUNWgtkspell |
|
15650 | 28 |
BuildRequires: SUNWgtk2-devel |
15271 | 29 |
BuildRequires: SUNWgnome-python26-libs-devel |
15249 | 30 |
BuildRequires: SUNWfirefox-devel |
31 |
BuildRequires: SUNWgksu-devel |
|
32 |
BuildRequires: SUNWgtkspell-devel |
|
15271 | 33 |
BuildRequires: SUNWpython26-setuptools |
15249 | 34 |
|
35 |
%include default-depend.inc |
|
36 |
||
37 |
%package devel |
|
38 |
Summary: %{summary} - development files |
|
39 |
SUNW_BaseDir: %{_basedir} |
|
40 |
%include default-depend.inc |
|
41 |
Requires: %{name} |
|
42 |
||
43 |
%prep |
|
44 |
rm -rf %name-%version |
|
45 |
mkdir -p %name-%version |
|
46 |
%gpe.prep -d %name-%version |
|
47 |
||
48 |
%build |
|
16009
b7f80736eff7
Remove the compiler option "-xregs=no%frameptr" as it's set as default.
davelam
parents:
15799
diff
changeset
|
49 |
export CXX="$CXX -norunpath -compat=5" |
15249 | 50 |
export PYTHON=/usr/bin/python%{pythonver} |
51 |
export PKG_CONFIG_PATH=/usr/lib/python%{pythonver}/pkgconfig |
|
52 |
%gpe.build -d %name-%version |
|
53 |
||
54 |
%install |
|
55 |
rm -rf $RPM_BUILD_ROOT |
|
56 |
%gpe.install -d %name-%version |
|
57 |
||
58 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
|
59 |
||
60 |
%clean |
|
61 |
rm -rf $RPM_BUILD_ROOT |
|
62 |
||
63 |
%files |
|
64 |
%defattr (-, root, bin) |
|
65 |
%dir %attr (0755, root, bin) %{_libdir} |
|
66 |
%{_libdir}/python%{pythonver}/vendor-packages/gtk-2.0/* |
|
67 |
%dir %attr (0755, root, sys) %{_datadir} |
|
68 |
%{_datadir}/pygtk/* |
|
69 |
%doc -d gnome-python-extras-%{gpe.version} AUTHORS COPYING README |
|
70 |
%doc(bzip2) -d gnome-python-extras-%{gpe.version} COPYING.GPL COPYING.LGPL ChangeLog NEWS |
|
71 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
72 |
||
73 |
%files devel |
|
74 |
%defattr (-, root, bin) |
|
75 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig |
|
76 |
%{_libdir}/pkgconfig/* |
|
77 |
||
78 |
%changelog |
|
16009
b7f80736eff7
Remove the compiler option "-xregs=no%frameptr" as it's set as default.
davelam
parents:
15799
diff
changeset
|
79 |
* Wed Jul 08 2009 - [email protected] |
b7f80736eff7
Remove the compiler option "-xregs=no%frameptr" as it's set as default.
davelam
parents:
15799
diff
changeset
|
80 |
- Remove the compiler option -xregs=no%frameptr as it's set as default. |
15799 | 81 |
* Fri May 22 2009 - [email protected] |
82 |
- Add -norunpath and other flags for CXX builds, to fix bug#6842284 |
|
15249 | 83 |
* Thu Feb 26 2009 - [email protected] |
84 |
- created 2.6 version based on SUNWgnome-python26-extras.spec. |
|
85 |
* Tue Feb 24 2009 - [email protected] |
|
86 |
- set PYTHON and PKG_CONFIG_PATH so the correct python version and |
|
87 |
dependencies are picked up |
|
88 |
* Tue Feb 10 2009 - [email protected] |
|
89 |
- Add Requires: SUNWgtkspell to fix issue #3 for CR6753371 |
|
90 |
* Tue Nov 25 2008 - [email protected] |
|
91 |
- Remove "with-ff3" option, not needed any more |
|
92 |
* Fri Sep 12 2008 - [email protected] |
|
93 |
- Update copyright |
|
94 |
* Fri May 30 2008 - [email protected] |
|
95 |
- Add option "--with-ff3" to enable building with Firefox3 |
|
96 |
- Add patch gnome-python-extras-02-using-firefox3.diff |
|
97 |
* Wed May 21 2008 - [email protected] |
|
98 |
- Add Build/Requires: SUNWfirefox/-devel and SUNWgksu/-devel after |
|
99 |
check-deps.pl run. |
|
100 |
* Wed Feb 20 2007 - Darren Kenny <[email protected]> |
|
101 |
- Move from spec-files-other since it's GNOME related. |
|
102 |
* Mon Feb 18 2007 - Darren Kenny <[email protected]> |
|
103 |
- Import into svn.opensolaris.org/spec-files-other |
|
104 |
* Tue Jul 10 2007 - Brian Cameron <[email protected]> |
|
105 |
- Bump to 2.19.1 |
|
106 |
* Fri Feb 9 2007 - Irene Huang <[email protected]> |
|
107 |
- created |
|
15650 | 108 |