SPECS: python-kaa-base.spec (NEW) - new
arekm
arekm at pld-linux.org
Sun Mar 18 18:55:27 CET 2007
Author: arekm Date: Sun Mar 18 17:55:27 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
python-kaa-base.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-kaa-base.spec
diff -u /dev/null SPECS/python-kaa-base.spec:1.1
--- /dev/null Sun Mar 18 18:55:27 2007
+++ SPECS/python-kaa-base.spec Sun Mar 18 18:55:22 2007
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+%define module kaa-base
+
+Summary: Base module for all Kaa modules
+Name: python-%{module}
+Version: 0.1.2
+Release: 1
+License: LGPL
+Group: Libraries/Python
+Source0: http://dl.sourceforge.net/freevo/%{module}-%{version}.tar.gz
+# Source0-md5: 8d24829e4064e263a78dc70fce544234
+URL: http://www.freevo.org/kaa
+BuildRequires: python-devel >= 2.5
+%pyrequires_eq python-modules
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module contains some basic code needed in all kaa modules.
+
+The module also contains a main loop (notifier). Some kaa modules like
+kaa-Display require the main loop to be running, for other modules
+like kaa-Thumb it's optional and some like kaa-Metadata don't need the
+main loop at all.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+CFLAGS="%{rpmcflags}"
+export CFLAGS
+python setup.py build_ext
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+ --install-purelib=%{py_sitedir} \
+ --root=$RPM_BUILD_ROOT \
+ --optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitedir}/*.egg-info
+%dir %{py_sitedir}/kaa
+%attr(755,root,root) %{py_sitedir}/kaa/*.so
+%{py_sitedir}/kaa/*.py[co]
+%dir %{py_sitedir}/kaa/distribution
+%{py_sitedir}/kaa/distribution/*.py[co]
+%dir %{py_sitedir}/kaa/inotify
+%{py_sitedir}/kaa/inotify/*.py[co]
+%dir %{py_sitedir}/kaa/input
+%{py_sitedir}/kaa/input/*.py[co]
+%dir %{py_sitedir}/kaa/notifier
+%{py_sitedir}/kaa/notifier/*.py[co]
+%dir %{py_sitedir}/kaa/notifier/pynotifier
+%{py_sitedir}/kaa/notifier/pynotifier/*.py[co]
+
+%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/18 17:55:22 arekm
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list