From 1e3a5ec7c87df54456010a8d6250067ad1bae3d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sun, 18 Mar 2007 18:05:11 +0000 Subject: [PATCH] - new Changed files: python-kaa-metadata.spec -> 1.1 --- python-kaa-metadata.spec | 65 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 python-kaa-metadata.spec diff --git a/python-kaa-metadata.spec b/python-kaa-metadata.spec new file mode 100644 index 0000000..9b9f6d4 --- /dev/null +++ b/python-kaa-metadata.spec @@ -0,0 +1,65 @@ +%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] -- 2.44.0