SPECS: paintown.spec (NEW) - new, from Zsolt Udvari

adamg adamg at pld-linux.org
Sun Aug 10 12:53:25 CEST 2008


Author: adamg                        Date: Sun Aug 10 10:53:25 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, from Zsolt Udvari

---- Files affected:
SPECS:
   paintown.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/paintown.spec
diff -u /dev/null SPECS/paintown.spec:1.1
--- /dev/null	Sun Aug 10 12:53:25 2008
+++ SPECS/paintown.spec	Sun Aug 10 12:53:20 2008
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+Summary:	Paintown is an open source fighting game in the same genre as Streets of Rage and Teenage Mutant Ninja Turtles
+Name:		paintown
+Version:	3.1
+Release:	1
+License:	GPL v2
+Group:		X11/Applications/Games
+Source0:	http://dl.sourceforge.net/paintown/%{name}-%{version}.tar.gz
+# Source0-md5:	0b5c5113022d92e76f0e19d4aa523e29
+URL:		http://paintown.sourceforge.net
+Patch0:		%{name}-keyboard-fix.patch
+BuildRequires:	allegro-devel >=4.1
+BuildRequires:	cmake
+BuildRequires:	dumb-devel
+BuildRequires:	freetype-devel
+BuildRequires:	libpng-devel
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Paintown is an open source fighting game in the same genre as Streets
+of Rage and Teenage Mutant Ninja Turtles.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+mkdir build
+cd build
+cmake ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cp build/bin/paintown .
+install -d $RPM_BUILD_ROOT%{_bindir}
+./install.sh -d $RPM_BUILD_ROOT%{_datadir}/%{name} -b $RPM_BUILD_ROOT%{_bindir}
+sed -i "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_bindir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README TODO
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_datadir}/%{name}/%{name}-bin
+%dir %{_datadir}/%{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  2008/08/10 10:53:20  adamg
+- new, from Zsolt Udvari
+
================================================================


More information about the pld-cvs-commit mailing list