rpms/awn-extras-applets/devel awn-extras-applets-0.2.4-fix-build-error.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 awn-extras-applets.spec, 1.2, 1.3 sources, 1.2, 1.3

Huang Peng (phuang) fedora-extras-commits at redhat.com
Wed Feb 20 07:16:35 UTC 2008


Author: phuang

Update of /cvs/pkgs/rpms/awn-extras-applets/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3236

Modified Files:
	.cvsignore awn-extras-applets.spec sources 
Added Files:
	awn-extras-applets-0.2.4-fix-build-error.patch 
Log Message:
Update to 0.2.4

awn-extras-applets-0.2.4-fix-build-error.patch:

--- NEW FILE awn-extras-applets-0.2.4-fix-build-error.patch ---
diff -up awn-extras-applets-0.2.4/src/libawn-extras/bindings/python/awn_extras.override.fix-build-error awn-extras-applets-0.2.4/src/libawn-extras/bindings/python/awn_extras.override
--- awn-extras-applets-0.2.4/src/libawn-extras/bindings/python/awn_extras.override.fix-build-error	2008-02-20 14:11:27.000000000 +0800
+++ awn-extras-applets-0.2.4/src/libawn-extras/bindings/python/awn_extras.override	2008-02-20 14:11:36.000000000 +0800
@@ -22,7 +22,7 @@ headers
 #include <pygobject.h>
 #include <libawn/awn-cairo-utils.h>
 #include <gdk/gdkcolor.h>
-#include <libawn-extras/awn-extras.h>
+#include <awn-extras.h>
 
 static Pycairo_CAPI_t *Pycairo_CAPI;
 %%


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/awn-extras-applets/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	7 Nov 2007 23:58:35 -0000	1.2
+++ .cvsignore	20 Feb 2008 07:16:01 -0000	1.3
@@ -1 +1 @@
-awn-extras-applets-0.2.1.tar
+awn-extras-applets-0.2.4.tar.gz


Index: awn-extras-applets.spec
===================================================================
RCS file: /cvs/pkgs/rpms/awn-extras-applets/devel/awn-extras-applets.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- awn-extras-applets.spec	19 Feb 2008 19:23:59 -0000	1.2
+++ awn-extras-applets.spec	20 Feb 2008 07:16:01 -0000	1.3
@@ -1,12 +1,14 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 Name:           awn-extras-applets
-Version:        0.2.1
-Release:        2%{?dist}
+Version:        0.2.4
+Release:        1%{?dist}
 Summary:        Extras applets for avant window navigator
 
 Group:          User Interface/Desktops
 License:        GPLv2+
 URL:            https://launchpad.net/awn-extras/
-Source0:        https://launchpad.net/awn-extras/0.2.1/0.2.1/+download/%{name}-%{version}.tar
+Source0:        https://edge.launchpad.net/awn-extras/0.2/%{version}/+download/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  avant-window-navigator-devel
@@ -23,34 +25,47 @@
 BuildRequires:  libsexy-devel
 BuildRequires:  libnotify-devel
 BuildRequires:  perl(XML::Parser)
-BuildRequires:  dos2unix
 BuildRequires:  ed
+BuildRequires:  pycairo-devel
+BuildRequires:  pygtk2-devel
+BuildRequires:  vte-devel
 
 Requires:       avant-window-navigator
 Requires:       avant-window-navigator-python
+Requires:       gnome-python2
+Requires:       gnome-python2-gnomedesktop
+Requires:       gnome-python2-gnomevfs
 Requires:       gnome-python2-libwnck
 Requires:       gnome-python2-rsvg
+Requires:       gnome-python2-gtkmozembed
+Requires:       gstreamer-python
 Requires:       python-alsaaudio
+Requires:       python-feedparser
+Requires:       gnome-menus
 Requires:       acpi
 Requires:       dbus-python
+Requires:       pycairo
+Requires:       pygtk2
+Requires:       vte
 
 Requires(pre):  GConf2
 Requires(post): GConf2
 Requires(preun): GConf2
 
+Patch0:         awn-extras-applets-0.2.4-fix-build-error.patch
+
 %description
 awn-extras-applets includes extras applets of Avant Window Navigator (Awn).
 
 %prep
 %setup -q
-dos2unix src/BlingSwitcher/PySwitcher.py
-dos2unix src/gmail/gmail.py
-for f in `find -name '*.py'`; do
-  head -n 1 $f | grep python && echo -e '1d\nwq' | ed $f 
-done
+%patch0 -p1 -b .fix-compile-error
+#for f in `find -name '*.py'`; do
+#  head -n 1 $f | grep python && echo -e '1d\nwq' | ed $f 
+#done
 
 %build
-%configure --disable-static
+%configure --disable-static --disable-pymod-checks
 make %{?_smp_mflags}
 
 
@@ -62,32 +77,35 @@
 find ${RPM_BUILD_ROOT} -name '*.la' | xargs rm
 
 # resolve conflict
-mv ${RPM_BUILD_ROOT}/etc/gconf/schemas/notification-daemon.schemas \
-  ${RPM_BUILD_ROOT}/etc/gconf/schemas/awn-notification-daemon.schemas
+# mv ${RPM_BUILD_ROOT}/etc/gconf/schemas/notification-daemon.schemas \
+#   ${RPM_BUILD_ROOT}/etc/gconf/schemas/awn-notification-daemon.schemas
 
 # This project does not have translations
 # %find_lang %{name}
 
 %pre
+SCHEMAS="awn-notification-daemon awn-terminal places switcher awnsystemmonitor filebrowser shinyswitcher trash"
 if [ "$1" -gt 1 ]; then
     export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-    for name in awnsystemmonitor filebrowser awn-notification-daemon switcher trash; do
+    for name in ${SCHEMAS}; do
       gconftool-2 --makefile-uninstall-rule \
         %{_sysconfdir}/gconf/schemas/${name}.schemas >/dev/null || :
     done
 fi
 
 %post
+SCHEMAS="awn-notification-daemon awn-terminal places switcher awnsystemmonitor filebrowser shinyswitcher trash"
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-for name in awnsystemmonitor filebrowser awn-notification-daemon switcher trash; do
+for name in ${SCHEMAS}; do
   gconftool-2 --makefile-install-rule \
     %{_sysconfdir}/gconf/schemas/${name}.schemas > /dev/null || :
 done
 
 %preun
+SCHEMAS="awn-notification-daemon awn-terminal places switcher awnsystemmonitor filebrowser shinyswitcher trash"
 if [ "$1" -eq 0 ]; then
     export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-    for name in awnsystemmonitor filebrowser awn-notification-daemon switcher trash; do
+    for name in ${SCHEMAS}; do
       gconftool-2 --makefile-uninstall-rule \
         %{_sysconfdir}/gconf/schemas/${name}.schemas > /dev/null || :
     done
@@ -100,11 +118,24 @@
 %defattr(-,root,root,-)
 %doc COPYING
 %config(noreplace) %{_sysconfdir}/gconf/schemas/*
+%{_bindir}/affinity-preferences
+%{_libdir}/libawn-extras.so*
+%{python_sitearch}/awn/extras/*
+%dir %{python_sitearch}/awn/extras
+%{_includedir}/libawn-extras
+
 %{_libdir}/awn/applets/*
+
+%{_datadir}/icons
+%{_datadir}/avant-window-navigator/applets/icons
+%{_datadir}/avant-window-navigator/defs/awn_extras.defs
 %dir %{_datadir}/awn-extras-applets
 %{_datadir}/awn-extras-applets/*
 
 %changelog
+* Wed Feb 20 2008 Huang Peng <phuang at redhat.com> - 0.2.4-1
+- Update to 0.2.4.
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.2.1-2
 - Autorebuild for GCC 4.3
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/awn-extras-applets/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	7 Nov 2007 23:58:35 -0000	1.2
+++ sources	20 Feb 2008 07:16:01 -0000	1.3
@@ -1 +1 @@
-b221bd7b83beb23772dd8f4257221c89  awn-extras-applets-0.2.1.tar
+a5f9c04b72ebb1543d6c31016c9f99ba  awn-extras-applets-0.2.4.tar.gz




More information about the fedora-extras-commits mailing list