File python-orbit.spec of Package python-orbit

#
# spec file for package python-orbit
#
# Copyright (c) 2013 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/
#


Name:           python-orbit
%define _name pyorbit
BuildRequires:  gtk2-devel
BuildRequires:  indent
BuildRequires:  libidl-devel
BuildRequires:  libtool
BuildRequires:  orbit2-devel
BuildRequires:  python-devel
BuildRequires:  update-desktop-files
Url:            http://ftp.gnome.org/pub/GNOME/sources/pyorbit/
Summary:        Python bindings for ORBit
License:        LGPL-2.1+
Group:          Development/Libraries/Python
Version:        2.24.0
Release:        0
Source:         %{_name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{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
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
openSUSE Build Service is sponsored by