packages python-notify.spec
      Pages: < 1 >  DOWNLOAD      
Name:          python-notify
Version:       0.3.1
Release:       2mamba
Summary:       An unorthodox implementation of Observer programming pattern.
Group:         System/Libraries/Python
Vendor:        openmamba
Distribution:  openmamba
Packager:      Automatic Build System <autodist@...>
License:       LGPL
Requires:      python >= %python_version
Requires:      libnotify
Requires:      pygtk
BuildRequires: glibc-devel
BuildRequires: libnotify-devel
BuildRequires: libpython-devel >= %python_version
BuildRequires: pygtk
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

Py-notify is a Python package providing tools for implementing Observer programming pattern. 
These tools include signals, conditions and variables.

Signals are lists of handlers that are called when signal is emitted. 
Conditions are basically boolean variables coupled with a signal that is emitted when condition state changes. 
They can be combined using standard logical operators (not, and, etc.) into compound conditions. Variables, unlike conditions, can hold any Python object, not just booleans, but they cannot be combined.


%setup -q -n py-notify-%{version}

CFLAGS="%{optflags}" python build

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
python install \
   --root="%{buildroot}" \
   --install-headers=%{_includedir}/python \

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%dir %{python_sitearch}/notify
%dir %{python_sitearch}/notify/_2_5

* Fri May 17 2013 Silvan Calarco <silvan.calarco@...> 0.3.1-2mamba
- python 2.7 mass rebuild

* Tue Jan 20 2009 Silvan Calarco <silvan.calarco@...> 0.3.1-1mamba
- automatic update by autodist

* Mon Aug 18 2008 gil <puntogil@...> 0.2.0-1mamba
- package created by autospec