]> git.pld-linux.org Git - packages/bfruit.git/commitdiff
- new spec master
authorlisu <lisu@pld-linux.org>
Mon, 30 Mar 2009 12:57:45 +0000 (12:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bfruit.spec -> 1.1

bfruit.spec [new file with mode: 0644]

diff --git a/bfruit.spec b/bfruit.spec
new file mode 100644 (file)
index 0000000..434b9f1
--- /dev/null
@@ -0,0 +1,42 @@
+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}
This page took 0.059289 seconds and 4 git commands to generate.