SPECS: python-kaa-metadata.spec (NEW) - new

arekm arekm at pld-linux.org
Sun Mar 18 19:05:17 CET 2007


Author: arekm                        Date: Sun Mar 18 18:05:17 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   python-kaa-metadata.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-kaa-metadata.spec
diff -u /dev/null SPECS/python-kaa-metadata.spec:1.1
--- /dev/null	Sun Mar 18 19:05:17 2007
+++ SPECS/python-kaa-metadata.spec	Sun Mar 18 19:05:11 2007
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+%define 	module	kaa-metadata
+
+Summary:	Base module for all Kaa modules
+Name:		python-%{module}
+Version:	0.6.0
+Release:	1
+License:	LGPL
+Group:		Libraries/Python
+Source0:	http://dl.sourceforge.net/freevo/%{module}-%{version}.tar.gz
+# Source0-md5:	0df903aa873bdc1ce8ed0e8aa0b81e98
+URL:		http://www.freevo.org/kaa
+BuildRequires:	python-devel >= 2.5
+%pyrequires_eq	python-modules
+Requires:	python-kaa-base
+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)
+# in python-mmpython package
+# %attr(755,root,root) %{_bindir}/*
+%{py_sitedir}/*.egg-info
+%dir %{py_sitedir}/kaa/metadata
+%attr(755,root,root) %{py_sitedir}/kaa/metadata/*.py[co]
+%dir %{py_sitedir}/kaa/metadata/audio
+%{py_sitedir}/kaa/metadata/audio/*.py[co]
+%dir %{py_sitedir}/kaa/metadata/audio/eyeD3
+%{py_sitedir}/kaa/metadata/audio/eyeD3/*.py[co]
+%dir %{py_sitedir}/kaa/metadata/disc
+%{py_sitedir}/kaa/metadata/disc/*.py[co]
+%attr(755,root,root) %{py_sitedir}/kaa/metadata/disc/*.so
+%dir %{py_sitedir}/kaa/metadata/games
+%{py_sitedir}/kaa/metadata/games/*.py[co]
+%dir %{py_sitedir}/kaa/metadata/image
+%{py_sitedir}/kaa/metadata/image/*.py[co]
+%dir %{py_sitedir}/kaa/metadata/misc
+%{py_sitedir}/kaa/metadata/misc/*.py[co]
+%dir %{py_sitedir}/kaa/metadata/video
+%{py_sitedir}/kaa/metadata/video/*.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 18:05:11  arekm
+- new
+
================================================================


More information about the pld-cvs-commit mailing list