Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37741195
en ru br
Репозитории ALT

Группа :: Графика
Пакет: gogh

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# test new macroses
%define python_build CFLAGS="%optflags" %__python setup.py build
%define python_install %__python setup.py install --root %buildroot

%define oname Gogh
Name: gogh
Version: 0.1.2.1
Release: alt1
Summary: 2D graphical editor

Group: Graphics
License: GPL
Url: http://www.goghproject.com/
Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://www.goghproject.com/%oname-%version.tar.bz2

# Typical environment for GNOME program

#Requires(post): GConf2
#Requires(post,postun): scrollkeeper
#Requires(post,postun): desktop-file-utils
#BuildPreReq: GConf2
#BuildPreReq: desktop-file-utils
#BuildPreReq: menu-devel

#add_python_req_skip brushdata brushmanagementdialog brushmanager brushstroke colordialog goghdoc goghglobals goghutil goghview layersdialog resizedialog savedialog scaledialog


Requires: python-module-PyXML librsvg
Requires: python%__python_version(libglade)
# python%__python_version(PyXML)
#add_python_lib_path %python_sitelibdir/

# Automatically added by buildreq on Thu Jun 19 2008

BuildRequires: python-devel

%description
Gogh is a GNU/Linux bitmap graphics editor. It is designed to work with
pressure-sensitive input devices, like a Wacom tablet.

%prep
%setup -n %oname-%version

%build
%python_build

%install
%python_install
# hack
cp *.xml %buildroot%python_sitelibdir/
cp *.py %buildroot%python_sitelibdir/
cp -a glade/ %buildroot%python_sitelibdir/
rm -f %buildroot%python_sitelibdir/setup*
%find_lang %name

#%post

#%update_menus
#%update_scrollkeeper
#%update_desktopdb

#%preun

#if [ $1 = 0 ]; then
#%gconf2_uninstall %name
#fi

#%postun

#%clean_menus
#%clean_scrollkeeper
#%clean_desktopdb

%files -f %name.lang
%doc README
%_bindir/%name
%python_sitelibdir/*
# hack
%python_sitelibdir/glade/
#%_datadir/%name/
#%_datadir/mime/packages/*
#%_pixmapsdir/*
#%_desktopdir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin