Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > fde274bbe156ff18bff71fc56876141b > files > 2

python-slip-0.2.20-3.mga3.src.rpm

Name:       python-slip
Version:    0.2.20
Release:    %mkrel 3
Summary:    Miscellaneous convenience, extension and workaround code for Python
Group:      System/Libraries
License:    GPLv2+
URL:        http://fedorahosted.org/python-slip
Source0:    http://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2
BuildArch:  noarch
BuildRequires:  python
BuildRequires:  python-devel
Requires:   python-selinux

%description
The Simple Library for Python packages contain miscellaneous code for
convenience, extension and workaround purposes.

This package provides the "slip" and the "slip.util" modules.

%package dbus
Summary:    Convenience functions for dbus services
Group:      System/Libraries
Requires:   %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires:   dbus-python >= 0.80
Requires:   python-gobject
Requires:   polkit >= 0.94
Requires:   python-decorator

%description dbus
The Simple Library for Python packages contain miscellaneous code for
convenience, extension and workaround purposes.

This package provides slip.dbus.service.Object, which is a dbus.service.Object
derivative that ends itself after a certain time without being used and/or if
there are no clients anymore on the message bus, as well as convenience
functions and decorators for integrating a dbus service with PolicyKit.

%package gtk
Summary:    Code to make auto-wrapping gtk labels
Group:      System/Libraries
Requires:   %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires:   pygtk2.0

%description gtk
The Simple Library for Python packages contain miscellaneous code for
convenience, extension and workaround purposes.

This package provides slip.gtk.set_autowrap(), a convenience function which
lets gtk labels be automatically re-wrapped upon resizing.

%prep
%setup -q

%build
%make

%install
rm -rf %buildroot
%makeinstall_std

%files
%doc COPYING doc/dbus
%dir %{python_sitelib}/slip/
%{python_sitelib}/slip/__init__.py*
%{python_sitelib}/slip/util
%{python_sitelib}/slip-%{version}-py%{python_version}.egg-info

%files dbus
%doc doc/dbus/*
%{python_sitelib}/slip/dbus
%{python_sitelib}/slip.dbus-%{version}-py%{python_version}.egg-info

%files gtk

%{python_sitelib}/slip/gtk
%{python_sitelib}/slip.gtk-%{version}-py%{python_version}.egg-info


%changelog

* Sun Jan 13 2013 umeabot <umeabot> 0.2.20-3.mga3
+ Revision: 379529
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Sep 24 2012 blino <blino> 0.2.20-2.mga3
+ Revision: 297129
- do not require obsolete policykit

* Thu Jan 12 2012 barjac <barjac> 0.2.20-1.mga2
+ Revision: 195418
- New version

* Sat Sep 17 2011 doktor5000 <doktor5000> 0.2.17-1.mga2
+ Revision: 144413
- required by recent versions of sectool
- clean spec, cosmetics
- imported package python-slip