Репозиторий Sisyphus
Последнее обновление: 22 августа 2017 | Пакетов: 17969 | Посещений: 9857818
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: uniset2-testsuite

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

%def_enable doc

Name: uniset2-testsuite
Version: 2.3
Release: alt10
Summary: UniSet test suite
Group: Development/Python
License: LGPL
Url: http://github.com/Etersoft/uniset2-testsuite
Source: %name-%version.tar
# Automatically added by buildreq on Thu Oct 02 2014
# optimized out: pkg-config python-base python-devel python-modules
BuildRequires: python-module-distribute

BuildRequires: python-module-uniset2 >= 2.5-alt6

Requires: python-module-uniset2 >= 2.5-alt6

%if_enabled doc
BuildRequires: doxygen
%endif

%description
%summary

%package gui
Summary: GUI interface of uniset2-testsuite
Group: Development/Python
Requires: %name = %version-%release
Requires: python-module-pygtk
AutoReq: no
%description gui
GUI (gtk) interface of uniset2-testsuite

%package doc
Summary: docs for uniset2-testsuite
Group: Development/Python
BuildArch: noarch
Requires: %name = %version-%release
%description doc
Documentation for uniset2-testsuite

%prep
%setup

%build
%autoreconf
%if_enabled doc
%configure
%else
%configure --disable-docs
%endif
%configure
#%make_build
%make

%install
%make_install install DESTDIR=%buildroot

mkdir -p %buildroot%python_sitelibdir/%name
mv -f %buildroot%python_sitelibdir/*.py %buildroot%python_sitelibdir/%name/

mkdir -p %buildroot/%_bindir/
ln -s %python_sitelibdir/%name/TestSuiteXMLPlayer.py %buildroot/%_bindir/uniset2-testsuite-xmlplayer
ln -s %python_sitelibdir/%name/guiTestSuitePlayer-gtk.py %buildroot/%_bindir/uniset2-testsuite-gtkplayer
ln -s %python_sitelibdir/%name/%name-conv.py %buildroot/%_bindir/uniset2-testsuite-conv

#%if_enabled doc

#  mkdir -p %buildroot/%_docdir/%name
#  mv %buildroot/%_docdir/%name/html/* %buildroot/%_docdir/%name/
#  rmdir %buildroot/%_docdir/%name/html
#%endif

%files
%dir %python_sitelibdir/%name
%python_sitelibdir/*
%_bindir/uniset2-testsuite-xmlplayer
%_bindir/uniset2-testsuite-conv
%python_sitelibdir/%name/*
%exclude %python_sitelibdir/%name/gui*Player*
%exclude %python_sitelibdir/%name/Gtk*
%exclude %python_sitelibdir/%name/ScenarioParamEditor*
%exclude %python_sitelibdir/%name/dlg*

%files gui
%python_sitelibdir/%name/guiTestSuitePlayer-gtk.py
%python_sitelibdir/%name/GtkProcessMonitor.py
%python_sitelibdir/%name/ScenarioParamEditor*
%python_sitelibdir/%name/dlg*
%_bindir/uniset2-testsuite-gtkplayer
%dir %_datadir/%name/player/
%dir %_datadir/%name/player/editors
%_datadir/%name/player/*.ui
%_datadir/%name/player/editors
%dir %_datadir/%name/player/images
%_datadir/%name/player/images/*

%if_enabled doc
%files doc
%_docdir/%name
%endif

%changelog

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

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