Репозитории ALT
Последнее обновление в Пт, 24 июля 2020, 14:09:54 +0000 | Пакетов: 24181
en ru
Исходные пакеты в ветвях
свернуть окно
Группа :: Игры/Настольные
Исходный пакет: xboard
Необработанный spec-файл

Name: xboard
Version: 4.9.1
Release: alt2

Summary: An X Window System graphical chessboard
License: GPLv3+
Group: Games/Boards

# git://git.savannah.gnu.org/xboard.git

Url: http://www.gnu.org/software/xboard/
Source0: ftp://ftp.gnu.org/pub/gnu/xboard/%name-%version.tar
Source1: xboard-16x16.png
Source2: xboard-32x32.png
Source3: xboard-48x48.png
Source4: xboard.desktop
Source5: xboard.ad
Packager: Stanislav Ievlev <inger at altlinux.org>

Requires: %name-theme
# xboard 4.4 uses fairymax as default engine,

# special runtime configuration needed for GNU Chess

Requires: fairymax

# needs helvetica: #30634

Requires: fonts-bitmap-100dpi

# Automatically added by buildreq on Sun Apr 10 2016

# optimized out: fontconfig fontconfig-devel glib2-devel libX11-devel libatk-devel libcairo-devel libfreetype-devel libgdk-pixbuf libgdk-pixbuf-devel libgio-devel libpango-devel libwayland-client libwayland-server perl-Encode perl-Text-Unidecode perl-Unicode-EastAsianWidth perl-Unicode-Normalize perl-libintl perl-unicore pkg-config python-base python-modules xorg-xproto-devel xz

BuildRequires: groff-base libgtk+2-devel librsvg-devel makeinfo

%set_verify_info_method none

%description
Xboard is an X Window System based graphical chessboard which can be
used with the GNUchess and Crafty chess programs, with Internet Chess
Servers (ICSs), with chess via email, or with your own saved games.

%package theme-default
Summary: default theme for xboard
Group: Graphics
License: GPL
Provides: %name-theme
Requires: %name
Conflicts: xboard-theme-eyes xboard-theme-fantasy xboard-theme-freak
Conflicts: xboard-theme-prmi xboard-theme-skulls xboard-theme-spatial
BuildArch: noarch

%description theme-default
default theme for xboard

%prep
%setup

%build
%add_optflags -fcommon
%autoreconf
%configure --with-gtk
%make_build

%install
%makeinstall

#icon

install -Dpm644 %SOURCE1 %buildroot%_miconsdir/%name.png
install -Dpm644 %SOURCE2 %buildroot%_niconsdir/%name.png
install -Dpm644 %SOURCE3 %buildroot%_liconsdir/%name.png
install -Dpm644 %SOURCE4 %buildroot%_desktopdir/%name.desktop
install -Dpm644 %SOURCE5 %buildroot%_sysconfdir/X11/app-defaults/XBoard

#default theme

install -d %buildroot%_datadir/%name/theme
#cp -a pixmaps/*.xpm %buildroot%_datadir/%name/theme


%find_lang %name

%files -f %name.lang
%doc AUTHORS COPYING COPYRIGHT ChangeLog* NEWS TODO
%doc FAQ.html README
%config(noreplace) %_sysconfdir/X11/app-defaults/*
%config(noreplace) %_sysconfdir/%name.conf
%_bindir/*
%_man6dir/*
%_infodir/*.info*
%_datadir/mime/*/*.xml
%_gamesdatadir/%name/pixmaps/
%_gamesdatadir/%name/sounds/
%_desktopdir/*
%_miconsdir/*.png
%_niconsdir/*.png
%_liconsdir/*.png
%_iconsdir/*/*/*/*.svg

%files theme-default
%_gamesdatadir/%name/themes/

%changelog
* Wed Mar 24 2021 Grigory Ustinov <grenka at altlinux.org> 4.9.1-alt2
- Fixed FTBFS.
- Fixed licence.

* Thu Jan 24 2019 Grigory Ustinov <grenka at altlinux.org> 4.9.1-alt1
- Build new version.

* Sun Apr 10 2016 Michael Shigorin <mike at altlinux.org> 4.8.0-alt2
- switched to GTK+ UI

* Sun Apr 10 2016 Stanislav Ievlev <inger at altlinux.org> 4.8.0-alt1
- 4.8.0
- buildreq
- theme-default subpackage includes shogi and xiangqi too now

* Sun Apr 10 2016 Michael Shigorin <mike at altlinux.org> 4.5.2-alt3
- added BR: makeinfo

* Thu Jan 15 2015 Michael Shigorin <mike at altlinux.org> 4.5.2-alt2
- added R: fonts-bitmap-100dpi (closes: #30634)

* Mon Jul 11 2011 Michael Shigorin <mike at altlinux.org> 4.5.2-alt1
- 4.5.2

* Mon Oct 11 2010 Michael Shigorin <mike at altlinux.org> 4.4.4-alt2
- backdating repocop fixup build changelog record

* Sat Oct 09 2010 Michael Shigorin <mike at altlinux.org> 4.4.4-alt1
- 4.4.4
- added an SVG icon
- added formal theme conflicts

* Thu Nov 12 2009 Repocop Q. A. Robot <repocop at altlinux.org> 4.2.7-alt4.qa1
- NMU (by repocop): the following fixes applied:
* obsolete-call-in-post-install-info for xboard
* update_menus for xboard
* postclean-05-filetriggers for spec file

* Wed Oct 21 2009 Michael Shigorin <mike at altlinux.org> 4.4.1-alt0.2
- require fairymax instead of chess

* Mon Oct 12 2009 Michael Shigorin <mike at altlinux.org> 4.4.1-alt0.1
- NMU: 4.4.1 git snapshot 7734c79f4d6e76e3d80f7ff42aea9e891102bc99
(as-needed issue fixed upstream, see also savannah bug #27672)
- moved to gear-based build
- updated docs file list

* Sun Oct 11 2009 Michael Shigorin <mike at altlinux.org> 4.4.0-alt1
- NMU: 4.4.0 (closes: #21891)
- fix an --as-needed issue
- theme package made noarch
- disable info verify (breaks package build for no reason)
- drop info patch (merged upstream)
- drop obsolete macros/requires
- spec cleanup
- buildreq

* Mon Oct 29 2007 Stanislav Ievlev <inger at altlinux.org> 4.2.7-alt4
- fix requires

* Thu Oct 18 2007 Stanislav Ievlev <inger at altlinux.org> 4.2.7-alt3
- add app-defaults file with right defaults
- allow multiple themes now

* Mon Feb 27 2006 Stanislav Ievlev <inger at altlinux.org> 4.2.7-alt2
- updated buildreq, fixed icons path

* Tue Jan 27 2004 Stanislav Ievlev <inger at altlinux.org> 4.2.7-alt1
- 4.2.7

* Thu Sep 19 2002 Stanislav Ievlev <inger at altlinux.ru> 4.2.6-alt2
- rebuild with gcc3

* Mon May 27 2002 Stanislav Ievlev <inger at altlinux.ru> 4.2.6-alt1
- 4.2.6

* Tue Sep 11 2001 Sergey V Turchin <zerg at altlinux.ru> 4.2.3-alt2
- fix menu

* Thu Apr 05 2001 Stanislav Ievlev <inger at altlinux.ru> 4.2.3-alt1
- Upgrade to 4.2.3

* Wed Jan 17 2001 AEN <aen@logic.ru>
- RE adaptation
 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT