Summary: SRCP based locking table for digital model railroads Name: spdrs60 Version: 0.6.4 Release: 2%{?dist} License: GPLv2+ URL: http://spdrs60.sourceforge.net/ Source: http://sourceforge.net/projects/spdrs60/files/spdrs60/%{version}/spdrs60-%{version}.tar.bz2 BuildRequires: gcc-c++ BuildRequires: make BuildRequires: desktop-file-utils BuildRequires: docbook-style-dsssl BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qttools-devel BuildRequires: openjade %description Graphical program to comfortably control a digital model railroad. Visual appearance and usage comply to the SpDr of the German national railroad company. SpDrS60 needs a Simple Railroad Command Protocol (SRCP) server (e.g. erddcd or srcpd) as a link to the physical layout of the model. %package doc Summary: Documentation for %{name} BuildArch: noarch Requires: %{name} = %{version}-%{release} %description doc This package contains documentation for %{name}. %prep %setup -q for file in ./man/de/{centralclock,spdrs60}.* ./AUTHORS ./NEWS; do iconv -f latin1 -t utf8 < $file > $file.new mv -f $file.new $file done %build %configure %make_build %install %make_install %find_lang %{name} --with-man --all-name cp -p spdrs60.redhat.desktop spdrs60.desktop desktop-file-install \ --remove-key='Encoding' \ --set-key='Terminal' \ --set-value='false' \ --remove-category='Application' \ --delete-original \ --dir='%{buildroot}%{_datadir}/applications' \ spdrs60.desktop %files -f %{name}.lang %doc AUTHORS README TODO NEWS ChangeLog spdrs60.lsm %license COPYING %{_bindir}/%{name} %{_bindir}/centralclock %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}* %{_mandir}/man1/*.1* %files doc %docdir %{_docdir}/%{name}/html %{_docdir}/%{name}/html %changelog * Thu Oct 21 2021 Denis Fateyev - 0.6.4-2 - Spec file cleanup * Wed Oct 06 2021 Denis Fateyev - 0.6.4-1 - Initial Fedora RPM release