rpms/ccsm/F-13 widgets_filter.patch,NONE,1.1 ccsm.spec,1.14,1.15

Leigh Scott leigh123linux at fedoraproject.org
Sat May 1 21:33:09 UTC 2010


Author: leigh123linux

Update of /cvs/pkgs/rpms/ccsm/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv32288

Modified Files:
	ccsm.spec 
Added Files:
	widgets_filter.patch 
Log Message:
* Sat May 1 2010 Leigh Scott <leigh123linux at googlemail.com> - 0.8.4-2
- update python marcos
- add widgets_filter patch (Bz 553665)
- fix ccsm directory ownership 


widgets_filter.patch:
 Widgets.py |    3 +++
 1 file changed, 3 insertions(+)

--- NEW FILE widgets_filter.patch ---
--- ccsm-0.8.4.orig/ccm/Widgets.py	2009-10-14 02:05:30.000000000 +0100
+++ ccsm-0.8.4/ccm/Widgets.py	2010-05-01 22:20:52.000000000 +0100
@@ -1233,6 +1233,9 @@ class FileButton (gtk.Button):
         filter = gtk.FileFilter ()
         if self._image:
             filter.set_name (_("Images"))
+            filter.add_mime_type ("image/png")
+            filter.add_mime_type ("image/jpeg")
+            filter.add_mime_type ("image/svg+xml")
             filter.add_pattern ("*.png")
             filter.add_pattern ("*.jpg")
             filter.add_pattern ("*.jpeg")


Index: ccsm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ccsm/F-13/ccsm.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- ccsm.spec	16 Jan 2010 23:23:53 -0000	1.14
+++ ccsm.spec	1 May 2010 21:33:09 -0000	1.15
@@ -1,10 +1,12 @@
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
 %define         basever 0.8.4
 
 Name:           ccsm
 Version:        0.8.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Plugin and configuration tool - Compiz Fusion Project
 
 Group:          User Interface/Desktops
@@ -14,6 +16,7 @@ URL:            http://www.opencompositi
 Source0:        http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Patch101:       ccsm-removeshebangs.patch
+Patch102:       widgets_filter.patch
 # libdrm is not available on these arches
 
 ExcludeArch:    s390 s390x ppc64
@@ -34,6 +37,7 @@ plugins and the composite window manager
 %prep
 %setup -q 
 %patch101 -p1 -b .ccsm-removeshebangs
+%patch102 -p1 -b .widgets_filter
 
 %build
 #configure 
@@ -73,13 +77,20 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS COPYING VERSION
 %{_bindir}/ccsm
 %{_datadir}/applications/fedora-ccsm.desktop
-%{_datadir}/ccsm/
+%dir %{_datadir}/ccsm
+%{_datadir}/ccsm/*
 %{_datadir}/icons/hicolor/*/apps/ccsm.*
-%{python_sitelib}/ccm/
+%dir %{python_sitelib}/ccm
+%{python_sitelib}/ccm/*
 %{python_sitelib}/ccsm-%{version}-py?.?.egg-info
 
 
 %changelog
+* Sat May 1 2010 Leigh Scott <leigh123linux at googlemail.com> - 0.8.4-2
+- update python marcos
+- add widgets_filter patch (Bz 553665)
+- fix ccsm directory ownership 
+
 * Sat Jan 16 2010 Leigh Scott <leigh123linux at googlemail.com> - 0.8.4-1
 - Update to 0.8.4
 



More information about the scm-commits mailing list