Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37696878
en ru br
Репозитории ALT

Группа :: Игры/Прочее
Пакет: sergueis-destiny

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Group: Games/Other
# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/desktop-file-install unzip
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: sergueis-destiny
Version: 1.1
Release: alt4_30
Summary: Serguei's Destiny, an AGI adventure game

License: CC-BY-ND-4.0
URL: http://membres.lycos.fr/agisite/serguei.htm
Source0: serguei.zip
#Original from http://membres.lycos.fr/agisite/serguei.zip includes
#copyrighted executables. Generated new source by unzipping, removing
#DOS-related content, running dos2unix on the text file, and changing
#all filenames to lowercase for agistudio compatibility.
Source1: sergueis-destiny.desktop
Source2: sergueis-destiny-wrapper.sh
Source3: sergueis-destiny.xpm
Source4: sergueis-destiny-LICENSE.fedora
BuildArch: noarch

BuildRequires: desktop-file-utils
Requires: nagi, icon-theme-hicolor
Source44: import.info

%description
A bad wizard Blackmagic has cast his evil spell to the peaceful village
Jolimy. 50 years later, an apprentice sorcerer Serguei must break the
Blackmagic's spell and free Jolimy.

%prep
%setup -q -c

%build
iconv -f IBM850 -t UTF8 serguei.txt > tmp
mv tmp serguei.txt
cp %{SOURCE4} .

%install

mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -D -m0644 -p logdir object picdir serguei.txt sergueis-destiny-LICENSE.fedora snddir viewdir vol.0 words.tok $RPM_BUILD_ROOT%{_datadir}/%{name}
install -D -m0755 -p %{SOURCE2} $RPM_BUILD_ROOT/%{_bindir}

# desktop file

desktop-file-install \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE1}

# icon

install -d %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
install -p -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.xpm

%files
%doc serguei.txt sergueis-destiny-LICENSE.fedora
%{_datadir}/sergueis-destiny
%{_datadir}/applications/sergueis-destiny.desktop
%{_datadir}/icons/hicolor/32x32/apps/sergueis-destiny.xpm
%{_bindir}/sergueis-destiny-wrapper.sh

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin