SPECS: kartofel.spec (NEW) - initial
lisu
lisu at pld-linux.org
Tue Feb 10 14:20:41 CET 2009
Author: lisu Date: Tue Feb 10 13:20:41 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
kartofel.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/kartofel.spec
diff -u /dev/null SPECS/kartofel.spec:1.1
--- /dev/null Tue Feb 10 14:20:41 2009
+++ SPECS/kartofel.spec Tue Feb 10 14:20:36 2009
@@ -0,0 +1,70 @@
+# $Revision$, $Date$
+Summary: The game of skill and logic
+Summary(pl.UTF-8): Gra zręcznościowo-logiczna
+Name: kartofel
+Version: 1.2
+Release: 0.1
+License: GPL v2+
+Group: X11/Applications/Games
+Source0: http://kartofel.jfedor.org/downloads/%{name}-%{version}.tar.gz
+# Source0-md5: 4452da69e2e5c8f78ac22e234594dabf
+Patch0: %{name}-link.patch
+Patch1: %{name}-config.patch
+URL: http://kartofel.jfedor.org/
+BuildRequires: SDL_gfx-devel
+BuildRequires: SDL_image-devel
+BuildRequires: SDL_mixer-devel
+BuildRequires: SDL_ttf-devel
+BuildRequires: curl-devel
+BuildRequires: sed >= 4.0
+BuildRequires: zlib-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Kartofel is a game of skill and logic. The objective is to connect the
+numbered dots in order, without crossing over yourself.
+
+%description -l pl.UTF-8
+Kartofel jest grą zręcznościowo logiczną. Zadaniem gracza jest
+łączenie ponumerowanych kropek w odpowiedniej kolejności, nie
+przecinając istniejących już połączeń.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%{__sed} -i 's at g++@$(CXX)@' Makefile
+
+%build
+%{__make} \
+ CXX="%{__cxx}" \
+ CXXOPTIONS="%{rpmcxxflags} `sdl-config --cflags` `curl-config --cflags`" \
+ LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
+
+install kartofel $RPM_BUILD_ROOT%{_bindir}
+install kartofel.txt $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+cp -r {fonts,images,levels,music,sounds} $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES COPYRIGHT README
+%attr(755,root,root) %{_bindir}/%{name}
+%{_datadir}/%{name}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/02/10 13:20:36 lisu
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list