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