1 | |
---|
2 | Name: rep-gtk |
---|
3 | Version: @version@ |
---|
4 | Release: 1 |
---|
5 | Summary: GTK+ binding for librep Lisp environment |
---|
6 | Requires: librep >= 0.16, gtk+ >= 2.0 |
---|
7 | Copyright: GPL |
---|
8 | Group: Development/Languages |
---|
9 | Source: http://download.sourceforge.net/rep-gtk/rep-gtk-%{version}.tar.gz |
---|
10 | URL: http://rep-gtk.sourceforge.net/ |
---|
11 | Packager: John Harper <john@dcs.warwick.ac.uk> |
---|
12 | Buildroot: /var/tmp/%{name}-root |
---|
13 | BuildPrereq: librep-devel libglade-devel gnome-libs-devel gdk-pixbuf-devel |
---|
14 | |
---|
15 | %description |
---|
16 | This is a binding of GTK+ for the librep Lisp interpreter. It is based |
---|
17 | on Marius Vollmer's guile-gtk package (initially version 0.15, updated |
---|
18 | to 0.17), with a new glue-code generator. |
---|
19 | |
---|
20 | %package libglade |
---|
21 | Summary: librep binding for the libglade library for loading user interfaces. |
---|
22 | Group: Development/Languages |
---|
23 | Requires: %{name} = @version@, libglade |
---|
24 | |
---|
25 | %description libglade |
---|
26 | This is a binding of libglade for the librep Lisp interpreter. libglade |
---|
27 | allows applications to dynamically load XML descriptions of GTK+ widget |
---|
28 | hierarchies. These hierarchies may be created by the GLADE GUI builder. |
---|
29 | |
---|
30 | %package gnome |
---|
31 | Summary: GNOME binding for librep |
---|
32 | Group: Development/Languages |
---|
33 | Requires: %{name} = @version@, gnome-libs, libglade |
---|
34 | |
---|
35 | %description gnome |
---|
36 | This is a binding of the various GNOME libraries for the librep Lisp |
---|
37 | interpreter. It include support for the basic GNOME functions, the |
---|
38 | GNOME user interface widgets, the GNOME Canvas architecture, and the |
---|
39 | GNOME version of libglade. |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup |
---|
43 | |
---|
44 | %build |
---|
45 | |
---|
46 | LC_ALL="" |
---|
47 | LINGUAS="" |
---|
48 | LANG="" |
---|
49 | export LC_ALL LINGUAS LANG |
---|
50 | |
---|
51 | %configure |
---|
52 | make host_type=%{_target_platform} |
---|
53 | |
---|
54 | %install |
---|
55 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
56 | make install \ |
---|
57 | host_type=%{_target_platform} \ |
---|
58 | installdir=$RPM_BUILD_ROOT%{_libexecdir}/rep/%{_target_platform} |
---|
59 | |
---|
60 | %clean |
---|
61 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
62 | |
---|
63 | %files |
---|
64 | %defattr(-,root,root) |
---|
65 | %doc README README.guile-gtk BUGS ChangeLog gtk.defs gdk.defs |
---|
66 | %{_libexecdir}/rep/%{_target_platform}/gui/gtk-2/gtk.so* |
---|
67 | %{_libexecdir}/rep/%{_target_platform}/gui/gtk-2/gtk.la |
---|
68 | %{_libexecdir}/rep/%{_target_platform}/gui/gtk-2/types.so* |
---|
69 | %{_libexecdir}/rep/%{_target_platform}/gui/gtk-2/types.la |
---|
70 | |
---|
71 | %files libglade |
---|
72 | %defattr(-,root,root) |
---|
73 | %doc libglade.defs examples/test-libglade examples/simple.glade |
---|
74 | %doc examples/rep-ui examples/rep-ui.glade |
---|
75 | %{_libexecdir}/rep/%{_target_platform}/gui/gtk-2/libglade.so* |
---|
76 | %{_libexecdir}/rep/%{_target_platform}/gui/gtk-2/libglade.la |
---|
77 | |
---|
78 | %files gnome |
---|
79 | %defattr(-,root,root) |
---|
80 | %doc gnome*.defs gdk-pixbuf.defs libglade.defs |
---|
81 | %doc examples/gnome-test examples/canvas-test |
---|
82 | %{_libexecdir}/rep/%{_target_platform}/gui/gtk-2/gnome*.so* |
---|
83 | %{_libexecdir}/rep/%{_target_platform}/gui/gtk-2/gnome*.la |
---|
84 | |
---|
85 | %changelog |
---|
86 | * Tue Jun 13 2000 John Harper <john@dcs.warwick.ac.uk> |
---|
87 | - use better macros |
---|
88 | |
---|
89 | * Fri Sep 17 1999 John Harper <john@dcs.warwick.ac.uk> |
---|
90 | - specify installdir when installing |
---|
91 | |
---|
92 | * Tue Sep 14 1999 Aron Griffis <agriffis@bigfoot.com> |
---|
93 | - 0.4 spec file update: added buildroot |
---|