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@...>
URL:           http://home.gna.org/py-notify/
Source:        http://pypi.python.org/packages/source/p/py-notify/py-notify-%{version}.tar.gz
License:       LGPL
Requires:      python >= %python_version
Requires:      libnotify
Requires:      pygtk
## AUTOBUILDREQ-BEGIN    
BuildRequires: glibc-devel
BuildRequires: libnotify-devel
BuildRequires: libpython-devel >= %python_version
BuildRequires: pygtk
## AUTOBUILDREQ-END
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

%description
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.

%prep

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

%build
CFLAGS="%{optflags}" python setup.py build

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

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

%files
%defattr(-,root,root)
%dir %{python_sitearch}/notify
%{python_sitearch}/notify/*.py
%{python_sitearch}/notify/*.pyc
%{python_sitearch}/notify/gc.so
%dir %{python_sitearch}/notify/_2_5
%{python_sitearch}/notify/_2_5/*.py
%{python_sitearch}/notify/_2_5/*.pyc
%{python_sitearch}/py_notify-%{version}-py%{python_version}.egg-info

%changelog
* 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