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
|
|
23 |
Requires: SUNWgnome-python-libs
|
|
24 |
Requires: SUNWgnome-file-mgr
|
|
25 |
Requires: SUNWgnome-print
|
|
26 |
Requires: SUNWgnome-a11y-libs
|
|
27 |
Requires: SUNWgnome-libs
|
|
28 |
Requires: SUNWPython-extra
|
|
29 |
Requires: SUNWjdsrm
|
|
30 |
Requires: SUNWgnome-config
|
|
31 |
Requires: SUNWPython
|
|
32 |
Requires: SUNWgnome-base-libs
|
|
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
|
|
45 |
BuildRequires: SUNWPython-devel
|
|
46 |
BuildRequires: SUNWgnome-config-devel
|
|
47 |
BuildRequires: SUNWgnome-python-libs-devel
|
|
48 |
BuildRequires: SUNWgnome-vfs-devel
|
|
49 |
BuildRequires: SUNWlibpopt-devel
|
|
50 |
BuildRequires: SUNWgnome-libs-devel
|
|
51 |
BuildRequires: SUNWgnome-base-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
|
|
61 |
BuildRequires: SUNWgnome-media-player-devel
|
|
62 |
BuildRequires: SUNWgnome-panel-devel
|
|
63 |
BuildRequires: SUNWgnome-wm-devel
|
|
64 |
BuildRequires: SUNWgnome-gtksourceview-devel
|
|
65 |
BuildRequires: SUNWlibgtop-devel
|
|
66 |
|
|
67 |
%package devel
|
|
68 |
Summary: %{summary} - development files
|
|
69 |
SUNW_BaseDir: %{_basedir}
|
|
70 |
%include default-depend.inc
|
|
71 |
Requires: %name
|
|
72 |
|
|
73 |
%prep
|
|
74 |
rm -rf %name-%version
|
|
75 |
mkdir %name-%version
|
|
76 |
%gnome_python_desktop.prep -d %name-%version
|
|
77 |
|
|
78 |
%build
|
|
79 |
export MSGFMT="/usr/bin/msgfmt"
|
|
80 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
|
|
81 |
export PYTHON="/usr/bin/python"
|
|
82 |
export CPPFLAGS="-I/usr/xpg4/include -I/usr/include/python2.4"
|
|
83 |
export CFLAGS="%optflags -I/usr/xpg4/include -I%{_includedir} -I/usr/include/python2.4"
|
|
84 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
85 |
export LDFLAGS="%_ldflags"
|
|
86 |
|
|
87 |
%gnome_python_desktop.build -d %name-%version
|
|
88 |
|
|
89 |
%install
|
|
90 |
%gnome_python_desktop.install -d %name-%version
|
|
91 |
|
|
92 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
93 |
|
|
94 |
%clean
|
|
95 |
rm -rf $RPM_BUILD_ROOT
|
|
96 |
|
|
97 |
%files
|
|
98 |
%defattr(-, root, bin)
|
|
99 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
100 |
%{_libdir}/python?.?/vendor-packages
|
|
101 |
|
|
102 |
%files devel
|
|
103 |
%defattr(-, root, bin)
|
|
104 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
105 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
106 |
%{_libdir}/pkgconfig/*
|
|
107 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
108 |
%{_datadir}/pygtk/*
|
|
109 |
%{_datadir}/gtk-doc/html/*
|
|
110 |
|
|
111 |
%changelog
|
12263
|
112 |
* Wed May 07 2008 - [email protected]
|
|
113 |
- Remove PERL5LIB setting as it is not necessary.
|
9397
|
114 |
* Tue Aug 08 2006 - [email protected]
|
|
115 |
- Add to Build/Requires after running check-deps.pl.
|
|
116 |
* Sun Jun 11 2006 - [email protected]
|
|
117 |
- change group from other to bin/sys
|
|
118 |
* Wed Mar 15 2006 - [email protected]
|
|
119 |
- Add to Build/Requires after running check-deps.pl.
|
|
120 |
* Tue Mar 14 2006 - [email protected]
|
|
121 |
- Set perms for %{_datadir} in devel package.
|
|
122 |
* Tue Mar 14 2006 - [email protected]
|
|
123 |
- Initial version because I'm too much of a wuss to merge it into
|
|
124 |
SUNWgnome-python-libs.spec
|