base-specs/pyorbit.spec
author chrisk
Mon, 31 Aug 2009 13:11:44 +0000
changeset 16429 fe72291e50fd
parent 14644 744f9f20aadd
child 16434 f21f22550fe9
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * SUNWgnome-ps-viewer.spec, SUNWgnome-terminal-java.spec, base-specs/poppler-data.spec, base-specs/gnome-panel.spec, base-specs/gnome-utils.spec, base-specs/pygtksourceview.spec, base-specs/vino.spec, base-specs/dmz-cursor-aa.spec, base-specs/libgweather.spec, base-specs/dmz-cursor.spec, base-specs/gnome-python-extras.spec, base-specs/gedit.spec, base-specs/tango-icon-theme.spec, base-specs/gnome-mime-data.spec, base-specs/gnome-backgrounds.spec, base-specs/gnome-themes.spec, base-specs/gnome-user-docs.spec, base-specs/shared-mime-info.spec, base-specs/libnotify.spec, base-specs/libgnomeprintui.spec, base-specs/printman.spec, base-specs/evince.spec, base-specs/pyorbit.spec, base-specs/docbook-style-dsssl.spec, base-specs/sun-backgrounds.spec, base-specs/gnome-system-monitor.spec, base-specs/gst-python.spec, base-specs/gnome-system-tools.spec, base-specs/sgml-common.spec, base-specs/gnome-pilot.spec, base-specs/gqview.spec, base-specs/gnutls.spec, base-specs/enchant.spec, base-specs/pygtk2.spec, base-specs/gnome-menus.spec, base-specs/nimbus.spec, base-specs/vte.spec, base-specs/gnome-power-manager.spec, base-specs/glade.spec, base-specs/gnome-terminal.spec, base-specs/realvnc-java-client.spec, base-specs/gnome-python.spec, base-specs/pygobject.spec, base-specs/gnome-icon-theme.spec, base-specs/icon-naming-utils.spec, base-specs/gnome-vfs.spec, base-specs/blueprint.spec, base-specs/gtk2-engines.spec, base-specs/libgnomeprint.spec, base-specs/docbook-dtds.spec, base-specs/poppler.spec, base-specs/docbook-style-xsl.spec, base-specs/gnome-session.spec, base-specs/system-tools-backends.spec, base-specs/sun-gdm-themes.spec, base-specs/pycairo.spec, base-specs/metacity.spec, base-specs/hicolor-icon-theme.spec: Add OSR info.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14644
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 13830
diff changeset
     1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package pyorbit
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
14644
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 13830
diff changeset
     4
# Copyright 2008 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# 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
     6
# 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
     7
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# Owner: laca
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
16429
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 14644
diff changeset
    10
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 14644
diff changeset
    11
%define OSR gnome.org:0
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 14644
diff changeset
    12
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Name:           pyorbit
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
License:        LGPL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Group:          System/Library
13823
f9612d68534d 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 9949
diff changeset
    16
Version:        2.24.0
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Release:        1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Distribution:   Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Vendor:	        Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Summary:        Python bindings for ORBit2
13830
29d9f41f1d75 2008-09-29 Brian Cameron <[email protected]>
yippi
parents: 13823
diff changeset
    21
Source:         http://ftp.gnome.org/pub/GNOME/sources/pyorbit/2.24/pyorbit-%{version}.tar.bz2
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
URL:            http://www.gnome.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Docdir:         %{_defaultdocdir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Autoreqprov:    on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
%define ORBit2_version 2.10.1
14644
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 13830
diff changeset
    28
%{?!python_version:%define python_version 2.4}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Requires:       ORBit2 >= %{ORBit2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Requires:       python >= %{python_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
BuildRequires:  ORBit2-devel >= %{ORBit2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
PyORBit is a Python language binding for the ORBit2 CORBA implementation.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
It aims to take advantage of new features found in ORBit2 to make language 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
bindings more efficient.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
Summary:      Files needed to build applications using the Python bindings for ORBit2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
Group:        Development/Languages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Requires:     %{name} = %{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
This package contains files required to build Python applications that need
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
to interoperate with pyorbit.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%setup -q -n pyorbit-%{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
CFLAGS="$RPM_OPT_FLAGS"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
./configure     --prefix=%{_prefix}             \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
                --sysconfdir=%{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
make \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
    pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
    pythondir=%{_libdir}/python%{python_version}/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
make install DESTDIR=$RPM_BUILD_ROOT \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
    pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
    pythondir=%{_libdir}/python%{python_version}/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%defattr(-,root,root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%{_libdir}/python?.?/vendor-packages/CORBA.py*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%{_libdir}/python?.?/vendor-packages/PortableServer.py*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%{_libdir}/python?.?/vendor-packages/ORBit.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%doc AUTHORS NEWS README ChangeLog
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
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%dir %{_includedir}/pyorbit-2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%{_includedir}/pyorbit-2/pyorbit.h
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%changelog
14644
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 13830
diff changeset
    88
* Mon Nov 24 2008 - [email protected]
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 13830
diff changeset
    89
- use %{pythonver} macro to select which version of Python to build with
13823
f9612d68534d 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 9949
diff changeset
    90
* Mon Sep 29 2008 - [email protected]
f9612d68534d 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 9949
diff changeset
    91
- Bump to 2.24.0.
9949
061a73621f11 2007-05-28 Damien Carbery <[email protected]>
dcarbery
parents: 9439
diff changeset
    92
* Mon May 28 2007 - [email protected]
061a73621f11 2007-05-28 Damien Carbery <[email protected]>
dcarbery
parents: 9439
diff changeset
    93
- Bump to 2.14.3.
9439
eae36f164729 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    94
* Mon Mar 05 2007 - [email protected]
eae36f164729 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    95
- Bump to 2.14.2.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
* Fri Jul 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
- Bump to 2.14.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
* Mon Mar 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
- Bump to 2.14.0.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
* Tue Dec 20 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
- Bump to 2.13.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
* Thu Oct 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
- move from site-packages to vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
* Fri Aug 12 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
- Initial Sun release