SUNWgnome-python26-extras.spec
author davelam
Mon, 15 Mar 2010 02:59:51 +0000
branchgnome-2-28
changeset 18663 a66b3e99c95a
parent 16755 38a70ed147fa
child 17072 f1d5196b88bc
permissions -rw-r--r--
Nevada b136
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
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16280
diff changeset
     8
%define owner dkenny
15249
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
16755
38a70ed147fa 2009-10-14 Darren Kenny <[email protected]>
dkenny
parents: 16434
diff changeset
    13
15249
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    14
%use gpe = gnome-python-extras.spec
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    15
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    16
Name:                    SUNWgnome-python26-extras
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    17
Summary:                 Supplemental Python %{pythonver} bindings for GNOME
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    18
URL:                     %{gpe.url}
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    19
Version:                 %{gpe.version}
16280
462de9e707f7 2009-08-14 Darren Kenny <[email protected]>
dkenny
parents: 16009
diff changeset
    20
Vendor:                  %{gpe.vendor}
462de9e707f7 2009-08-14 Darren Kenny <[email protected]>
dkenny
parents: 16009
diff changeset
    21
License:                 %{gpe.license}
15249
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    22
SUNW_BaseDir:            %{_basedir}
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    23
SUNW_Copyright:          SUNWgnome-python-extras.copyright
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    24
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15271
diff changeset
    25
Requires:                SUNWgtk2
15271
3b72c88f283e 2009-03-02 Brian Cameron <[email protected]>
yippi
parents: 15249
diff changeset
    26
Requires:                SUNWPython26
3b72c88f283e 2009-03-02 Brian Cameron <[email protected]>
yippi
parents: 15249
diff changeset
    27
Requires:                SUNWgnome-python26-libs
15249
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    28
Requires:                SUNWfirefox
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    29
Requires:                SUNWgksu
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    30
Requires:                SUNWgtkspell
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15271
diff changeset
    31
BuildRequires:           SUNWgtk2-devel
15271
3b72c88f283e 2009-03-02 Brian Cameron <[email protected]>
yippi
parents: 15249
diff changeset
    32
BuildRequires:           SUNWgnome-python26-libs-devel
15249
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    33
BuildRequires:           SUNWfirefox-devel
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    34
BuildRequires:           SUNWgksu-devel
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    35
BuildRequires:           SUNWgtkspell-devel
15271
3b72c88f283e 2009-03-02 Brian Cameron <[email protected]>
yippi
parents: 15249
diff changeset
    36
BuildRequires:           SUNWpython26-setuptools
15249
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    37
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
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    40
%package devel
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    41
Summary:                 %{summary} - development files
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    42
SUNW_BaseDir:            %{_basedir}
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    43
%include default-depend.inc
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    44
Requires:                %{name}
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
%prep
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    47
rm -rf %name-%version
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    48
mkdir -p %name-%version
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    49
%gpe.prep -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
%build
16009
b7f80736eff7 Remove the compiler option "-xregs=no%frameptr" as it's set as default.
davelam
parents: 15799
diff changeset
    52
export CXX="$CXX -norunpath -compat=5"
15249
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    53
export PYTHON=/usr/bin/python%{pythonver}
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    54
export PKG_CONFIG_PATH=/usr/lib/python%{pythonver}/pkgconfig
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    55
%gpe.build -d %name-%version
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
%install
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
%gpe.install -d %name-%version
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    60
16755
38a70ed147fa 2009-10-14 Darren Kenny <[email protected]>
dkenny
parents: 16434
diff changeset
    61
echo deleting pyo files
38a70ed147fa 2009-10-14 Darren Kenny <[email protected]>
dkenny
parents: 16434
diff changeset
    62
find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';'
38a70ed147fa 2009-10-14 Darren Kenny <[email protected]>
dkenny
parents: 16434
diff changeset
    63
15249
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    64
%{?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
    65
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    66
%clean
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    67
rm -rf $RPM_BUILD_ROOT
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    68
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    69
%files
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    70
%defattr (-, root, bin)
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    71
%dir %attr (0755, root, bin) %{_libdir}
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    72
%{_libdir}/python%{pythonver}/vendor-packages/gtk-2.0/*
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    73
%dir %attr (0755, root, sys) %{_datadir}
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    74
%{_datadir}/pygtk/*
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    75
%doc -d gnome-python-extras-%{gpe.version} AUTHORS COPYING README
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    76
%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
    77
%dir %attr (0755, root, other) %{_datadir}/doc
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    78
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    79
%files devel
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    80
%defattr (-, root, bin)
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    81
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    82
%{_libdir}/pkgconfig/*
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    83
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    84
%changelog
16755
38a70ed147fa 2009-10-14 Darren Kenny <[email protected]>
dkenny
parents: 16434
diff changeset
    85
* Wed Oct 14 2009 - [email protected]
38a70ed147fa 2009-10-14 Darren Kenny <[email protected]>
dkenny
parents: 16434
diff changeset
    86
- Remove .pyo files from package.
16009
b7f80736eff7 Remove the compiler option "-xregs=no%frameptr" as it's set as default.
davelam
parents: 15799
diff changeset
    87
* 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
    88
- 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
    89
* Fri May 22 2009 - [email protected]
bd8bd5c8b2f3 2009-05-22 Darren Kenny <[email protected]>
dkenny
parents: 15650
diff changeset
    90
- 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
    91
* Thu Feb 26 2009 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    92
- created 2.6 version based on SUNWgnome-python26-extras.spec.
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    93
* Tue Feb 24 2009 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    94
- set PYTHON and PKG_CONFIG_PATH so the correct python version and
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    95
  dependencies are picked up
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    96
* Tue Feb 10 2009 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    97
- Add Requires: SUNWgtkspell to fix issue #3 for CR6753371
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    98
* Tue Nov 25 2008 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    99
- Remove "with-ff3" option, not needed any more
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   100
* Fri Sep 12 2008 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   101
- Update copyright
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   102
* Fri May 30 2008 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   103
- Add option "--with-ff3" to enable building with Firefox3
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   104
- Add patch gnome-python-extras-02-using-firefox3.diff
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   105
* Wed May 21 2008 - [email protected]
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   106
- Add Build/Requires: SUNWfirefox/-devel and SUNWgksu/-devel after
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   107
  check-deps.pl run.
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   108
* Wed Feb 20 2007 - Darren Kenny <[email protected]>
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   109
- Move from spec-files-other since it's GNOME related.
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   110
* Mon Feb 18 2007 - Darren Kenny <[email protected]>
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   111
- Import into svn.opensolaris.org/spec-files-other
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   112
* Tue Jul 10 2007 - Brian Cameron <[email protected]>
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   113
- Bump to 2.19.1
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   114
* Fri Feb 9 2007 - Irene Huang <[email protected]>
1afc9f2f72e2 2009-02-27 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   115
- created
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15271
diff changeset
   116