3 changed files with 0 additions and 116 deletions
@ -1,14 +0,0 @@
|
||||
[Desktop Entry] |
||||
Name=DevilutionX Hellfire |
||||
GenericName=DevilutionX Hellfire |
||||
Comment=Play Diablo: Hellfire on Linux |
||||
Comment[da]=Spil Diablo: Hellfire på Linux |
||||
Comment[hr]=Igrajte Diablo: Hellfire na Linuxu |
||||
Comment[it]=Gioca a Diablo: Hellfire su Linux |
||||
Exec=devilutionx |
||||
Icon=devilutionx-hellfire |
||||
Terminal=false |
||||
Type=Application |
||||
X-DCOP-ServiceType=Multi |
||||
X-KDE-StartupNotify=true |
||||
Categories=Game;RolePlaying; |
||||
@ -1,14 +0,0 @@
|
||||
[Desktop Entry] |
||||
Name=DevilutionX |
||||
GenericName=DevilutionX |
||||
Comment=Play Diablo I on Linux |
||||
Comment[da]=Spil Diablo I på Linux |
||||
Comment[hr]=Igrajte Diablo I na Linuxu |
||||
Comment[it]=Gioca a Diablo I su Linux |
||||
Exec=devilutionx --diablo |
||||
Icon=devilutionx |
||||
Terminal=false |
||||
Type=Application |
||||
X-DCOP-ServiceType=Multi |
||||
X-KDE-StartupNotify=true |
||||
Categories=Game;RolePlaying; |
||||
@ -1,88 +0,0 @@
|
||||
%define debug_package %{nil} |
||||
|
||||
Name: devilutionx |
||||
Version: 1.1.0 |
||||
Release: 1%{?dist} |
||||
Summary: Diablo I engine for modern operating systems |
||||
|
||||
License: Unlicensed |
||||
URL: https://github.com/Vitexus/devilutionX |
||||
Source0: https://github.com/Vitexus/devilutionX/archive/%{version}.tar.gz |
||||
Source1: devilutionx.desktop |
||||
Source2: deviltutionx-hellfire.desktop |
||||
|
||||
BuildRequires: cmake gcc gcc-c++ libstdc++-static glibc desktop-file-utils |
||||
BuildRequires: glibc-devel SDL2-devel SDL2_ttf-devel libsodium-devel libasan |
||||
Requires: SDL2_ttf libsodium |
||||
|
||||
%description |
||||
Diablo I devolved - magic behind the 1996 computer game |
||||
Note: Devilution requires an original copy of diabdat.mpq. None of the Diablo 1 game assets are provided by this package! |
||||
|
||||
%prep |
||||
%setup -q -n devilutionX-%{version} |
||||
|
||||
%build |
||||
mkdir -p build |
||||
rm -rf build/* |
||||
cd build |
||||
cmake .. |
||||
cmake --build . |
||||
cd .. |
||||
|
||||
%install |
||||
cd build |
||||
make INSTALL_ROOT=%{buildroot} |
||||
cd .. |
||||
mkdir -p %{buildroot}%{_bindir} |
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/ |
||||
install -p -D -m644 Packaging/resources/icon.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%{name}.png |
||||
install -p -D -m644 Packaging/resources/hellfire.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%{name}-hellfire.png |
||||
|
||||
install -m 755 build/devilutionx %{buildroot}%{_bindir}/%{name} |
||||
desktop-file-install --remove-category="Qt" --dir=%{buildroot}%{_datadir}/applications %{SOURCE1} |
||||
desktop-file-install --remove-category="Qt" --dir=%{buildroot}%{_datadir}/applications %{SOURCE2} |
||||
|
||||
%files |
||||
%{_bindir}/%{name} |
||||
%{_datadir}/applications/%{name}.desktop |
||||
%{_datadir}/applications/%{name}-hellfire.desktop |
||||
|
||||
%{_datadir}/fonts/truetype/CharisSILB.ttf |
||||
%{_datadir}/icons/hicolor/512x512/apps/%{name}.png |
||||
%{_datadir}/icons/hicolor/512x512/apps/%{name}-hellfire.png |
||||
|
||||
%post |
||||
# print info |
||||
cat <<BANNER |
||||
------------------------------------------------------------------------- |
||||
|
||||
Thank you for trying devilutionx! |
||||
|
||||
Please make sure that you have the game assets (specifically diabdat.mpq) |
||||
of Diablo I at hand! |
||||
|
||||
The game assets need to be in ~/.local/share/diasurgical/devilution. |
||||
This directory should be created automatically on launch by the binary. |
||||
|
||||
However, you can do this step manually by executing: |
||||
|
||||
mkdir -p ~/.local/share/diasurgical/devilution |
||||
|
||||
------------------------------------------------------------------------ |
||||
BANNER |
||||
|
||||
|
||||
|
||||
%changelog |
||||
* Wed Mar 03 2021 Gianluca Boiano - 0.3.1-3 |
||||
- Updated packaging files |
||||
- added icon to desktop file for Hellfire |
||||
|
||||
* Tue Apr 16 2019 Michael Seevogel <michael (at) michaelseevogel.de> - 0.3.1-2 |
||||
- Updated packaging files |
||||
- added icon to desktop file |
||||
|
||||
* Mon Apr 15 2019 Michael Seevogel <michael (at) michaelseevogel.de> - 0.3.1-1 |
||||
- Initial release for Fedora |
||||
Loading…
Reference in new issue