Group :: Games/Other
RPM: arrows
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Group: Games/Other
# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/desktop-file-install gcc-c++
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: arrows
Version: 0.6
Release: alt3_28
Summary: Neat little maze game
License: GPLv2+
URL: http://noreason.ca/?file=software
Source0: http://noreason.ca/data/arrows-%{version}.tar.gz
Source1: arrows.desktop
Source2: arrows.png
Patch0: arrows-level-5.patch
BuildRequires: gcc
BuildRequires: libgtk+2-devel desktop-file-utils
Requires: icon-theme-hicolor
Source44: import.info
%description
It's a maze game of sorts. Guide the spinning blue thing through
the maze of arrows, creating and destroying arrows as necessary
to collect the green things.
%prep
%setup -q
%patch0 -p1
make clean
%build
%make_build CCOPTS="$RPM_OPT_FLAGS"
%install
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}
install -m 644 arrfl.? $RPM_BUILD_ROOT%{_datadir}/%{name}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps
install -p -m 644 %{SOURCE2}\
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps
%files
%doc LICENSE README
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
%changelog
…
Full changelog you can see here
# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/desktop-file-install gcc-c++
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: arrows
Version: 0.6
Release: alt3_28
Summary: Neat little maze game
License: GPLv2+
URL: http://noreason.ca/?file=software
Source0: http://noreason.ca/data/arrows-%{version}.tar.gz
Source1: arrows.desktop
Source2: arrows.png
Patch0: arrows-level-5.patch
BuildRequires: gcc
BuildRequires: libgtk+2-devel desktop-file-utils
Requires: icon-theme-hicolor
Source44: import.info
%description
It's a maze game of sorts. Guide the spinning blue thing through
the maze of arrows, creating and destroying arrows as necessary
to collect the green things.
%prep
%setup -q
%patch0 -p1
make clean
%build
%make_build CCOPTS="$RPM_OPT_FLAGS"
%install
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}
install -m 644 arrfl.? $RPM_BUILD_ROOT%{_datadir}/%{name}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps
install -p -m 644 %{SOURCE2}\
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps
%files
%doc LICENSE README
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
%changelog
…
Full changelog you can see here