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