Group :: Jogos/Boards
RPM: cgoban
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Summary: Cgoban is an X board for playing Go (Weiqi)
Name: cgoban
Version: 1.9.14
Release: alt2.qa1
Group: Games/Boards
License: GPL
URL: http://cgoban1.sourceforge.net/
Packager: Paul Wolneykien <manowar at altlinux.ru>
Source: http://prdownloads.sourceforge.net/cgoban1/%{name}-%{version}.tar.gz
# Automatically added by buildreq on Tue Mar 29 2011 (-ba)
BuildRequires: libXt-devel
%description
Cgoban (Complete Goban) is for Unix systems with X11. It has the ability
to be a computerized Go board, view and edit smart-go files, and connect to
Go servers on the Internet.
%prep
%setup -q
%configure
%build
%make
%install
%makeinstall
# mkdir $RPM_BUILD_ROOT/usr/share
install -D -m 0644 cgoban_icon.png %buildroot%{_datadir}/pixmaps/%{name}.png
mkdir -p -m 0755 %buildroot%{_datadir}/applications
cat >%buildroot%{_datadir}/applications/%{name}.desktop <<EOF
[Desktop Entry]
Name=CGoban
Categories=Game;BoardGame;
Comment=CGoban board with Gnugo interface
Exec=%{_bindir}/%{name}
Icon=%{name}
Version=1.0
Type=Application
EOF
%files
%defattr(-,root,root,755)
%doc COPYING README TODO
%{_bindir}/*
%{_mandir}/man6/*
%{_datadir}/pixmaps/cgoban.png
%{_datadir}/applications/%{name}.desktop
%changelog
…
Todas as alterações você pod ver aqui
Name: cgoban
Version: 1.9.14
Release: alt2.qa1
Group: Games/Boards
License: GPL
URL: http://cgoban1.sourceforge.net/
Packager: Paul Wolneykien <manowar at altlinux.ru>
Source: http://prdownloads.sourceforge.net/cgoban1/%{name}-%{version}.tar.gz
# Automatically added by buildreq on Tue Mar 29 2011 (-ba)
BuildRequires: libXt-devel
%description
Cgoban (Complete Goban) is for Unix systems with X11. It has the ability
to be a computerized Go board, view and edit smart-go files, and connect to
Go servers on the Internet.
%prep
%setup -q
%configure
%build
%make
%install
%makeinstall
# mkdir $RPM_BUILD_ROOT/usr/share
install -D -m 0644 cgoban_icon.png %buildroot%{_datadir}/pixmaps/%{name}.png
mkdir -p -m 0755 %buildroot%{_datadir}/applications
cat >%buildroot%{_datadir}/applications/%{name}.desktop <<EOF
[Desktop Entry]
Name=CGoban
Categories=Game;BoardGame;
Comment=CGoban board with Gnugo interface
Exec=%{_bindir}/%{name}
Icon=%{name}
Version=1.0
Type=Application
EOF
%files
%defattr(-,root,root,755)
%doc COPYING README TODO
%{_bindir}/*
%{_mandir}/man6/*
%{_datadir}/pixmaps/cgoban.png
%{_datadir}/applications/%{name}.desktop
%changelog
…
Todas as alterações você pod ver aqui