2 # - fix bashism: sh: >&/dev/null : illegal file descriptor name
3 Summary: Miscellaneous convenience, extension and workaround code for Python
8 Group: Development/Languages/Python
9 URL: http://fedorahosted.org/python-slip
10 Source0: http://fedorahosted.org/released/python-slip/%{name}-%{version}.tar.bz2
11 # Source0-md5: 4e0267cbeb2cb1666c5930bd7c7acfb4
13 BuildRequires: rpmbuild(macros) >= 1.219
14 BuildRequires: python-devel
15 Requires: python-selinux
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The Simple Library for Python packages contain miscellaneous code for
21 convenience, extension and workaround purposes.
23 This package provides the "slip" and the "slip.util" modules.
26 Summary: Convenience functions for dbus services
28 Requires: %{name} = %{version}-%{release}
29 Requires: polkit >= 0.94
30 Requires: python-dbus >= 0.80
31 Requires: python-decorator
32 Requires: python-pygobject
33 Conflicts: PolicyKit < 0.8-3
36 The Simple Library for Python packages contain miscellaneous code for
37 convenience, extension and workaround purposes.
39 This package provides slip.dbus.service.Object, which is a
40 dbus.service.Object derivative that ends itself after a certain time
41 without being used and/or if there are no clients anymore on the
42 message bus, as well as convenience functions and decorators for
43 integrating a dbus service with PolicyKit.
46 Summary: Code to make auto-wrapping gtk labels
48 Requires: %{name} = %{version}-%{release}
49 Requires: python-pygtk-gtk
52 The Simple Library for Python packages contain miscellaneous code for
53 convenience, extension and workaround purposes.
55 This package provides slip.gtk.set_autowrap(), a convenience function
56 which lets Gtk labels be automatically re-wrapped upon resizing.
65 rm -rf $RPM_BUILD_ROOT
67 DESTDIR=$RPM_BUILD_ROOT
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
77 %dir %{py_sitescriptdir}/slip
78 %{py_sitescriptdir}/slip/__init__.py[co]
79 %{py_sitescriptdir}/slip/util
80 %{py_sitescriptdir}/slip-%{version}-py%{python_version}.egg-info
83 %defattr(644,root,root,755)
85 %{py_sitescriptdir}/slip/dbus
86 %{py_sitescriptdir}/slip.dbus-%{version}-py%{python_version}.egg-info
89 %defattr(644,root,root,755)
90 %{py_sitescriptdir}/slip/gtk
91 %{py_sitescriptdir}/slip.gtk-%{version}-py%{python_version}.egg-info