diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 16:52:56 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 16:52:56 +0100 |
commit | 7b358424ebad9349421acd533c2fa1cbf6cf3e3e (patch) | |
tree | 686678532eefed525c242fd214d0cfb2914726c5 /distribution/posix/xtrkcad.spec |
Initial import of xtrkcad version 1:4.0.2-2
Diffstat (limited to 'distribution/posix/xtrkcad.spec')
-rw-r--r-- | distribution/posix/xtrkcad.spec | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/distribution/posix/xtrkcad.spec b/distribution/posix/xtrkcad.spec new file mode 100644 index 0000000..4f5e72e --- /dev/null +++ b/distribution/posix/xtrkcad.spec @@ -0,0 +1,42 @@ +Summary: XTrkCad
+Name: xtrkcad
+Version: 4.2.1
+Release: 1%{?dist}
+License: GPL
+Group: Applications/Engineering
+Vendor: XTrkCad Fork Project
+Source: xtrkcad-source-%{version}.tar.gz
+BuildRoot: /var/tmp/%{name}-root
+BuildRequires: gcc, cmake >= 2.4.7, pkgconfig, gtk2-devel, webkitgtk-devel
+BuildRequires: gettext, gettext-devel, glibc-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
+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} -q
+
+%build
+cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr/ .
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT/*
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-, root, root)
+%{_bindir}/xtrkcad
+%{_datadir}
+
|