File python-orbit.spec of Package python-orbit

#
# spec file for package python-orbit (Version 2.24.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           python-orbit
%define _name pyorbit
BuildRequires:  gtk2-devel indent libidl-devel orbit2-devel python-devel update-desktop-files
Url:            http://ftp.gnome.org/pub/GNOME/sources/pyorbit/
Summary:        Python bindings for ORBit
Version:        2.24.0
Release:        1
License:        LGPL v2.1 or later
Group:          Development/Libraries/Python
Source:         %{_name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
AutoReqProv:    on
%{py_requires}

%description
Python bindings for ORBit. ORBit is the CORBA Object Request Broker
used e.g. by GNOME.



Authors:
--------
    James Henstridge <james@daa.com.au>

%package devel
License:        LGPL v2.1 or later
Summary:        Headers for python-orbit
Group:          Development/Libraries/Python
Requires:       %{name} = %{version}
Requires:       orbit2-devel

%description devel
Headers for python-orbit



Authors:
--------
    James Henstridge <james@daa.com.au>

%prep
%setup -q -n %{_name}-%{version}

%build
ACLOCAL="aclocal -I m4" autoreconf -f -i
%configure
make %{?jobs:-j%jobs}

%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README TODO ChangeLog
%{py_sitedir}/*

%files devel
%defattr(-,root,root)
%{_includedir}/pyorbit-2
%{_libdir}/pkgconfig/pyorbit-2.pc

%changelog