123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- %define pkgrel 1
- %define with_my_japo 0
- Summary: The Legend of Edgar - 2D Platform Game
- Name: edgar
- Version: 0.92
- Release: 1%{?_dist_release}
- Source: %{name}-%{version}-%{pkgrel}.tar.gz
- ## vine
- %if %{with_my_japo}
- Source100: edgar-0.46-ja.po
- %endif
- Patch: edgar-0.46-makefile-vine.patch
- URL: http://www.parallelrealities.co.uk/projects/edgar.php
- Group: Applications/Games
- License: GPLv2
- BuildRequires: SDL-devel
- BuildRequires: SDL_image-devel
- BuildRequires: SDL_mixer-devel
- BuildRequires: SDL_ttf-devel
- BuildRequires: SDL_net-devel
- BuildRequires: zlib-devel
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- Packager: munepi
- %description
- The Legend of Edgar. When his father fails to return home after venturing
- out one stormy night, Edgar sets off on a quest to rescue him.
- %prep
- [ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
- %setup -q
- #%patch -p1 -b .vine
- %if %{with_my_japo}
- ## vine
- %__install -m644 %{SOURCE100} locale/ja.po
- %endif
- %build
- %__make BIN_DIR=%{_bindir}
- %install
- [ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
- %__make install \
- DESTDIR=%{buildroot} \
- BIN_DIR=%{buildroot}%{_bindir}/
- ## remove unpackaged files
- %__rm -rf %{buildroot}%{_datadir}/doc
- %find_lang %{name}
- %clean
- [ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
- %files -f %{name}.lang
- %defattr(-,root,root,-)
- %doc doc/*
- %dir %{_datadir}/games/edgar
- %{_bindir}/edgar
- %{_datadir}/applications/edgar.desktop
- %{_datadir}/games/edgar/edgar.pak
- %{_datadir}/icons/hicolor/*/apps/edgar.png
- %changelog
- * Thu Jul 21 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.92-1
- - new upstream release
- * Fri Jun 24 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.87-1
- - new upstream release
- * Tue Mar 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.80-1
- - new upstream release
- * Mon Jan 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.73-1
- - new upstream release
- * Sat Oct 02 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.71-1
- - new upstream release
- * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.46-1
- - initial build
|