author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16008 | 18c13af11310 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package SUNWgnome-python-desktop |
|
3 |
# |
|
4 |
# includes module(s): gnome-python-desktop |
|
5 |
# |
|
6 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
7 |
# This file and all modifications and additions to the pristine |
|
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
16434 | 10 |
%define owner laca |
9397 | 11 |
# |
12 |
%include Solaris.inc |
|
16008 | 13 |
|
14 |
%define pythonver 2.4 |
|
9397 | 15 |
%use gnome_python_desktop = gnome-python-desktop.spec |
16 |
||
17 |
Name: SUNWgnome-python-desktop |
|
16008 | 18 |
Summary: Python %{pythonver} support desktop libraries for GNOME |
9397 | 19 |
Version: %{default_pkg_version} |
20 |
SUNW_BaseDir: %{_basedir} |
|
12101 | 21 |
SUNW_Copyright: %{name}.copyright |
9397 | 22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
23 |
||
24 |
%include default-depend.inc |
|
15650 | 25 |
Requires: SUNWlibgnomecanvas |
9397 | 26 |
Requires: SUNWgnome-python-libs |
27 |
Requires: SUNWgnome-file-mgr |
|
28 |
Requires: SUNWgnome-print |
|
29 |
Requires: SUNWgnome-a11y-libs |
|
30 |
Requires: SUNWgnome-libs |
|
31 |
Requires: SUNWPython-extra |
|
32 |
Requires: SUNWjdsrm |
|
33 |
Requires: SUNWgnome-config |
|
34 |
Requires: SUNWPython |
|
35 |
Requires: SUNWgnome-vfs |
|
36 |
Requires: SUNWlibms |
|
37 |
Requires: SUNWlibpopt |
|
38 |
Requires: SUNWmlib |
|
39 |
Requires: SUNWgnome-gtksourceview |
|
40 |
Requires: SUNWgnome-cd-burner |
|
41 |
Requires: SUNWgnome-component |
|
42 |
Requires: SUNWgnome-media-apps |
|
43 |
Requires: SUNWgnome-media-player |
|
44 |
Requires: SUNWgnome-panel |
|
45 |
Requires: SUNWgnome-wm |
|
46 |
Requires: SUNWlibgtop |
|
15650 | 47 |
BuildRequires: SUNWlibgnomecanvas-devel |
9397 | 48 |
BuildRequires: SUNWPython-devel |
49 |
BuildRequires: SUNWgnome-config-devel |
|
50 |
BuildRequires: SUNWgnome-python-libs-devel |
|
51 |
BuildRequires: SUNWgnome-vfs-devel |
|
52 |
BuildRequires: SUNWlibpopt-devel |
|
53 |
BuildRequires: SUNWgnome-libs-devel |
|
54 |
BuildRequires: SUNWgnome-file-mgr-devel |
|
55 |
BuildRequires: SUNWgnome-print-devel |
|
56 |
BuildRequires: SUNWgnome-a11y-libs-devel |
|
57 |
BuildRequires: SUNWPython-extra |
|
58 |
BuildRequires: SUNWgnome-component-devel |
|
59 |
BuildRequires: SUNWgnome-config-devel |
|
60 |
BuildRequires: SUNWgnome-cd-burner-devel |
|
61 |
BuildRequires: SUNWgnome-component-devel |
|
62 |
BuildRequires: SUNWgnome-media-apps-devel |
|
15572
9595b0e58586
Change to depend on SUNWgnome-media-player instread of obsoleted devel pkg.
davelam
parents:
14933
diff
changeset
|
63 |
BuildRequires: SUNWgnome-media-player |
9397 | 64 |
BuildRequires: SUNWgnome-panel-devel |
65 |
BuildRequires: SUNWgnome-wm-devel |
|
66 |
BuildRequires: SUNWgnome-gtksourceview-devel |
|
67 |
BuildRequires: SUNWlibgtop-devel |
|
14933 | 68 |
BuildRequires: SUNWpython-setuptools |
9397 | 69 |
|
70 |
%package devel |
|
71 |
Summary: %{summary} - development files |
|
72 |
SUNW_BaseDir: %{_basedir} |
|
73 |
%include default-depend.inc |
|
74 |
Requires: %name |
|
75 |
||
76 |
%prep |
|
77 |
rm -rf %name-%version |
|
78 |
mkdir %name-%version |
|
79 |
%gnome_python_desktop.prep -d %name-%version |
|
80 |
||
81 |
%build |
|
82 |
export MSGFMT="/usr/bin/msgfmt" |
|
83 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
16008 | 84 |
export PYTHON="/usr/bin/python%{pythonver}" |
85 |
export PKG_CONFIG_PATH=/usr/lib/python%{pythonver}/pkgconfig |
|
86 |
export CPPFLAGS="-I/usr/xpg4/include -I/usr/include/python%{pythonver}" |
|
87 |
export CFLAGS="%optflags -I/usr/xpg4/include -I%{_includedir} -I/usr/include/python%{pythonver}" |
|
9397 | 88 |
export RPM_OPT_FLAGS="$CFLAGS" |
89 |
export LDFLAGS="%_ldflags" |
|
90 |
||
91 |
%gnome_python_desktop.build -d %name-%version |
|
92 |
||
93 |
%install |
|
94 |
%gnome_python_desktop.install -d %name-%version |
|
95 |
||
16008 | 96 |
rm -r $RPM_BUILD_ROOT%{_datadir}/gtk-doc |
97 |
rm -r $RPM_BUILD_ROOT%{_datadir}/pygtk |
|
98 |
||
99 |
# move to subdir to avoid conflict with python 2.6 |
|
100 |
mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig \ |
|
101 |
$RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/ |
|
102 |
||
9397 | 103 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
104 |
||
105 |
%clean |
|
106 |
rm -rf $RPM_BUILD_ROOT |
|
107 |
||
108 |
%files |
|
109 |
%defattr(-, root, bin) |
|
110 |
%dir %attr (0755, root, bin) %{_libdir} |
|
16008 | 111 |
%{_libdir}/python%{pythonver}/vendor-packages |
9397 | 112 |
|
113 |
%files devel |
|
114 |
%defattr(-, root, bin) |
|
115 |
%dir %attr (0755, root, bin) %{_libdir} |
|
16008 | 116 |
%dir %attr (0755, root, other) %{_libdir}/python%{pythonver}/pkgconfig |
117 |
%{_libdir}/python%{pythonver}/pkgconfig/* |
|
9397 | 118 |
%dir %attr (0755, root, sys) %{_datadir} |
119 |
||
120 |
%changelog |
|
16008 | 121 |
* Tue Jul 07 2009 - [email protected] |
122 |
- Split out into Python 2.4 and 2.6 spec-files |
|
15572
9595b0e58586
Change to depend on SUNWgnome-media-player instread of obsoleted devel pkg.
davelam
parents:
14933
diff
changeset
|
123 |
* Tue Apr 07 2009 - [email protected] |
9595b0e58586
Change to depend on SUNWgnome-media-player instread of obsoleted devel pkg.
davelam
parents:
14933
diff
changeset
|
124 |
- Change to depend on SUNWgnome-media-player instread of obsoleted devel pkg. |
12894 | 125 |
* Wed Jul 23 2008 - [email protected] |
126 |
- Wrap gtk-doc in %files with %if %option_with_gtk_doc. |
|
12263 | 127 |
* Wed May 07 2008 - [email protected] |
128 |
- Remove PERL5LIB setting as it is not necessary. |
|
9397 | 129 |
* Tue Aug 08 2006 - [email protected] |
130 |
- Add to Build/Requires after running check-deps.pl. |
|
131 |
* Sun Jun 11 2006 - [email protected] |
|
132 |
- change group from other to bin/sys |
|
133 |
* Wed Mar 15 2006 - [email protected] |
|
134 |
- Add to Build/Requires after running check-deps.pl. |
|
135 |
* Tue Mar 14 2006 - [email protected] |
|
136 |
- Set perms for %{_datadir} in devel package. |
|
137 |
* Tue Mar 14 2006 - [email protected] |
|
138 |
- Initial version because I'm too much of a wuss to merge it into |
|
139 |
SUNWgnome-python-libs.spec |
|
15650 | 140 |