File python-gtkglext.spec of Package python-gtkglext

#
# spec file for package python-gtkglext (Version 1.1.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           python-gtkglext
BuildRequires:  fdupes gtkglext-devel python-devel python-gtk-devel
License:        GPL v2 or later; LGPL v2.1 or later
Group:          Development/Libraries/Python
AutoReqProv:    on
Version:        1.1.0
Release:        47
Summary:        Python bindings for gtkglext
Url:            http://gtkglext.sourceforge.net
Source:         pygtkglext-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       gtkglext python-gtk 
%{py_requires}

%description
PyGtkGLExt is a Python language binding for GtkGLExt.



Authors:
--------
    Naofumi Yasufuku

%package devel
License:        GPL v2 or later; LGPL v2.1 or later
Summary:        Python bindings for gtkglext
Group:          Development/Libraries/Python
Requires:       %{name} = %{version} python-gtk-devel

%description devel
PyGtkGLExt is a Python language binding for GtkGLExt.



Authors:
--------
    Naofumi Yasufuku

%prep
%setup -n pygtkglext-%{version}

%build
# autoreconf to get python autoconf macros that respect DESTDIR
# added against version 1.1.0
autoreconf -f -i
%configure
%__make

%install
%makeinstall
# this can be executed to run some basic tests 
chmod +x $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/gtk/gtkgl/apputils.py
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README NEWS COPYING
%{py_sitedir}/gtk-2.0/gtk/gdkgl
%{py_sitedir}/gtk-2.0/gtk/gtkgl
%{_datadir}/pygtk

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

%changelog
* Thu Apr 24 2008 maw@suse.de
- Use less aggressive globs in the file list (bnc#237144).
* Wed Nov 14 2007 jpr@suse.de
- Initial package checkin (#340882)
openSUSE Build Service is sponsored by