summaryrefslogtreecommitdiff
path: root/distribution/fedora
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/fedora')
-rw-r--r--distribution/fedora/xtrkcad.spec43
1 files changed, 33 insertions, 10 deletions
diff --git a/distribution/fedora/xtrkcad.spec b/distribution/fedora/xtrkcad.spec
index eae4a74..b5a0cd2 100644
--- a/distribution/fedora/xtrkcad.spec
+++ b/distribution/fedora/xtrkcad.spec
@@ -1,14 +1,12 @@
Name: xtrkcad
Summary: CAD for Model Railroad layout
-Version: 5.2.2
+Version: 5.3.0
Release: 1%{?dist}
License: GPLv2
URL: https://sourceforge.net/projects/xtrkcad-fork
Source0: https://sourceforge.net/projects/xtrkcad-fork/files/XTrackCad/Version%20%{version}/xtrkcad-source-%{version}GA.tar.gz
-# patch (to be removed on next GA release)
-# patch0 adds xtrkcad.desktop to build - Changed upstream
-# It also uses cJSON and xdg-utils packages
-Patch0: xtrkcad-5.2.2GA-xtrkcad.desktop.patch
+# fix build to use dynamic libzip
+Patch0: xtrkcad-5.3.0GA.libzip.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -22,6 +20,12 @@ BuildRequires: glibc-devel
BuildRequires: pandoc
BuildRequires: doxygen
BuildRequires: cjson-devel
+BuildRequires: mxml
+BuildRequires: mxml-devel
+BuildRequires: freeimage
+BuildRequires: freeimage-devel
+BuildRequires: inkscape
+BuildRequires: inkscape-libs
Requires: xdg-utils
@@ -35,20 +39,18 @@ 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.
+car inventory. Documents/help is in xtrkcad-doc rpm.
%prep
%setup -n xtrkcad-source-%{version}GA -q
-
-# removed on next GA release
-%patch0 -p1
+%patch 0 -p1
%package doc
Summary: Documentation for %{name}
BuildArch: noarch
%description doc
-This package contains user documentation for XTrkCad,
+This package contains user documentation and help for XTrkCAD,
in HTML format. It also contains demos, and examples.
%build
@@ -90,8 +92,29 @@ mv %{buildroot}/%{_datadir}/%{name}/applications/xtrkcad.xml \
%{_datadir}/%{name}/demos
%{_datadir}/%{name}/examples
%{_datadir}/%{name}/html
+%{_datadir}/locale/cy_GB/LC_MESSAGES/%{name}.mo
+%{_datadir}/locale/de_DE/LC_MESSAGES/%{name}.mo
+%{_datadir}/locale/fi/LC_MESSAGES/%{name}.mo
+%{_datadir}/locale/fr_FR/LC_MESSAGES/%{name}.mo
+%{_datadir}/locale/pt_BR/LC_MESSAGES/%{name}.mo
+%{_datadir}/locale/ru/LC_MESSAGES/%{name}.mo
%changelog
+* Fri Apr 26 2024 Phil Cameron <pecameron1 -at- gmail.com> 5.3.0-1
+- V5.3.0 GA
+
+* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.2-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.2-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
+* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
* Mon Feb 21 2022 Phil Cameron <pecameron1 -at- gmail.com> 5.2.2-1
- V5.2.2 GA