1 # 2 # spec file for package SUNWpython26-notify 3 # 4 # Copyright 2009 Sun Microsystems, Inc. 5 # This file and all modifications and additions to the pristine 6 # package are under the same license as the package itself. 7 # 8 %define owner jedy 9 # includes module(s): notify-python 10 # 11 12 %include Solaris.inc 13 14 %define pythonver 2.6 15 %use notify_python = notify-python.spec 16 17 Name: SUNWpython26-notify 18 Summary: Python %{pythonver} bindings for libnotify 19 URL: http://www.galago-project.org/ 20 Version: 0.1.1 21 License: LGPL v2.1 22 SUNW_BaseDir: %{_basedir} 23 SUNW_Copyright: SUNWpython-notify.copyright 24 BuildRoot: %{_tmppath}/%{name}-%{version}-build 25 %include default-depend.inc 26 Requires: SUNWgtk2 27 Requires: SUNWPython 28 Requires: SUNWgnome-panel 29 Requires: SUNWgnome-python-libs 30 BuildRequires: SUNWgtk2-devel 31 BuildRequires: SUNWPython-devel 32 BuildRequires: SUNWgnome-panel-devel 33 BuildRequires: SUNWgnome-python-libs-devel 34 BuildRequires: SUNWpython-setuptools 35 36 %package devel 37 Summary: %{summary} - development files 38 SUNW_BaseDir: %{_basedir} 39 %include default-depend.inc 40 41 %prep 42 rm -rf %name-%version 43 mkdir -p %name-%version 44 %notify_python.prep -d %name-%version 45 46 %build 47 %notify_python.build -d %name-%version 48 49 %install 50 rm -rf $RPM_BUILD_ROOT 51 %notify_python.install -d %name-%version 52 53 %clean 54 rm -rf $RPM_BUILD_ROOT 55 56 %files 57 %doc -d %{notify_python.name}-%{notify_python.version} AUTHORS 58 %doc(bzip2) -d %{notify_python.name}-%{notify_python.version} ChangeLog COPYING 59 %dir %attr (0755, root, other) %{_datadir}/doc 60 %defattr (-, root, bin) 61 %dir %attr (0755, root, bin) %{_libdir} 62 %{_libdir}/python%{pythonver}/vendor-packages/gtk-2.0/pynotify 63 %dir %attr (0755, root, sys) %{_datadir} 64 %{_datadir}/pygtk 65 66 %files devel 67 %defattr(-, root, bin) 68 %dir %attr (0755, root, bin) %{_libdir} 69 %dir %attr (0755, root, other) %{_libdir}/pkgconfig 70 %{_libdir}/pkgconfig/* 71 72 %changelog 73 * Thu Feb 12 2009 - brian.cameron@sunc.om 74 - created 2.6 version based on SUNWpython-notify.spec. 75 * Wed Onv 05 2008 - jedy.wang@sun.com 76 - Update license. 77 * Tue Sep 16 2008 - jedy.wang@sun.com 78 - Add copyright files. 79 * Thu Jul 17 2008 - dave.lin@sun.com 80 - Add default file attribute for devel pkg to fix the incorrect attribute issue 81 * Mon Jun 30 2008 - jedy.wang@sun.com 82 - Rename to SUNWpython-notify 83 * Wed Jun 25 2008 - jedy.wang@sun.com 84 - Moved from spec-files-extra 85 * Sat Apr 12 2008 - brian.cameron@sun.com 86 - created 87 88