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