SUNWgnome-python26-extras.spec
author yippi
Fri, 27 Feb 2009 04:30:10 +0000
changeset 15249 1afc9f2f72e2
child 15271 3b72c88f283e
permissions -rw-r--r--
2009-02-27 Brian Cameron <[email protected]> * SUNWgnome-python-extras.spec, SUNWgnome-python26-extras.spec, base-specs/gnome-python-extras.spec: Add 2.6 bindings for gnome-python-extras.
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
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    22
Requires:                SUNWPython
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    23
Requires:                SUNWgnome-python-libs
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    24
Requires:                SUNWfirefox
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    25
Requires:                SUNWgksu
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    26
Requires:                SUNWgtkspell
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    27
BuildRequires:           SUNWgnome-python-libs-devel
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    28
BuildRequires:           SUNWfirefox-devel
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    29
BuildRequires:           SUNWgksu-devel
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    30
BuildRequires:           SUNWgtkspell-devel
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    31
BuildRequires:           SUNWpython-setuptools
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    32
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    33
%include default-depend.inc
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
%package devel
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    36
Summary:                 %{summary} - development files
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    37
SUNW_BaseDir:            %{_basedir}
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    38
%include default-depend.inc
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    39
Requires:                %{name}
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    40
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    41
%prep
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    42
rm -rf %name-%version
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    43
mkdir -p %name-%version
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    44
%gpe.prep -d %name-%version
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    45
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    46
%build
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    47
export PYTHON=/usr/bin/python%{pythonver}
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    48
export PKG_CONFIG_PATH=/usr/lib/python%{pythonver}/pkgconfig
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    49
%gpe.build -d %name-%version
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    50
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    51
%install
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    52
rm -rf $RPM_BUILD_ROOT
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    53
%gpe.install -d %name-%version
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    54
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    55
%{?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
    56
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    57
%clean
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    58
rm -rf $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
%files
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    61
%defattr (-, root, bin)
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    62
%dir %attr (0755, root, bin) %{_libdir}
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    63
%{_libdir}/python%{pythonver}/vendor-packages/gtk-2.0/*
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    64
%dir %attr (0755, root, sys) %{_datadir}
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    65
%{_datadir}/pygtk/*
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    66
%doc -d gnome-python-extras-%{gpe.version} AUTHORS COPYING README
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    67
%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
    68
%dir %attr (0755, root, other) %{_datadir}/doc
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    69
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    70
%files devel
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    71
%defattr (-, root, bin)
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    72
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    73
%{_libdir}/pkgconfig/*
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    74
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    75
%changelog
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    76
* Thu Feb 26 2009 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    77
- created 2.6 version based on SUNWgnome-python26-extras.spec.
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    78
* Tue Feb 24 2009 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    79
- set PYTHON and PKG_CONFIG_PATH so the correct python version and
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    80
  dependencies are picked up
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    81
* Tue Feb 10 2009 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    82
- Add Requires: SUNWgtkspell to fix issue #3 for CR6753371
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    83
* Tue Nov 25 2008 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    84
- Remove "with-ff3" option, not needed any more
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    85
* Fri Sep 12 2008 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    86
- Update copyright
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    87
* Fri May 30 2008 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    88
- Add option "--with-ff3" to enable building with Firefox3
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    89
- Add patch gnome-python-extras-02-using-firefox3.diff
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    90
* Wed May 21 2008 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    91
- Add Build/Requires: SUNWfirefox/-devel and SUNWgksu/-devel after
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    92
  check-deps.pl run.
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    93
* Wed Feb 20 2007 - Darren Kenny <[email protected]>
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    94
- Move from spec-files-other since it's GNOME related.
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    95
* Mon Feb 18 2007 - Darren Kenny <[email protected]>
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    96
- Import into svn.opensolaris.org/spec-files-other
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    97
* Tue Jul 10 2007 - Brian Cameron <[email protected]>
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    98
- Bump to 2.19.1
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    99
* Fri Feb 9 2007 - Irene Huang <[email protected]>
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   100
- created