Group :: Graphics
RPM: PythonCAD
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: PythonCAD
Version: 0.1.35
Release: alt1
%define tarname %name-DS1-R35
Summary: An open-source CAD package built designed around Python
License: GPL
Group: Graphics
Url: http://www.pythoncad.org/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://www.pythoncad.org/releases/%tarname.tar.bz2
# manually removed: eric
# Automatically added by buildreq on Sat Jan 06 2007
BuildRequires: python-dev python-modules-encodings
%add_python_req_skip AppKit Foundation Generic PyObjCTools objc PythonCAD
AutoProv: yes, nopython
BuildArch: noarch
%description
PythonCAD is an open-source CAD package built designed around Python.
As such, it aims to be a fully scriptable and customizable CAD
program. It is initially designed to run under Linux, one of the BSD
flavors, or Unix.
%prep
%setup -q -n %tarname
%build
%__python setup.py build
%install
install -d %buildroot%_bindir
%__python setup.py install \
--optimize=2 \
--root=%buildroot
install gtkpycad.py %buildroot%_bindir/pycad
mkdir -p %buildroot{%_pixmapsdir,%_sysconfdir/pythoncad,%_desktopdir}
cp prefs.py %buildroot%_sysconfdir/pythoncad/
cp pythoncad.desktop %buildroot%_desktopdir/
cp gtkpycad.png %buildroot%_pixmapsdir/
%post
%update_menus
%postun
%clean_menus
%files
%doc README NEWS
%_bindir/*
%python_sitelibdir/%name
%_desktopdir/*
%_pixmapsdir/*
%_sysconfdir/pythoncad/
%changelog
…
Full changelog you can see here
Version: 0.1.35
Release: alt1
%define tarname %name-DS1-R35
Summary: An open-source CAD package built designed around Python
License: GPL
Group: Graphics
Url: http://www.pythoncad.org/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://www.pythoncad.org/releases/%tarname.tar.bz2
# manually removed: eric
# Automatically added by buildreq on Sat Jan 06 2007
BuildRequires: python-dev python-modules-encodings
%add_python_req_skip AppKit Foundation Generic PyObjCTools objc PythonCAD
AutoProv: yes, nopython
BuildArch: noarch
%description
PythonCAD is an open-source CAD package built designed around Python.
As such, it aims to be a fully scriptable and customizable CAD
program. It is initially designed to run under Linux, one of the BSD
flavors, or Unix.
%prep
%setup -q -n %tarname
%build
%__python setup.py build
%install
install -d %buildroot%_bindir
%__python setup.py install \
--optimize=2 \
--root=%buildroot
install gtkpycad.py %buildroot%_bindir/pycad
mkdir -p %buildroot{%_pixmapsdir,%_sysconfdir/pythoncad,%_desktopdir}
cp prefs.py %buildroot%_sysconfdir/pythoncad/
cp pythoncad.desktop %buildroot%_desktopdir/
cp gtkpycad.png %buildroot%_pixmapsdir/
%post
%update_menus
%postun
%clean_menus
%files
%doc README NEWS
%_bindir/*
%python_sitelibdir/%name
%_desktopdir/*
%_pixmapsdir/*
%_sysconfdir/pythoncad/
%changelog
…
Full changelog you can see here