]> git.pld-linux.org Git - packages/eboard.git/blame - eboard.spec
- release 8 (by relup.sh)
[packages/eboard.git] / eboard.spec
CommitLineData
a6a4f455 1Summary: GTK+ chess board interface for ICS and chess engines
2d655216 2Summary(pl.UTF-8): Interfejs GTK+ do szachowych programów i serwerów
d411c89a 3Name: eboard
68757ca6 4Version: 1.1.1
d4c85be5 5Release: 8
5f4b5858 6License: GPL v2+
d411c89a 7Group: X11/Applications/Games
2848d767 8Source0: http://dl.sourceforge.net/eboard/%{name}-%{version}.tar.bz2
68757ca6 9# Source0-md5: 03dcdaa2bc85218b1b18c4bee276fea7
ca0c5577 10Source1: %{name}.desktop
a039827d 11Patch0: %{name}-const.patch
c3a9e9a1 12Patch1: %{name}-libpng15.patch
ca0c5577 13URL: http://www.bergo.eng.br/eboard/
ccdef418 14BuildRequires: gtk+2-devel
a039827d 15BuildRequires: libpng-devel
ccdef418 16BuildRequires: libstdc++-devel
17BuildRequires: perl-base
18BuildRequires: pkgconfig
7ccbd83f 19Suggests: Sjeng-Free
03c02667
PG
20Suggests: crafty
21Suggests: gnuchess
d411c89a 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25eboard is a chess interface for Unix-like systems (GNU/Linux, FreeBSD,
26Solaris, etc.) based on the GTK+ GUI toolkit. It provides a chess
27board interface to ICS (Internet Chess Servers) like FICS and to chess
28engines like GNU Chess, Sjeng and Crafty.
29
e8873f09
JR
30%description -l pl.UTF-8
31eboard jest interfejsem do programów szachowych dla systemów
32uniksowych opartym na bibliotece GTK+. Umożliwia współpracę zarówno z
33internetowymi serwerami szachowymi (ICS) jak również z programami
9f7255b9 34szachowymi jak GNUchess, Sjeng czy Crafty.
d411c89a 35
36%prep
37%setup -q
17cc977f 38%patch0 -p1
c3a9e9a1 39%patch1 -p1
d411c89a 40
68757ca6 41# This way is needed, because package contains non-standard configure file
d411c89a 42%build
5f4b5858 43./configure \
44 --prefix="%{_prefix}" \
45 --compiler="%{__cxx}" \
c3a9e9a1 46 --extra-libs="dl" \
5f4b5858 47 --man-prefix="%{_mandir}"
d411c89a 48%{__make}
49
d411c89a 50%install
51rm -rf $RPM_BUILD_ROOT
ca0c5577 52install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
d411c89a 53
54%{__make} install \
fbdeebdd 55 DESTDIR=$RPM_BUILD_ROOT
d411c89a 56
ca0c5577 57install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
58install icon-eboard.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
59
d411c89a 60%clean
61rm -rf $RPM_BUILD_ROOT
62
5f4b5858 63%files
d411c89a 64%defattr(644,root,root,755)
ca0c5577 65%doc AUTHORS ChangeLog README TODO Documentation/*.txt
d411c89a 66%attr(755,root,root) %{_bindir}/*
9f7255b9 67%{_datadir}/%{name}
ca0c5577 68%{_desktopdir}/%{name}.desktop
98cc1a9e 69%{_mandir}/man[16]/*
ca0c5577 70%{_pixmapsdir}/%{name}.xpm
This page took 0.06396 seconds and 4 git commands to generate.