Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37740403
en ru br
ALT Linux repos
5.0: 0.1.36-alt2
4.1: 0.1.36-alt1.1
4.0: 0.1.35-alt1
3.0: 0.1.23-alt1

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin