Sophie

Sophie

distrib > Mageia > 7 > i586 > media > nonfree-release-src > by-pkgid > c886399fc2937f7ee75d6760a1f84182 > files > 2

tome-1.5.10-1.mga7.nonfree.src.rpm

%define engine  t-engine4

Name:           tome
Version:        1.5.10
Release:        %mkrel 1
Summary:        An open-source, single-player, roguelike RPG with 2D tiles
Group:          Games/Adventure
License:        GPLv3+ and Nonfree
URL:            http://te4.org
Source0:        %{name}-%{version}.tar.xz

BuildArch:      noarch
Requires:       %{engine} = %{version}
Obsoletes:      t-engine4-tome4 < 1.1.0-2
Obsoletes:      tome < 1.2.5-2
Provides:       t-engine4-tome4 = %{version}-%{release}

%description
Tales of Maj'Eyal (ToME) is a free, open source roguelike RPG, featuring
tactical turn-based combat and advanced character building. Play as one of
many unique races and classes in the lore-filled world of Eyal, exploring
random dungeons, facing challenging battles, and developing characters with
our own tailored mix of abilities and powers. With a modern graphical and
customisable interface, intuitive mouse control, streamlined mechanics and
deep, challenging combat, Tales of Maj'Eyal offers engaging roguelike
gameplay for the 21st century.

This package is in the Nonfree repository because some of its artwork is
granted to use with the ToME game only (see COPYING-MEDIA in the doc folder).

%prep
%setup -q

%build

%install
# Install the ToME-specific game data.
install -d %{buildroot}%{_gamesdatadir}/%{engine}/game/{addons,modules}
cp -r game/addons/%{name}* %{buildroot}%{_gamesdatadir}/%{engine}/game/addons/
cp -r game/modules/%{name}-%{version}* %{buildroot}%{_gamesdatadir}/%{engine}/game/modules/

# Create a symbolic link for "tome"
install -d %{buildroot}%{_gamesbindir}
ln -s %{_gamesbindir}/t-engine %{buildroot}%{_gamesbindir}/%{name}

# Install the desktop file.
install -d %{buildroot}%{_datadir}/applications
cat << EOF > %{buildroot}%{_datadir}/applications/%{name}.desktop
[Desktop Entry]
Name=Tales of Maj'Eyal
GenericName=2D roguelike game
GenericName[fr]=Roguelike en 2D
Comment=An open-source, single-player, roguelike RPG with 2D tiles
Comment[fr]=Un jeu de rôle libre, monojoueur avec des graphismes en 2D
Exec=t-engine
Icon=%{engine}
Terminal=false
Type=Application
Categories=Game;RolePlaying;
EOF

%files
%doc COPYING-MEDIA CREDITS
%{_gamesbindir}/%{name}
%{_gamesdatadir}/%{engine}/game/addons/%{name}*
%{_gamesdatadir}/%{engine}/game/modules/%{name}-%{version}*
%{_datadir}/applications/%{name}.desktop


%changelog
* Wed Oct 03 2018 wally <wally> 1.5.10-1.mga7
  (not released yet)
+ Revision: 1317256
- new version 1.5.10

* Fri Sep 21 2018 umeabot <umeabot> 1.5.5-2.mga7.nonfree
+ Revision: 1291871
- Mageia 7 Mass Rebuild

* Thu May 25 2017 akien <akien> 1.5.5-1.mga6.nonfree
+ Revision: 1104686
- Version 1.5.5

* Wed Apr 26 2017 akien <akien> 1.5.3-1.mga6.nonfree
+ Revision: 1097700
- Version 1.5.3

* Fri Mar 17 2017 akien <akien> 1.5.1-1.mga6.nonfree
+ Revision: 1093395
- Version 1.5.1

* Fri Mar 10 2017 akien <akien> 1.5.0-1.mga6.nonfree
+ Revision: 1091579
- Version 1.5.0

* Sat Oct 29 2016 akien <akien> 1.4.9-1.mga6.nonfree
+ Revision: 1063962
- Version 1.4.9

* Sat Jun 25 2016 akien <akien> 1.4.8-1.mga6.nonfree
+ Revision: 1037612
- Version 1.4.8

* Sun Apr 17 2016 akien <akien> 1.4.6-1.mga6.nonfree
+ Revision: 1003158
- Version 1.4.6

* Wed Jan 27 2016 akien <akien> 1.4.1-1.mga6.nonfree
+ Revision: 928216
- Version 1.4.1

* Sun May 10 2015 akien <akien> 1.3.1-2.mga5.nonfree
+ Revision: 821692
- Fix typo in desktop entry Exec field (mga#15902)

* Thu Apr 23 2015 akien <akien> 1.3.1-1.mga5.nonfree
+ Revision: 820586
- imported package tome