SPECS: python-inotify.spec (NEW) - new
beorn
beorn at pld-linux.org
Sat Jun 28 22:35:24 CEST 2008
Author: beorn Date: Sat Jun 28 20:35:24 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
python-inotify.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-inotify.spec
diff -u /dev/null SPECS/python-inotify.spec:1.1
--- /dev/null Sat Jun 28 22:35:24 2008
+++ SPECS/python-inotify.spec Sat Jun 28 22:35:19 2008
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+#
+%define module inotify
+#
+Summary: Inotify module for Python
+Summary(pl.UTF8): Moduł inotify dla języka Python
+Name: python-%{module}
+Version: 0.1.0
+Release: 0.1
+License: GPL, other
+Group: Libraries/Python
+Source0: http://rudd-o.com/wp-content/uploads/projects/files/python-inotify/python-%{module}-%{version}.tar.gz
+# Source0-md5: 361bcab2f0cd57cdaf6fe6fe433778b0
+URL: http://rudd-o.com/projects/python-inotify/
+BuildRequires: python-devel >= 1:2.3
+BuildRequires: rpmbuild(macros) >= 1.219
+%pyrequires_eq python-modules
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A module designed to make the Linux inotify interface programmatically
+available for Python.
+
+%description -l pl.UTF-8
+TODO
+
+%prep
+%setup -q
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__install} -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+python setup.py install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
+mv $RPM_BUILD_ROOT%{_bindir}/inotify $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README LICENSE ChangeLog TODO
+%{py_sitedir}/*
+%{_examplesdir}/%{name}-%{version}
+
+%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 2008/06/28 20:35:19 beorn
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list