rpms/listen/devel listen.spec,1.21,1.22

Haïkel Guémar (hguemar) fedora-extras-commits at redhat.com
Sun Feb 11 10:31:01 UTC 2007


Author: hguemar

Update of /cvs/extras/rpms/listen/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12093

Modified Files:
	listen.spec 
Log Message:
Updated to svn657 (improved python 2.5) support



Index: listen.spec
===================================================================
RCS file: /cvs/extras/rpms/listen/devel/listen.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- listen.spec	14 Dec 2006 19:36:03 -0000	1.21
+++ listen.spec	11 Feb 2007 10:30:29 -0000	1.22
@@ -1,27 +1,22 @@
+%define real_name listen-snapshot-r657
 Name:           listen
 Version:        0.5
-Release:        10.beta1%{?dist}.4
+Release:        12.svn657%{?dist}
 Summary:        A music manager and player for GNOME
 Group:          Applications/Multimedia
 License:        GPL
 URL:            http://listengnome.free.fr
-Source0:        %name-%{version}b1.tar.gz
-Patch0:         Makefile.patch
-Patch1:         check.py.patch
-Patch2:         const.py.patch
-Patch3:         dialog.py.patch 
-BuildRoot:      %{_tmppath}/%{name}-%{version}b1-%{release}-root-%(%{__id_u} -n)
+Source0:        %{real_name}.tar.bz2
+Patch0:         %{name}-gecko.patch 
+BuildRoot:      %{_tmppath}/%{name}-%{real_name}-root-%(%{__id_u} -n)
 
+Buildrequires: python-devel >= 2.4
 
- 
-Buildrequires: python-devel
-# python-ctypes included in python 2.5.x
-#BuildRequires: python-ctypes
-BuildRequires: python-mutagen >= 1.6
+BuildRequires: python-mutagen >= 1.8
 BuildRequires: python-sqlite2
 BuildRequires: dbus-python
-BuildRequires: pygtk2-devel 
-BuildRequires: gtk2-devel
+BuildRequires: pygtk2-devel >= 2.8
+BuildRequires: gtk2-devel >= 2.8
 BuildRequires: gstreamer-python
 BuildRequires: gnome-python2
 BuildRequires: gnome-python2-extras
@@ -34,6 +29,7 @@
 Buildrequires: xorg-x11-fonts-base
 Buildrequires: xorg-x11-fonts-misc
 Buildrequires: docbook2X
+Buildrequires: intltool >= 0.35
 BuildRequires: gettext
 Buildrequires: pkgconfig
 BuildRequires: desktop-file-utils
@@ -41,12 +37,11 @@
 Requires(postun): /sbin/ldconfig 
 
 # added explicit Requires
-Requires: python 
-Requires: python-ctypes
-Requires: python-mutagen >= 1.6
+Requires: python >= 2.4
+Requires: python-mutagen >= 1.8
 Requires: python-sqlite2
 Requires: dbus-python
-Requires: pygtk2 
+Requires: pygtk2 >= 2.8
 Requires: gstreamer-python
 Requires: gnome-python2
 Requires: gnome-python2-extras
@@ -62,6 +57,14 @@
 # optional requires an updated libgpod package from Core
 #Requires: python-libgpod
 
+# the workaround requires this
+Requires: gecko-libs
+
+%ifarch x86_64 ia64 ppc64 s390x
+%define gre_conf_file gre64.conf
+%else
+%define gre_conf_file gre.conf
+%endif 
 
 %description
 Listen is a music manager and player for GNOME
@@ -88,15 +91,12 @@
 
 
 %prep
-%setup -q -n %{name}-%{version}b1
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%ifarch x86_64
+%setup -q -n build/%{real_name}
+%{__sed} -i 's/python2.4/python/' src/listen.py
+%patch0 -p0
+%{__sed} -i 's at GRE_CONF_FILE@/etc/gre.d/%{gre_conf_file}@' src/widget/mozembed_wrap.py
 # correct path issue on x86_64 box
-%{__sed} -i 's/= \/lib/= \/lib64/' Makefile
-%endif
+%{__sed} -i 's/= \/lib/= \/%{_lib}/' Makefile
 
 %build
 # (misc) for import gtk, as gtk requires a X server to be imported
@@ -146,11 +146,19 @@
 %{_datadir}/%{name}/
 %{_datadir}/pixmaps/%{name}.png
 %{_datadir}/applications/*.desktop
+%{_datadir}/dbus-1/services/org.gnome.Listen.service
+%{_mandir}/man1/listen.1.gz
+
 
 %changelog
-* Thu Dec 14 2006 Haïkel Guémar <karlthered at gmail.com> 0.5-10.beta1
-- removed python-ctypes as BR as it is now included in mainstream
-python 2.5.x
+* Sat Feb 10 2007 Haïkel Guémar <karlthered at gmail.com> 0.5-12.svn657
+- Updated to svn (better python 2.5 support)
+
+* Sat Jan 13 2007 Remi Collet <Fedora at FamilleCollet.com> - 0.5-11.beta1
+- Change workaround to use /etc/gre.d/gre.conf
+
+* Fri Jan 11 2007 Haïkel Guémar <karlthered at gmail.com> 0.5-10.beta1
+- workaround to prevent listen crashing when using gtkmozembed widget
 
 * Mon Nov 13 2006 Haïkel Guémar <karlthered at gmail.com> 0.5-9.beta1
 - Fixed build issue
@@ -200,3 +208,4 @@
 
 
 
+




More information about the scm-commits mailing list