Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37706211
en ru br
ALT Linux repositórios
S:1.1-alt4_30

Group :: Jogos/Outros
RPM: sergueis-destiny

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009