summaryrefslogtreecommitdiff
path: root/pygtk.spec.in
diff options
context:
space:
mode:
authorJames Henstridge <jamesh@src.gnome.org>2001-10-09 04:28:21 +0000
committerJames Henstridge <jamesh@src.gnome.org>2001-10-09 04:28:21 +0000
commitb923eee7a0c0f455b3b980e214f85aff08973a85 (patch)
tree56aa11b7297a1751a31d7352460cf62056e9f457 /pygtk.spec.in
parentac74d33be5eeb664f61753c160d31eacec2c61e1 (diff)
downloadpygtk-b923eee7a0c0f455b3b980e214f85aff08973a85.tar.gz
change pygtk.spec -> pygtk.spec.in, which is what msw probably forgot toPYGTK_1_99_3
check in.
Diffstat (limited to 'pygtk.spec.in')
-rw-r--r--pygtk.spec.in80
1 files changed, 80 insertions, 0 deletions
diff --git a/pygtk.spec.in b/pygtk.spec.in
new file mode 100644
index 00000000..ec663a08
--- /dev/null
+++ b/pygtk.spec.in
@@ -0,0 +1,80 @@
+# you may want to remove some of the sub packages depending on what you
+# have installed on your system when building this package.
+
+Summary: Python bindings for the GTK+ widget set.
+Name: pygtk
+Version: @VERSION@
+Release: 1
+Copyright: LGPL
+Group: Development/Languages
+Source: ftp://ftp.gtk.org/pub/gtk/python/pygtk-%{version}.tar.gz
+BuildRoot: /var/tmp/pygtk-root
+Packager: James Henstridge <james@daa.com.au>
+Requires: gtk+ >= 1.3.9
+Requires: python >= 2.2
+
+%description
+PyGTK is an extension module for python that gives you access to the GTK+
+widget set. Just about anything you can write in C with GTK+ you can write
+in python with PyGTK (within reason), but with all the benefits of python.
+
+%package libglade
+Summary: A wrapper for the libglade library for use with PyGTK
+Group: Development/Languages
+Requires: pygtk = %{version}
+
+%description libglade
+This module contains a wrapper for the libglade library. Libglade allows
+a program to construct its user interface from an XML description, which
+allows the programmer to keep the UI and program logic separate.
+
+%package devel
+Summary: files needed to build wrappers for GTK+ addon libraries
+Group: Development/Languages
+Requires: pygtk = %{ver}
+
+%description devel
+This package contains files required to build wrappers for GTK+ addon
+libraries so that they interoperate with pygtk.
+
+%prep
+%setup
+./configure --prefix=%{_prefix}
+
+%build
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%files
+%dir %{_prefix}/lib/python?.?/site-packages/gtk
+%{_prefix}/lib/python?.?/site-packages/gtk/__init__.py*
+%{_prefix}/lib/python?.?/site-packages/gtk/keysyms.py*
+
+%{_prefix}/lib/python?.?/site-packages/gobjectmodule.so
+%{_prefix}/lib/python?.?/site-packages/pangomodule.so
+%{_prefix}/lib/python?.?/site-packages/gtk/_gtkmodule.so
+
+%doc AUTHORS NEWS README MAPPING ChangeLog description.py
+%doc examples
+
+%files libglade
+%{_prefix}/lib/python?.?/site-packages/gtk/glademodule.so
+
+%files devel
+%{_prefix}/bin/pygtk-codegen-2.0
+%dir %{_prefix}/include/pygtk
+%{_prefix}/include/pygtk/*.h
+%{_prerix}/lib/pkgconfig/pygtk-2.0.pc
+%dir %{_prefix}/share/pygtk
+%dir %{_prefix}/share/pygtk/2.0
+%dir %{_prefix}/share/pygtk/2.0/codegen
+%dir %{_prefix}/share/pygtk/2.0/defs
+%{_prefix}/share/pygtk/2.0/codegen/*
+%{_prefix}/share/pygtk/2.0/defs/pango.defs
+%{_prefix}/share/pygtk/2.0/defs/gdk.defs
+%{_prefix}/share/pygtk/2.0/defs/gtk.defs
+%{_prefix}/share/pygtk/2.0/defs/gtk-extrafuncs.defs
+%{_prefix}/share/pygtk/2.0/defs/libglade.defs