rpms/python-kaa-metadata/FC-6 python-kaa-metadata.spec, NONE, 1.1 sources, 1.1, 1.2

Chauvet (kwizart) fedora-extras-commits at redhat.com
Fri Apr 20 19:17:05 UTC 2007


Author: kwizart

Update of /cvs/extras/rpms/python-kaa-metadata/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7399

Modified Files:
	sources 
Added Files:
	python-kaa-metadata.spec 
Log Message:
Initial import for FC-6



--- NEW FILE python-kaa-metadata.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           python-kaa-metadata
Version:        0.6.1
Release:        2%{?dist}
Summary:        The Kaa Media - metadata binding for python

Group:          Development/Languages
License:        GPL
URL:            http://www.freevo.org/kaa
Source0:        http://downloads.sourceforge.net/freevo/kaa-metadata-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel
BuildRequires:  python-kaa-base >= 0.1.3
BuildRequires:  libdvdread-devel >= 0.9.5

Obsoletes: mmpython < 0.4.10
Provides: mmpython = %{version}-%{release}
Obsoletes: python-mmpython < 0.4.10
Provides: python-mmpython = %{version}-%{release}


%description
The Kaa Media Repository is a set of python modules related to media.

Kaa modules are based on parts from Freevo and modules created for MeBox. 
Kaa exists to encourage code sharing between these projects, and to serve as 
an umbrella for several previously disparate media-related modules in order 
to make them available from one (unique) namespace. Kaa provides a base module 
that implements the common features needed for application development, such as
mainloop management, timers, signals, callbacks, file descriptor monitors, etc.
Kaa's other modules provide specific media-related functionality, such as 
retrieving metadata on arbitrary media files (kaa.metadata, previously 
called mmpython), Python wrappers for Imlib2, Xine, and Evas, and many other 
high level APIs for easily creating applications that deal with video and 
audio.

Kaa is named after the python in the Jungle Book by Rudyard Kipling.


%prep
%setup -q -n kaa-metadata-%{version}


%build
# Remove CFLAGS=... for noarch packages (unneeded)
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

# Fix perms
find $RPM_BUILD_ROOT -name "*.py" |xargs chmod 0644

# Removed unneeded shebang
sed -i -e 's|#!/usr/bin/env python|#|' $RPM_BUILD_ROOT%{python_sitearch}/kaa/metadata/disc/CDDB.py

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README TODO
%{_bindir}/mminfo
%{python_sitearch}/*


%changelog
* Fri Apr 20 2007 kwizart < kwizart at gmail.com > - 0.6.1-2
- Obsolete/provides mmpython version 0.4.10

* Wed Apr 18 2007 kwizart < kwizart at gmail.com > - 0.6.1-1
- Update to 0.6.1

* Mon Jan 1 2007 TC Wan <tcwan at cs.usm.my>
- Initial SPEC file


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-kaa-metadata/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 Apr 2007 18:19:55 -0000	1.1
+++ sources	20 Apr 2007 19:16:30 -0000	1.2
@@ -0,0 +1 @@
+31e0b4b553fc75e51c2b7a9f612d76a5  kaa-metadata-0.6.1.tar.gz




More information about the fedora-extras-commits mailing list