Update of /cvsroot/freevo/freevo/contrib/rpm In directory sc8-pr-cvs1:/tmp/cvs-serv26597
Added Files: Numeric.spec PIL.spec mmpython.spec Log Message: Spec files for supporting libraries --- NEW FILE: Numeric.spec --- %define name Numeric %define version 23.1 %define release 1_rh9_py2.2.2 Summary: Numerical Extension to Python Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.gz Copyright: UNKNOWN Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} Vendor: Numerical Python Developers <[EMAIL PROTECTED]> Provides: python-numeric python-numeric-devel Url: http://numpy.sourceforge.net %description Numerical Extension to Python with subpackages. The authors and maintainers of the subpackages are: FFTPACK-3.1 maintainer = "Numerical Python Developers" maintainer_email = "[EMAIL PROTECTED]" description = "Fast Fourier Transforms" url = "http://numpy.sourceforge.net" MA-12.2.0 author = "Paul F. Dubois" description = "Masked Array facility" maintainer = "Paul F. Dubois" maintainer_email = "[EMAIL PROTECTED]" url = "http://sourceforge.net/projects/numpy" RNG-3.1 author = "Lee Busby, Paul F. Dubois, Fred Fritsch" maintainer = "Paul F. Dubois" maintainer_email = "[EMAIL PROTECTED]" description = "Cray-like Random number package." %prep %setup %build env CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --no-compile --root=$RPM_BUILD_ROOT cat >INSTALLED_FILES <<EOF %doc Demo EOF find $RPM_BUILD_ROOT -type f | sed -e "s|$RPM_BUILD_ROOT||g" >>INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) --- NEW FILE: PIL.spec --- %define tarballname Imaging %define version 1.1.4 %define corelib libImaging Summary: Python Imaging Library (PIL) Name: PIL Version: %{version} Release: 1 License: PIL_Freeware Group: Development/Libraries Source: http://www.pythonware.com/%{tarballname}-%{version}.tar.gz Patch: %{tarballname}-%{version}-setup.patch URL: http://www.pythonware.com/ Provides: python-imaging, Imaging Requires: python Requires: libpng Requires: libjpeg Requires: zlib BuildRequires: python BuildRequires: libpng-devel BuildRequires: libjpeg-devel BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n) %description The Python Imaging Library (PIL) adds image processing capabilities to your Python environment. This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities. %prep %setup -n %{tarballname}-%{version} %patch -p1 %build pushd %corelib %configure make popd python setup.py build %install python setup.py install --no-compile --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES cat >>INSTALLED_FILES <<EOF %doc Doc Images Scripts %doc README CONTENTS CHANGES-114 %doc selftest.py doctest.py EOF %clean rm -rf $RPM_BUILD_ROOT %post %preun %files -f INSTALLED_FILES %defattr(-,root,root) %changelog * Mon Sep 15 2003 TC Wan <[EMAIL PROTECTED]> Initial SPEC file for RH 9 --- NEW FILE: mmpython.spec --- %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 --no-compile --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %changelog * Mon Sep 8 2003 TC Wan <[EMAIL PROTECTED]> - Disable generation of .pyc files using --no-compile flag * Fri Sep 5 2003 TC Wan <[EMAIL PROTECTED]> - Initial SPEC file for python site-packages installation ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog