68 lines
1.8 KiB
RPMSpec
68 lines
1.8 KiB
RPMSpec
Name: python-pynotify
|
|
Version: 0.1.1
|
|
Release: 3mamba
|
|
Summary: Python bindings for libnotify
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://galago-project.org/files/releases/source/notify-python
|
|
Source: http://galago-project.org/files/releases/source/notify-python/notify-python-%{version}.tar.gz
|
|
Patch0: %{name}-0.1.1-libnotify-0.7.patch
|
|
Patch1: %{name}-0.1.1-fix-GTK-symbols.patch
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libatk-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libdbus-devel
|
|
BuildRequires: libdbus-glib-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgtk-devel
|
|
BuildRequires: libnotify-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpython-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: pygtk-devel
|
|
BuildRequires: pygobject-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
Requires: pygtk
|
|
|
|
%description
|
|
Python bindings for libnotify.
|
|
|
|
%prep
|
|
%setup -q -n notify-python-%{version}
|
|
%patch0 -p1
|
|
#%patch1 -p1
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{python_sitearch}/gtk-2.0/pynotify/*
|
|
%{_datadir}/pygtk/2.0/defs/pynotify.defs
|
|
%{_libdir}/pkgconfig/notify-python.pc
|
|
%doc AUTHORS COPYING ChangeLog NEWS
|
|
|
|
%changelog
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-3mamba
|
|
- python 2.7 mass rebuild
|
|
|
|
* Mon Oct 03 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-2mamba
|
|
- added patch for libnotify >= 0.7
|
|
|
|
* Tue Jun 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
|
|
- package created by autospec
|