File boats.spec of Package boats

# This RPM packaging is Copyright (c) 2010, Thibaut GRIDEL <>
# and is licensed under the GPLv3.

Name: boats
Version: 202008
Release: 1
Group: Amusements/Teaching/Other
License: GPLv3
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%if 0%{?suse_version}
BuildRequires: libqt5-qtbase-devel libqt5-linguist giflib-devel update-desktop-files
%define qmake qmake-qt5

%if 0%{?fedora}
BuildRequires: qt5-qtbase-devel qt5-linguist giflib-devel gcc-c++ libstdc++-devel
%define qmake qmake-qt5

%if 0%{?mandriva_version}
%ifarch x86_64
BuildRequires: qt5-devel lib64ungif4-devel
BuildRequires: qt5-devel giflib-devel
%define qmake qmake

BuildRequires: shared-mime-info
Summary: A race scenario drawing tool
Source: %{name}_%{version}.tar.gz

Boat Scenario is a drawing tool. It is your ideal companion for training
sessions, rule learning, strategy explanations and more. It lets you make
a presentation of a situation, describing the facts as you represent the


%setup -q

%{qmake} CONFIG+=gif_export CONFIG+=unix_deploy PREFIX=/usr

install -D -m644 doc/boats.1 \
%if 0%{?suse_version}
%suse_update_desktop_file -r boats Education Teaching

%doc %{_mandir}/man1/boats.1*
%dir /usr/share/boats
%dir /usr/share/icons/hicolor
%dir /usr/share/icons/hicolor/128x128
%dir /usr/share/icons/hicolor/128x128/apps
%dir /usr/share/icons/hicolor/16x16
%dir /usr/share/icons/hicolor/16x16/apps
%dir /usr/share/icons/hicolor/16x16/mimetypes
%dir /usr/share/icons/hicolor/32x32
%dir /usr/share/icons/hicolor/32x32/apps
%dir /usr/share/icons/hicolor/32x32/mimetypes
%dir /usr/share/icons/hicolor/48x48
%dir /usr/share/icons/hicolor/48x48/apps
%dir /usr/share/icons/hicolor/48x48/mimetypes

/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :


* Sat Aug 15 2020 Thibaut GRIDEL <> - 202008
- Upstream version 202008

* Thu Apr 12 2012 Thibaut GRIDEL <> - 201204
- Upstream version 201204

* Sun Apr 04 2010 Thibaut GRIDEL <> - 201004
- Upstream version 201004

* Sat Mar 06 2010 Thibaut GRIDEL <> - 200910
- Upstream version 200910
openSUSE Build Service is sponsored by