Update of /cvsroot/freevo/kaa/mevas
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5843/mevas

Added Files:
        kaa-mevas.spec setup.py 
Log Message:
move mevas to kaa.mevas

--- NEW FILE: setup.py ---
# -*- coding: iso-8859-1 -*-
# -----------------------------------------------------------------------------
# setup.py - Setup script for kaa.mevas
# -----------------------------------------------------------------------------
# $Id: setup.py,v 1.1 2005/06/26 17:00:59 dischi Exp $
#
# -----------------------------------------------------------------------------
# kaa-mevas - MeBox Canvas System
# Copyright (C) 2004-2005 Jason Tackaberry <[EMAIL PROTECTED]>
#
# First Edition: Jason Tackaberry <[EMAIL PROTECTED]>
# Maintainer:    Jason Tackaberry <[EMAIL PROTECTED]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MER-
# CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# -----------------------------------------------------------------------------

import os
import distutils.core

# create fake kaa.__init__.py
open('__init__.py', 'w').close()

# call setup
distutils.core.setup(
    name        = 'kaa-mevas',
    version     = '0.1',
    package_dir = {'kaa': ".", 'kaa.mevas': 'src',
                   'kaa.mevas.imagelib': "src/imagelib",
                   'kaa.mevas.displays': 'src/displays' },
    packages    = ['kaa', 'kaa.mevas', 'kaa.mevas.imagelib',
                   'kaa.mevas.displays'],
    )

# delete fake kaa.__init__.py
os.unlink('__init__.py')

--- NEW FILE: kaa-mevas.spec ---
Summary: Mevas (MeBox Canvas) is a canvas library for Python.
Name: mevas
Version: 0.0.2
Release: 1
License: LGPL
Group: System Environment/Libraries

Source: http://sault.org/mebox/downloads/mevas/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/root-%{name}-%{version}
Prefix: %{_prefix}

BuildRequires: pyimlib2 >= 0.0.6
BuildRequires: python >= 2.2

%description
Mevas (MeBox Canvas) is canvas library for Python that supports
multiple image libraries and display backends.

%prep
%setup

%build
python setup.py build

%install
%{__rm} -rf %{buildroot}
python setup.py install --root=%{buildroot} --record=INSTALLED_FILES

cat >>INSTALLED_FILES << EOF
%doc README
EOF

%clean
%{__rm} -rf %{buildroot}

%files -f INSTALLED_FILES
%defattr(-, root, root, 0755)


%changelog
* Sat Aug 14 2004 Jason Tackaberry <[EMAIL PROTECTED]> - 0.0.2-1
- Initial package



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to