SUNWdbus-python26.spec
author ginnchen
Mon, 12 Apr 2010 08:07:21 +0000
branchgnome-2-28
changeset 18675 d625b72c91d8
parent 16663 5c4c2f135852
permissions -rw-r--r--
2010-04-12 Ginn Chen <[email protected]> * SUNWfirefox.spec: Fix the build issue of Firefox 3.6.3.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15331
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     1
#
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     2
# spec file for package SUNWdbus-python26
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     3
#
15350
2d4b8f8d822d 2009-03-11 Brian Cameron <[email protected]>
yippi
parents: 15331
diff changeset
     4
# includes module(s): dbus-python
15331
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     5
#
15350
2d4b8f8d822d 2009-03-11 Brian Cameron <[email protected]>
yippi
parents: 15331
diff changeset
     6
# Copyright 2009 Sun Microsystems, Inc.
15331
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     8
# package are under the same license as the package itself.
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     9
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15650
diff changeset
    10
%define owner yippi
15331
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    11
# bugdb: bugzilla.freedesktop.org
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    12
#
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    13
%include Solaris.inc
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    14
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    15
%define pythonver 2.6
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    16
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    17
%include base.inc
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    18
%use dbus_python = dbus-python.spec
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    19
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    20
Name:                    SUNWdbus-python26
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    21
Summary:                 D-Bus Python %{pythonver} bindings
15350
2d4b8f8d822d 2009-03-11 Brian Cameron <[email protected]>
yippi
parents: 15331
diff changeset
    22
Version:                 %{dbus_python.version}
15331
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    23
SUNW_BaseDir:            %{_basedir}
15350
2d4b8f8d822d 2009-03-11 Brian Cameron <[email protected]>
yippi
parents: 15331
diff changeset
    24
SUNW_Copyright:          SUNWdbus-python24.copyright
15331
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    25
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    26
%include default-depend.inc
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    27
Requires:	SUNWdbus
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    28
Requires:	SUNWlxml
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    29
Requires:       SUNWlexpt
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    30
Requires:       SUNWPython-extra
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    31
Requires:       SUNWdbus-glib
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    32
BuildRequires:	SUNWdbus-devel
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    33
BuildRequires:	SUNWlxml
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    34
BuildRequires:  SUNWPython-extra
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    35
BuildRequires:  SUNWpython-setuptools
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    36
BuildRequires:  SUNWdbus-glib-devel
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    37
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    38
%package devel
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    39
Summary:                 %{summary} - development files
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    40
SUNW_BaseDir:            %{_basedir}
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    41
%include default-depend.inc
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    42
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    43
%prep
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    44
rm -rf %name-%version
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    45
mkdir %name-%version
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    46
%dbus_python.prep -d %name-%version
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    47
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    48
%build
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    49
PKG_CONFIG_DISABLE_UNINSTALLED=
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    50
unset PKG_CONFIG_DISABLE_UNINSTALLED
15350
2d4b8f8d822d 2009-03-11 Brian Cameron <[email protected]>
yippi
parents: 15331
diff changeset
    51
export PYTHON=/usr/bin/python%{pythonver}
15331
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    52
%dbus_python.build -d %name-%version
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    53
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    54
%install
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    55
rm -rf $RPM_BUILD_ROOT
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    56
%dbus_python.install -d %name-%version
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    57
f56dbb788d44 2009-03-09 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}
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    59
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    60
%clean
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    61
rm -rf $RPM_BUILD_ROOT
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    62
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    63
%files
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    64
%defattr (-, root, bin)
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    65
%dir %attr (0755, root, bin) %{_libdir}
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    66
%{_libdir}/python%{pythonver}/vendor-packages
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    67
%dir %attr (0755, root, sys) %{_datadir}
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    68
%doc -d dbus-python-%{dbus_python.version} AUTHORS
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    69
%doc -d dbus-python-%{dbus_python.version} README
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    70
%doc(bzip2) -d dbus-python-%{dbus_python.version} COPYING
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    71
%doc(bzip2) -d dbus-python-%{dbus_python.version} ChangeLog
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    72
%doc(bzip2) -d dbus-python-%{dbus_python.version} NEWS
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    73
%dir %attr (0755, root, other) %{_datadir}/doc
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    74
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    75
%files devel
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    76
%defattr (-, root, bin)
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    77
%dir %attr (0755, root, bin) %{_libdir}
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    78
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    79
%{_libdir}/pkgconfig/*
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    80
%dir %attr (0755, root, bin) %{_includedir}
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    81
%{_includedir}/*
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    82
%dir %attr (0755, root, sys) %{_datadir}
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    83
%dir %attr (0755, root, other) %{_datadir}/doc
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    84
%dir %attr (0755, root, other) %{_datadir}/doc/dbus-python
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    85
%{_datadir}/doc/dbus-python/*
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    86
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    87
%changelog
15350
2d4b8f8d822d 2009-03-11 Brian Cameron <[email protected]>
yippi
parents: 15331
diff changeset
    88
* Tue Mar 10 2009 - [email protected]
2d4b8f8d822d 2009-03-11 Brian Cameron <[email protected]>
yippi
parents: 15331
diff changeset
    89
- Cleanup based on code review.
15331
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    90
* Thu Mar 05 2009 - [email protected]
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    91
- Split from SUNWdbus-bindings.spec.  Remove 64 bit support as it is not
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    92
  needed for the python bindings.
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    93
* Wed Mar 04 2009 - [email protected]
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    94
- Add /usr/share/man/man1 in %files
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    95
* Sun Sep 14 2008 - [email protected]
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    96
- Add new copyright files.
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    97
* Thu Mar 27 2008 - [email protected]
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    98
- Add SUNW_Copyright
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    99
* Tue Nov 20 2007 - [email protected]
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   100
- Add libdbus-glib-1.3 manpage.
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   101
* Fri Sep 28 2007 - [email protected]
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   102
- convert to new style multi-ISA build
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   103
- delete SUNWxwrtl dep
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   104
* Sat Feb 25 2007 - [email protected]
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   105
- updated to include 64-bit build RFE: #6480511
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   106
* Fri Jan 26 2007 - [email protected]
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   107
- Set PKG_CONFIG vars in %build because dbus-python use autofoo/configure/make
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   108
  process rather than setup.py.
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   109
* Thu Jan 25 2007 - [email protected]
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   110
- Add %{_datadir}/doc to devel pkg, because of new dbus-python tarball.
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   111
* Thu Dec 21 2006 - [email protected]
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   112
- Remove references to SUNWdbus-bindings-root since we do not
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   113
  build this package.
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   114
* Thu Sep 21 2006 - [email protected]
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   115
- Created.
f56dbb788d44 2009-03-09 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
   116