Author: lisu                         Date: Wed Jul 22 09:35:32 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/edgar:
   edgar.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/edgar/edgar.spec
diff -u /dev/null packages/edgar/edgar.spec:1.1
--- /dev/null   Wed Jul 22 11:35:32 2009
+++ packages/edgar/edgar.spec   Wed Jul 22 11:35:27 2009
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+Summary:       2D Platform game
+Summary(pl.UTF-8):     Dwuwymiarowa gra platformowa
+Name:          edgar
+Version:       0.20
+Release:       1
+License:       GPL v2+
+Group:         X11/Applications/Games
+# download it from http://www.parallelrealities.co.uk/projects/edgar.php
+# and put it into the edgar dir
+Source0:       %{name}-%{version}-1.tar.gz
+# Source0-md5: 98d0ee9f9232fd6322bdfbdc74ba7f15
+Source1:       %{name}.png
+Patch0:                %{name}-makefile.patch
+Patch1:                %{name}-usless_files.patch
+Patch2:                %{name}-desktop.patch
+URL:           http://www.parallelrealities.co.uk/projects/edgar.php
+BuildRequires: SDL_image-devel
+BuildRequires: SDL_mixer-devel
+BuildRequires: SDL_ttf-devel
+BuildRequires: zlib-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+In The Legend of Edgar you take on the role of Edgar as he ventures
+across the world, battling fearsome creatures and solving puzzles
+whilst trying to find and rescue his father.
+
+%description -l pl.UTF-8
+W The Legend of Edgar gracz wciela się w rolę Edgara
+podróżującego przez świat, walczącego z przerażającymi
+potworami i rozwiązującego zagadki podczas próby odnalezienia i
+uratowania swojego ojca.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+%build
+%{__make} \
+       CXX="%{__cc}" \
+       OPTFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_pixmapsdir}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/*
+%attr(755,root,root) %{_bindir}/edgar
+%{_datadir}/edgar
+%{_desktopdir}/edgar.desktop
+%{_pixmapsdir}/edgar.png
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/07/22 09:35:27  lisu
+- initial
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to