packages: phun/phun.spec (NEW) - requires libpng.so.3 - some attrs are bad ...

uzsolt uzsolt at pld-linux.org
Wed Dec 8 22:08:48 CET 2010


Author: uzsolt                       Date: Wed Dec  8 21:08:48 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- requires libpng.so.3
- some attrs are bad (phun and phun.bin)

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

---- Diffs:

================================================================
Index: packages/phun/phun.spec
diff -u /dev/null packages/phun/phun.spec:1.1
--- /dev/null	Wed Dec  8 22:08:48 2010
+++ packages/phun/phun.spec	Wed Dec  8 22:08:43 2010
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+Summary:	Phun is a free game like 2D physics sandbox
+Summary(hu.UTF-8):	Phun egy 2D fizikai játszótér
+Name:		phun
+Version:	5.28
+Release:	0.1
+License:	other
+Group:		Applications
+Source0:	http://www.phunland.com/download/Phun_beta_5_28_linux32.tgz
+# Source0-md5:	aade8e21f278cd386aa6143eaa16cf7c
+Source1:	http://www.phunland.com/download/Phun_beta_5_28_linux64.tgz
+# Source1-md5:	ff262b43cde833cbef0c3ef4f61287e7
+Source2:	%{name}
+Source3:	%{name}.desktop
+URL:		http://www.phunland.com
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Phun is a free game like 2D physics sandbox.
+
+%description -l hu.UTF-8
+Phun egy 2D fizikai játszótér.
+
+%prep
+%ifarch %{x8664}
+%setup -q -T -n Phun -b1
+%else
+%setup -q -T -n Phun -b0
+%endif
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+install -d $RPM_BUILD_ROOT%{_desktopdir}
+
+cp -r * $RPM_BUILD_ROOT%{_datadir}/%{name}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
+install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/phun
+%{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+
+%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  2010/12/08 21:08:43  uzsolt
+- requires libpng.so.3
+- some attrs are bad (phun and phun.bin)
+
================================================================


More information about the pld-cvs-commit mailing list