]> git.pld-linux.org Git - packages/WordZ.git/blobdiff - WordZ.spec
- BR: unzip
[packages/WordZ.git] / WordZ.spec
index ead2118ba512fd711aaffb6fe8d32a134060043b..9748c5a8a05e1ca4be8502fdf8b7dbdce9366f81 100644 (file)
@@ -7,12 +7,15 @@ License:      GPL
 Group:         X11/Applications/Games
 Source0:       http://www.nooskewl.com/stuff/downloads/%{name}-src-%{version}.zip
 # Source0-md5: 7daf77559740a0a204e0a2b3c7ebcad6
+Source1:       %{name}.desktop
+Source2:       %{name}.png
 Patch0:                %{name}-Makefile.patch
 URL:           http://www.nooskewl.com/
 BuildRequires: OpenGL-GLU-devel
 BuildRequires: OpenGL-devel
 BuildRequires: SDL-devel
 BuildRequires: sed >= 4.0
+BuildRequires: unzip
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -35,8 +38,10 @@ Prosta gra krzyżówkowa.
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_desktopdir},%{_pixmapsdir}}
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 cp wordz $RPM_BUILD_ROOT%{_bindir}
 cp data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
 
@@ -47,3 +52,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/wordz
 %{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
This page took 0.058725 seconds and 4 git commands to generate.