X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=crafty.spec;h=44f9230ffeb8364bccd59e221b7b1e5ea740bfb6;hb=612cba0ba97efda9b1f8aa64dde7c485e0bffa87;hp=69d90ec7b4dbf069f9adc20cb97e4eb39078cb4c;hpb=d916a97588bf88366f68092591bd4be9be66a03c;p=packages%2Fcrafty.git diff --git a/crafty.spec b/crafty.spec index 69d90ec..44f9230 100644 --- a/crafty.spec +++ b/crafty.spec @@ -1,12 +1,12 @@ Summary: Superior chess program by Bob Hyatt for Unix systems Summary(pl): Jeden z lepszych programów szachowych dla uniksów autorstwa Boba Hyatta Name: crafty -Version: 18.9 -Release: 2 +Version: 18.15 +Release: 1 License: GPL Group: Applications/Games Source0: ftp://ftp.cis.uab.edu/pub/hyatt/v18/%{name}-%{version}.tar.gz -# Source0-md5: 4cae4e95fb86421c6626baefadbff18f +# Source0-md5: e98774ac9b515bb5487c1789f5e6af4c Source1: ftp://ftp.cis.uab.edu/pub/hyatt/%{name}.faq # NoSource1-md5: f744727e291b6dec7e7c69bb3586b6dd Source2: ftp://ftp.cis.uab.edu/pub/hyatt/read.me @@ -17,6 +17,8 @@ Source4: ftp://ftp.cis.uab.edu/pub/hyatt/v18/%{name}.doc.ascii # NoSource4-md5: 5fd73027a1de1674763562e1987197ba Source5: ftp://ftp.cis.uab.edu/pub/hyatt/doc/%{name}.doc.ps # Source5-md5: 6cef69aa2f9ea1ceb74b6c14edc8291f +Source6: %{name}.desktop +Source7: xchess.png Patch0: %{name}-paths.patch Patch1: %{name}-Makefile.patch Icon: xchess.gif @@ -77,8 +79,10 @@ target="ALPHA" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/games/crafty} +install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/games/crafty,%{_desktopdir},%{_pixmapsdir}} install crafty $RPM_BUILD_ROOT%{_bindir} +install %{SOURCE6} $RPM_BUILD_ROOT%{_desktopdir} +install %{SOURCE7} $RPM_BUILD_ROOT%{_pixmapsdir} #install books.bin $RPM_BUILD_ROOT%{_libdir}/games/crafty #install -d %{_libdir}/games/crafty #install books.bin %{_libdir}/games/crafty/books.bin @@ -99,3 +103,5 @@ chmod g+w /usr/lib/games/crafty/book.lrn \ %attr(755,root,root) %{_bindir}/crafty %dir %{_libdir}/games/crafty #%{_libdir}/games/crafty/books.bin +%{_desktopdir}/* +%{_pixmapsdir}/*