SPECS: python-pynotify.spec (NEW) - initial PLD release
patrys
patrys at pld-linux.org
Sun Mar 25 05:22:09 CEST 2007
Author: patrys Date: Sun Mar 25 03:22:09 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial PLD release
---- Files affected:
SPECS:
python-pynotify.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-pynotify.spec
diff -u /dev/null SPECS/python-pynotify.spec:1.1
--- /dev/null Sun Mar 25 05:22:09 2007
+++ SPECS/python-pynotify.spec Sun Mar 25 05:22:04 2007
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+Summary: Python bindings for libnotify
+Name: python-pynotify
+Version: 0.1.1
+Release: 1
+License: GPL
+Group: Libraries
+Source0: http://galago-project.org/files/releases/source/notify-python/notify-python-%{version}.tar.gz
+# Source0-md5: 8f0ef0939cc8edd2efd896ce5ba80cf4
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: python-pygtk-devel
+Requires: libnotify
+%pyrequires_eq python-libs
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python bindings for libnotify
+
+%prep
+%setup -q -n notify-python-%{version}
+
+%build
+%{configure}
+%{__make} \
+ PYTHON="%{__python}" \
+ PYTHONINCLUDE="%{py_incdir}" \
+ CC="%{__cc}" \
+ RPM_OPT_FLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ PYTHON="%{__python}" \
+ PYTHONLIBDIR="%{py_sitedir}" \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%dir %{py_sitedir}/gtk-2.0/pynotify
+%{py_sitedir}/gtk-2.0/pynotify/*.py*
+%attr(755,root,root) %{py_sitedir}/gtk-2.0/pynotify/*.so
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/03/25 03:22:04 patrys
+- initial PLD release
+
================================================================
More information about the pld-cvs-commit
mailing list