%define name python-notify %define oname notify-python %define version 0.1.1 %define release %mkrel 9 Summary: Notification system based on libnotify Name: %{name} Version: %{version} Release: %{release} Source0: http://www.galago-project.org/files/releases/source/notify-python/%{oname}-%{version}.tar.bz2 # (Fedora) fix building against libnotify-0.7 Patch0: libnotify07.patch Patch1: python-notify-0.1.1-fix-GTK-symbols.patch License: LGPL Group: Development/Python Url: http://www.galago-project.org/news/index.php BuildRequires: pygtk2.0-devel BuildRequires: libnotify-devel BuildRequires: ffi5-devel %description This is the python version of the desktop notification framework. %prep %setup -q -n %oname-%version %apply_patches %build %configure2_5x touch src/pynotify.override %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc NEWS AUTHORS ChangeLog %py_platsitedir/gtk-2.0/pynotify/ %_datadir/pygtk/2.0/defs/pynotify.defs %_libdir/pkgconfig/notify-python.pc %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.1.1-9.mga3 + Revision: 379163 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Sep 16 2012 philippem <philippem> 0.1.1-8.mga3 + Revision: 294501 - fix #6514 using Fedora patch * Mon Jun 13 2011 ahmad <ahmad> 0.1.1-7.mga2 + Revision: 105508 - Add a patch to fix the build with libnotify-0.7 (Fedora) * Sun Jan 23 2011 ennael <ennael> 0.1.1-6.mga1 + Revision: 35585 - imported package python-notify