File rep-gtk.spec of Package rep-gtk

# spec file for package rep-gtk (version 0.90.2)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 Jan Nieuwenhuizen <jnieuwenhuizen@novell.com>
# Copyright (c) 2000 John Harper <john@dcs.warwick.ac.uk>
#
# 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:           rep-gtk
Version:        0.90.2
Release:        1
Summary:        GTK+ binding for librep Lisp environment
License:        GPL v2 or later
Url:            http://sawfish.wikia.com/wiki/Rep-GTK
Group:          Development/Libraries/GNOME
Source:         http://download.sourceforge.net/rep-gtk/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM rep-gtk-fix-binding.patch bgo607076 vuntz@opensuse.org -- Fix errors causing build failures
Patch0:         rep-gtk-fix-binding.patch
BuildRequires:  gtk2-devel
BuildRequires:  librep-devel
Requires:       librep
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This is a binding of GTK+ for the rep Lisp system. It is based on
Marius Vollmer's guile-gtk binding (initially version 0.15, updated to
0.17), with a new glue-code generator.

%package devel
Summary:        GTK+ binding for librep Lisp environment - Development Files
Group:          Development/Libraries/GNOME
Requires:       %{name} = %{version}
Requires:       gtk2-devel
Requires:       librep-devel

%description devel
This is a binding of GTK+ for the rep Lisp system. It is based on
Marius Vollmer's guile-gtk binding (initially version 0.15, updated to
0.17), with a new glue-code generator.

%prep
%setup -q
%patch0 -p1

%build
%configure
%__make %{?jobs:-j%jobs}

%install
%makeinstall

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS BUGS ChangeLog COPYING examples/ HACKING MAINTAINERS NEWS README README.gtk-defs README.guile-gtk TODO *.defs
%{_libdir}/rep/%{_host}/gui

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

%changelog
openSUSE Build Service is sponsored by