rpms/pyclutter/F-8 pyclutter.spec,1.3,1.4

Daniel P. Berrange (berrange) fedora-extras-commits at redhat.com
Sat Dec 15 17:46:12 UTC 2007


Author: berrange

Update of /cvs/extras/rpms/pyclutter/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24058

Modified Files:
	pyclutter.spec 
Log Message:
Added sub-packages for gtk and gst bindings (rhbz #365981)


Index: pyclutter.spec
===================================================================
RCS file: /cvs/extras/rpms/pyclutter/F-8/pyclutter.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- pyclutter.spec	3 Oct 2007 13:15:47 -0000	1.3
+++ pyclutter.spec	15 Dec 2007 17:45:38 -0000	1.4
@@ -3,7 +3,7 @@
 
 Name:           pyclutter
 Version:        0.4.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Python modules that allow you to use the Clutter toolkit
 
 Group:          Development/Languages
@@ -13,14 +13,42 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 #BuildArch:      
-BuildRequires:  pygtk2-devel gtk2-devel clutter-devel
+BuildRequires:  pygtk2-devel gtk2-devel clutter-devel clutter-gst-devel clutter-gtk-devel gstreamer-python
+
+%description
+This archive contains the Python modules that allow you to use the
+Clutter toolkit in Python programs.
+
+%package gtk
+Summary:        Python modules that allow you to use the Clutter-GTK toolkit
+Group:          Development/Languages
+Requires:       %{name} = %{version}-%{release}
+Requires:       clutter-gtk
 Requires:       pygtk2
 
+%package gst
+Summary:        Python modules that allow you to use the Clutter-GST toolkit
+Group:          Development/Languages
+Requires:       %{name} = %{version}-%{release}
+Requires:       clutter-gst
+Requires:       pygobject2
+Requires:       gstreamer-python
 
-%description
+
+%description gtk
 This archive contains the Python modules that allow you to use the
 Clutter toolkit in Python programs.
 
+This package provides the binding for clutter-gtk
+
+%description gst
+This archive contains the Python modules that allow you to use the
+Clutter toolkit in Python programs.
+
+This package provides the binding for clutter-gst
+
+
+
 %package devel
 Summary:        Pyclutter development environment
 Group:          Development/Libraries
@@ -52,16 +80,33 @@
 %doc AUTHORS ChangeLog COPYING NEWS README
 %dir %{python_sitearch}/clutter
 %exclude %{python_sitearch}/clutter/*.la
-%{python_sitearch}/clutter/*
-%{_datadir}/*
+%{python_sitearch}/clutter/_clutter.so
+%{python_sitearch}/clutter/__init__.py*
+%{python_sitearch}/clutter/keysyms.py*
+%dir %{_datadir}/%{name}/defs
+%{_datadir}/%{name}/defs/*.defs
+%dir %{_datadir}/%{name}/1.0
+%dir %{_datadir}/%{name}/1.0/defs
+%{_datadir}/%{name}/1.0/defs/*.defs
+
+%files gtk
+%defattr(-,root,root,-)
+%{python_sitearch}/clutter/cluttergtk.so
+
+%files gst
+%defattr(-,root,root,-)
+%{python_sitearch}/clutter/cluttergst.so
 
 %files devel
 %defattr(-,root,root,-)
-%doc
-%{_includedir}/*
+%dir %{_includedir}/%{name}-1.0/
+%dir %{_includedir}/%{name}-1.0/%{name}/
+%{_includedir}/%{name}-1.0/%{name}/%{name}.h
 
 
 %changelog
+* Sat Dec 15 2007 Daniel P. Berrange <berrange at redhat.com> - 0.4.2-2.fc8
+- Added sub-packages for gtk and gst bindings (rhbz #365981)
 
 * Wed Oct  3 2007 Allisson Azevedo <allisson at gmail.com> 0.4.2-1
 - Update to 0.4.2




More information about the fedora-extras-commits mailing list