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