Name: ccgo Version: 0.3.6.5 Release: 10%{?dist} Summary: An IGS (Internet Go Server) client written in C++ License: GPLv3+ URL: http://ccdw.org/~cjj/prog/%{name}/ Source0: %{url}src/%{name}-%{version}.tar.gz # NOTE: It would be *awesome* if this file was maintained by the upstream # project, translated and installed into the right place during `make install`. # See for more details. Source1: %{name}.appdata.xml # Fix building against libsigc++-2.6.0, bug #1304679 Patch0: ccgo-0.3.6.5-Port-to-libsigc-2.6.0.patch # Adapt to assert() macro changes in glibc > 2.26, bug #1482990 Patch1: ccgo-0.3.6.5-Adapt-to-glibc-assert-change.patch # Update config.sub to support aarch64, bug #925132 BuildRequires: autoconf BuildRequires: automake BuildRequires: coreutils BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: gettext-devel BuildRequires: libappstream-glib BuildRequires: make BuildRequires: ncurses-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(gconfmm-2.6) BuildRequires: pkgconfig(gtkmm-2.4) BuildRequires: sed # Optional, but ccgo does not signal missing gnugo through GUI Requires: gnugo %description ccGo allows you to play go with GNU Go on your computer or with other players on an Internet Go Server (IGS) on the Internet. It supports smart game format (SGF) suitable for exchanging game records. %prep %setup -q %patch0 -p1 %patch1 -p1 # Make XDG desktop file compliant sed -i -e '/^Encoding/d' -e '/^Categories/s/Application;//' \ %{name}.desktop.in # Update config.sub to support aarch64, bug #925132 autoreconf -i -f %build %configure make %{?_smp_mflags} %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop appstream-util validate-relax --nonet \ %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml %install make install DESTDIR=%{buildroot} # Register as an application to be visible in the software center install -d %{buildroot}%{_datadir}/appdata install -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/appdata %find_lang %{name} %files -f %{name}.lang %license COPYING %doc AUTHORS README %{_bindir}/* %{_mandir}/man*/* %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/* %changelog * Mon Jan 21 2019 Kalev Lember - 0.3.6.5-10 - Fix component type typo in appdata file * Thu Jul 12 2018 Fedora Release Engineering - 0.3.6.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.3.6.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Aug 18 2017 Petr Pisar - 0.3.6.5-7 - Adapt to assert() macro changes in glibc > 2.26 (bug #1482990) * Wed Aug 02 2017 Fedora Release Engineering - 0.3.6.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.3.6.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon May 15 2017 Fedora Release Engineering - 0.3.6.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild * Thu Mar 09 2017 Petr Pisar - 0.3.6.5-3 - Modernize spec file - Add content rating to the AppData file * Fri Feb 10 2017 Fedora Release Engineering - 0.3.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Petr Pisar - 0.3.6.5-1 - 0.3.6.5 bump - Fix building against libsigc++-2.6.0 (bug #1304679) * Wed Feb 03 2016 Fedora Release Engineering - 0.3.6.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.3.6.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.3.6.4-14 - Rebuilt for GCC 5 C++11 ABI change * Thu Mar 26 2015 Richard Hughes - 0.3.6.4-13 - Add an AppData file for the software center * Fri Aug 15 2014 Fedora Release Engineering - 0.3.6.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.3.6.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Dec 03 2013 Petr Pisar - 0.3.6.4-10 - Pass compilation with -Wformat-security (bug #1037009) * Sat Aug 03 2013 Fedora Release Engineering - 0.3.6.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Mar 27 2013 Petr Pisar - 0.3.6.4-8 - Update config.sub to support aarch64 (bug #925132) * Wed Feb 13 2013 Fedora Release Engineering - 0.3.6.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 0.3.6.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Feb 28 2012 Fedora Release Engineering - 0.3.6.4-5 - Rebuilt for c++ ABI breakage * Thu Jan 12 2012 Fedora Release Engineering - 0.3.6.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Nov 07 2011 Petr Pisar - 0.3.6.4-3 - Rebuild against new libpng-1.5.6 and clean spec file * Tue Feb 08 2011 Fedora Release Engineering - 0.3.6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Aug 16 2010 Petr Pisar - 0.3.6.4-1 - 0.3.6.4 imported