Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37698946
en ru br
Репозитории ALT
S:4.0.3a-alt3.1
5.1: 4.0.2-alt1
www.altlinux.org/Changes

Группа :: Игры/Обучающие
Пакет: xtrkcad

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

Name: xtrkcad
Version: 4.0.3a
Release: alt3.1
Group: Games/Educational
License: GPL
Summary: XTrkCad Model Railroad CAD
Source: %name-source-%version.tar.gz
Patch0: xtrkcad-4.0.3a-alt-DSO.patch
URL: http://www.xtrkcad.org

# Automatically added by buildreq on Wed Jul 27 2011

# optimized out: cmake-modules fontconfig fontconfig-devel glib2-devel libX11-devel libatk-devel libcairo-devel libfreetype-devel libgdk-pixbuf libgdk-pixbuf-devel libgio-devel libgtk+2-devel libpango-devel libstdc++-devel libxml2-devel pkg-config xorg-xproto-devel
BuildRequires: cmake gcc-c++ libgtkhtml2-devel

%description
XTrkCad is a CAD program for designing Model Railroad layouts.
XTrkCad supports any scale, has libraries of popular brands of x
turnouts and sectional track (plus you add your own easily), can
automatically use spiral transition curves when joining track
and has extensive on-line help and demonstrations.
XTrkCad lets you manipulate track much like you would with actual
flex-track to modify, extend and join tracks and turnouts.
Additional features include tunnels, 'post-it' notes, on-screen
ruler, parts list, 99 drawing layers, undo/redo commands,
benchwork, 'Print to BitMap', elevations, train simulation and
car inventory.

%prep
%setup -n %name-source-%version
%patch0 -p2

%build
%add_optflags -fcommon
%cmake
%cmake_build
cat > %_cmake__builddir/%name.desktop << at  at  at
[Desktop Entry]
Type=Application
Name=XTrackCAD
GenericName=Railroad CAD
Comment=%summary
Icon=%name
Exec=%name
Terminal=false
Categories=Game;Simulation;
at  at  at

%install
install -D app/doc/png.d/bnewcar.png %buildroot%_niconsdir/%name.png
%cmake_install
install -D %_cmake__builddir/%name.desktop %buildroot%_desktopdir/%name.desktop

%files
%doc README app/lib/*.txt
%dir %_datadir/%name
%_datadir/%name/*
%_bindir/%{name}*
%_niconsdir/%name.png
%_desktopdir/%name.desktop

%changelog

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

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