[packages/adom] Up to 3.3.3
arekm
arekm at pld-linux.org
Mon May 11 23:53:09 CEST 2026
commit 2aa02ec5cf1ad11157561f51fc98ee237ce94f26
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon May 11 23:52:46 2026 +0200
Up to 3.3.3
adom.spec | 36 ++++++++++++++++++++++--------------
1 file changed, 22 insertions(+), 14 deletions(-)
---
diff --git a/adom.spec b/adom.spec
index 8b863a5..ef8caa0 100644
--- a/adom.spec
+++ b/adom.spec
@@ -1,20 +1,23 @@
-%define _ver %(echo %{version} | tr -d .)
Summary: Very popular rogue-like adventure game
Summary(pl.UTF-8): Bardzo popularna tekstowa gra przygodowa
Name: adom
-Version: 1.1.1
-Release: 4
+Version: 3.3.3
+Release: 1
Epoch: 1
License: Postcardware
Group: Applications/Games
-Source0: http://www.adom.de/adom/download/linux/%{name}-%{_ver}-elf.tar.gz
-# Source0-md5: 801484ba7c7c03b3b999365bc45db053
-Source1: %{name}.desktop
-Source2: %{name}.png
-URL: http://www.adom.de/
-ExclusiveArch: %{ix86}
+Source0: https://www.adom.de/home/download/current/%{name}_linux_ubuntu_32_%{version}.tar.gz
+# Source0-md5: b8ce298c8359a042614e8e12019fe8cd
+Source1: https://www.adom.de/home/download/current/%{name}_linux_ubuntu_64_%{version}.tar.gz
+# Source1-md5: 0aea0ead6a153095616a654940a2628b
+Source2: %{name}.desktop
+Source3: %{name}.png
+URL: https://www.adom.de/
+ExclusiveArch: %{ix86} %{x8664}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%undefine _debugsource_packages
+
%define _scoredir /var/games/adom
%description
@@ -34,21 +37,26 @@ oparta na prostym trybie tekstowym, a sama gra jest kontrolowana przy
użyciu dużej liczby poleceń z klawiatury.
%prep
-%setup -q -n %{name}
+%ifarch %{ix86}
+%setup -q -T -c -a0
+%endif
+%ifarch %{x8664}
+%setup -q -T -c -a1
+%endif
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_scoredir},%{_sysconfdir},%{_desktopdir},%{_pixmapsdir}}
-install adom $RPM_BUILD_ROOT%{_bindir}
+install adom/adom $RPM_BUILD_ROOT%{_bindir}
touch $RPM_BUILD_ROOT%{_scoredir}/.HISCORE
cat > $RPM_BUILD_ROOT%{_sysconfdir}/adom_ds.cfg << EOF
%{_scoredir}
EOF
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -63,4 +71,4 @@ rm -rf $RPM_BUILD_ROOT
%{_desktopdir}/*.desktop
%{_pixmapsdir}/*
-%doc adomfaq.txt manual.doc readme.1st
+%doc adom/docs/adomfaq.txt adom/docs/manual.txt adom/docs/readme1st.txt adom/docs/credits.txt
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adom.git/commitdiff/2aa02ec5cf1ad11157561f51fc98ee237ce94f26
More information about the pld-cvs-commit
mailing list