Group :: Graphics
RPM: PythonCAD
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: PythonCAD
Version: 0.1.36
Release: alt2
%define tarname %name-DS1-R36
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
BuildPreReq: rpm-build-compat >= 1.2
%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_build
%install
install -d %buildroot%_bindir
%python_install
install gtkpycad.py %buildroot%_bindir/pycad
mkdir -p %buildroot{%_pixmapsdir,%_sysconfdir/pythoncad,%_desktopdir}
cp prefs.py %buildroot%_sysconfdir/pythoncad/
cat pythoncad.desktop | sed -e "s|gtkpycad.py|pycad|" > %buildroot%_desktopdir/%name.desktop
cp gtkpycad.png %buildroot%_pixmapsdir/
%files
%doc README NEWS
%_bindir/pycad
%python_sitelibdir/%name/
%_desktopdir/*
%_pixmapsdir/*
%_sysconfdir/pythoncad/
%changelog
…
Full changelog you can see here
Version: 0.1.36
Release: alt2
%define tarname %name-DS1-R36
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
BuildPreReq: rpm-build-compat >= 1.2
%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_build
%install
install -d %buildroot%_bindir
%python_install
install gtkpycad.py %buildroot%_bindir/pycad
mkdir -p %buildroot{%_pixmapsdir,%_sysconfdir/pythoncad,%_desktopdir}
cp prefs.py %buildroot%_sysconfdir/pythoncad/
cat pythoncad.desktop | sed -e "s|gtkpycad.py|pycad|" > %buildroot%_desktopdir/%name.desktop
cp gtkpycad.png %buildroot%_pixmapsdir/
%files
%doc README NEWS
%_bindir/pycad
%python_sitelibdir/%name/
%_desktopdir/*
%_pixmapsdir/*
%_sysconfdir/pythoncad/
%changelog
…
Full changelog you can see here