Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
python-notify
python-notify.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-notify.spec of Package python-notify
# # spec file for package python-notify (Version 0.1.1) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define pypkgname pynotify Name: python-notify Version: 0.1.1 Release: 12 Summary: Python bindings for libnotify Group: Development/Languages/Python License: LGPLv2.1+ Url: http://www.galago-project.org/specs/notification Source: http://www.galago-project.org/files/releases/source/notify-python/notify-python-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes %if 0%{?suse_version} <= 1130 BuildRequires: gtk2-devel %endif BuildRequires: libnotify-devel BuildRequires: python-devel BuildRequires: python-gtk-devel %py_requires %description Python bindings for libnotify. %package devel License: LGPLv2.1+ Group: Development/Libraries/Python Summary: Python bindings for libnotify Requires: %{name} = %{version} %description devel Python bindings for libnotify. %prep %setup -q -n "notify-python-%{version}" %build %if 0%{?suse_version} <= 1130 export CFLAGS="%{optflags} `pkg-config --cflags --libs gtk+-2.0`" %endif %configure # We touch src/pynotify.override in build because upstream did not rebuild # pynotify.c from the input definitions. This forces pynotify.c to be # regenerated. This is needed to have Notification.attach_to_status_icon touch src/pynotify.override %__make %{?jobs:-j%{jobs}} %install %makeinstall %fdupes $RPM_BUILD_ROOT/%{py_sitedir} %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS %{py_sitedir}/gtk-2.0/%{pypkgname}/ %files devel %defattr(-,root,root,-) # we explicitly list the directories here to be sure we don't include something # that should live in the main package %dir %{_datadir}/pygtk %dir %{_datadir}/pygtk/2.0 %{_datadir}/pygtk/2.0/defs/ %{_libdir}/pkgconfig/notify-python.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor