Author: lisu                         Date: Mon Mar 30 12:57:51 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new spec

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

---- Diffs:

================================================================
Index: SPECS/bfruit.spec
diff -u /dev/null SPECS/bfruit.spec:1.1
--- /dev/null   Mon Mar 30 14:57:51 2009
+++ SPECS/bfruit.spec   Mon Mar 30 14:57:45 2009
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+Summary:       Slot machine game
+Summary(pl.UTF-8):     Jednoręki bandyta
+Name:          bfruit
+Version:       0.1.2
+Release:       1
+License:       GPL
+Group:         X11/Applications/Games
+Source0:       http://dl.sourceforge.net//bfruit/%{name}-%{version}.tar.bz2
+# Source0-md5: 8022b31e716d5a5878c58435a8d531e7
+URL:           http://bfruit.sourceforge.net/
+BuildRequires: sed >= 4.0
+Requires:      python-pygame
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+BFruit is an open source, GPL licensed fruit machine game written in
+python and pygame.
+
+%description -l pl.UTF-8
+BFruit jest to gra w "Jednorękiego bandytę" oparta na licencji GPL,
+napisana w pythonie z wykorzystaniem biblioteki pygame.
+
+%prep
+%setup -q
+%{__sed} -i -e 's#data/#%{_datadir}/%{name}/#' bfruit.py
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
+
+install bfruit.py $RPM_BUILD_ROOT%{_bindir}/%{name}
+cp -r data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+#%%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root) %{_bindir}/bfruit
+%{_datadir}/%{name}
+
+%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/03/30 12:57:45  lisu
+- new spec
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to