Hi Dischi, In preparation for the 1.4 release of freevo, I'm slowly filling in the missing pieces for RPM support.
I've included a mmpython spec file which can be used to generate a RPM package for the 0.1 version of mmpython. I think it should work with any future release with just a change of the version number if you maintain the current file naming convention. It installs into the site-packages tree for the distro's python. I have the i386.rpm and src.rpm as well, but those are huge (250K, 140K) so I won't post them. I can mail them directly to you if you're interested. The only question is whether to host the mmpython RPM packages under the freevo download page or on the mmpython download page. It's a lot easier to work with python's setup utility. The only thing is that it automatically generates *.pyc files, not sure if there's a way to disable or control the type of compilation setup performs. I'm going to look into revising the freevo 1.4 spec file once the installation process is worked out: are we still going to have any supplied dependency packages (freevo-apps or equivalent?) I assume that now, we build, (package), install, then configure? So configuration is done by the user or the package manager upon installation? T.C. ---- Wan Tat Chee (Lecturer) School of Computer Science, Univ. of Science Malaysia, 11800 USM, Penang, Malaysia. Rm.625 Ofc Ph: +604 653-3888 x 3617 NRG Lab Admin: +604 659-4757 Rm.601-E Ofc Ph: +604 653-4396 Internet: [EMAIL PROTECTED] Web: http://nrg.cs.usm.my/~tcwan GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc F'print : DCF2 B9B2 FA4D 1208 AD59 14CA 9A8F F54D B2C4 63C7
%define name mmpython %define version 0.1 %define release 1 Summary: Python Media Meta Data module. See http://sourceforge.net/projects/mmpython for more info. Name: %{name} Version: %{version} Release: %{release} Source0: %{name}_%{version}.tar.gz Copyright: lgpl Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} %description MMPython is a Media Meta Data retrieval framework. It retrieves metadata from mp3, ogg, avi, jpg, tiff and other file formats. Among others it thereby parses ID3v2, ID3v1, EXIF, IPTC and Vorbis data into an object oriented structure. Further info can be obtained from http://sourceforge.net/projects/mmpython. %prep %setup -n %{name}_%{version} %build env CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %changelog * Fri Sep 5 2003 TC Wan <[EMAIL PROTECTED]> - Initial SPEC file for python site-packages installation