]> git.pld-linux.org Git - packages/eboard.git/blobdiff - eboard.spec
- 1.1.1
[packages/eboard.git] / eboard.spec
index 08ffbed9210750df3913dd406562d6b1a6cedfe4..bbac6f4fabf1d3cc37a1ae8908f250ef806bbb31 100644 (file)
@@ -1,20 +1,22 @@
+# TODO:
+# - check why it fails with ccache turned on
 Summary:       GTK+ chess board interface for ICS and chess engines
 Summary(pl.UTF-8):     Interfejs GTK+ do szachowych programów i serwerów
 Name:          eboard
-Version:       1.0.3
-Release:       0.1
+Version:       1.1.1
+Release:       1
 License:       GPL v2+
 Group:         X11/Applications/Games
 Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
-# Source0-md5: 833e656549d9fd9191e51b08005633e3
-URL:           http://eboard.sourceforge.net/index.html
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: gettext-devel
+# Source0-md5: 03dcdaa2bc85218b1b18c4bee276fea7
+Source1:       %{name}.desktop
+URL:           http://www.bergo.eng.br/eboard/
 BuildRequires: gtk+-devel >= 1.2.6
 BuildRequires: imlib-devel
 BuildRequires: libstdc++-devel
-Requires:      gnuchess
+Suggests:      Sjeng-Free
+Suggests:      crafty
+Suggests:      gnuchess
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,7 +34,7 @@ szachowymi jak GNUchess, Sjeng czy Crafty.
 %prep
 %setup -q
 
-#I think it can be do better
+# This way is needed, because package contains non-standard configure file
 %build
 ./configure \
        --prefix="%{_prefix}" \
@@ -42,15 +44,22 @@ szachowymi jak GNUchess, Sjeng czy Crafty.
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install icon-eboard.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO Documentation/*.txt
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
 %{_mandir}/man[16]/*
+%{_pixmapsdir}/%{name}.xpm
This page took 0.052618 seconds and 4 git commands to generate.