diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:57 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:57 +0100 |
commit | 59dccf358523dfc7679d1d8c120452a71e42243c (patch) | |
tree | f0f3cc006e8157d6bd699bd644b7dd7b35387ac2 /distribution/fedora/xtrkcad.spec | |
parent | fd6639655b399a79fb72f494786a4f57da9c90e7 (diff) | |
parent | d0ca838c7ab297036b4a7c45351761a48fe05efd (diff) |
Merge branch 'feature/upstrem' into develop
Diffstat (limited to 'distribution/fedora/xtrkcad.spec')
-rw-r--r-- | distribution/fedora/xtrkcad.spec | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/distribution/fedora/xtrkcad.spec b/distribution/fedora/xtrkcad.spec new file mode 100644 index 0000000..84e4be1 --- /dev/null +++ b/distribution/fedora/xtrkcad.spec @@ -0,0 +1,50 @@ +Summary: XTrkCad CAD for Model Railroad layout +Name: xtrkcad +Version: 5.2.2 +Release: 1%{?dist} +License: GPLv2+ +URL: https://sourceforge.net/projects/xtrkcad-fork +Source0: https://sourceforge.net/projects/xtrkcad-fork/files/XTrackCad/Version%20%{version}%20/xtrkcad-source-%{version}.zip +BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: gcc, gcc-c++, cmake >= 2.4.7, pkgconfig, gtk2-devel +BuildRequires: libcmocka, libcmocka-devel, libzip, libzip-devel +BuildRequires: tinyxml, tinyxml-devel, pandoc +BuildRequires: gettext, gettext-devel, glibc-devel +Requires: libcmocka, libzip, tinyxml + +%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 +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 xtrkcad-source-%{version}/usr/local -q + +%build +cmake -D CMAKE_INSTALL_PREFIX:PATH=%{_prefix} -D CMAKE_BUILD_TYPE=Debug . +make + +%install +rm -rf $RPM_BUILD_ROOT/* +make DESTDIR=$RPM_BUILD_ROOT install + +%check +make test + +%files +%license app/COPYING +%defattr(-, root, root) +%{_bindir}/xtrkcad +%{_datadir} + +%changelog +* Tue Dec 14 2021 Phil Cameron +- V5.2.2 GA + |