Репозиторий Sisyphus
Последнее обновление: 14 октября 2019 | Пакетов: 17518 | Посещений: 15270428
en ru br
Репозитории ALT
S:0.11.0-alt1.qa1.1.1
5.1: 0.11.0-alt1
4.1: 0.11.0-alt1
www.altlinux.org/Changes

Группа :: Эмуляторы
Пакет: dynagen

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

Name: dynagen
Version: 0.11.0
Release: alt1.qa1.1.1

Summary: Cisco router emulator (dynamips) controller
License: GPL
Group: Emulators
URL: http://dyna-gen.sourceforge.net
Packager: Dmitry Lebkov <dlebkov at altlinux.ru>

Source0: %name-%version.tar.gz

BuildArch: noarch

# Automatically added by buildreq on Sun Mar 23 2008

BuildRequires: python-base

%description
A front end to the Dynamips router emulator.  Uses .ini style files
to build the router instances and control the hypervisor

%prep
%setup

%install
mkdir -p %buildroot/%_sysconfdir
mkdir -p %buildroot/%_bindir
mkdir -p %buildroot/%python_sitelibdir
mkdir -p %buildroot/%_datadir/%name
mkdir -p %buildroot/%_docdir/%name-%version

#scripts

install -m 0644 dynagen.ini %buildroot/%_sysconfdir/%name.ini
install -m 0755 dynagen %buildroot/%_bindir/%name
install -m 0755 pemuwrapper.py %buildroot/%_bindir
install -m 0644 confConsole.py %buildroot/%python_sitelibdir/
install -m 0644 configobj.py %buildroot/%python_sitelibdir/
install -m 0644 console.py %buildroot/%python_sitelibdir/
install -m 0644 dynamips_lib.py %buildroot/%python_sitelibdir/
install -m 0644 pemu_lib.py %buildroot/%python_sitelibdir/
install -m 0644 pemubin.py %buildroot/%python_sitelibdir/
install -m 0644 validate.py %buildroot/%python_sitelibdir/
install -m 0644 configspec %buildroot/%_datadir/%name



#docs and examples

tar -cf - docs | tar -xf - -C %buildroot/%_docdir/%name-%version
tar -cf - sample_labs | tar -xf - -C %buildroot/%_docdir/%name-%version
install -m 0644 README.txt %buildroot/%_docdir/%name-%version

# There is a file in the package named .DS_Store or .DS_Store.gz,

# the file name used by Mac OS X to store folder attributes.  
# Such files are generally useless in packages and were usually accidentally
# included by copying complete directories from the source tarball.
find $RPM_BUILD_ROOT \( -name '*.DS_Store' -o -name '*.DS_Store.gz' \) -print -delete

%files
%_sysconfdir/%name.ini
%_bindir/%name
%_bindir/pemuwrapper.py
%python_sitelibdir/confConsole.py
%python_sitelibdir/configobj.py
%python_sitelibdir/console.py
%python_sitelibdir/dynamips_lib.py
%python_sitelibdir/pemu_lib.py
%python_sitelibdir/pemubin.py
%python_sitelibdir/validate.py
%dir %_datadir/%name
%_datadir/%name/configspec
%dir %_docdir/%name-%version
%_docdir/%name-%version/*

%changelog

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

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