Группа :: Игры/Карты
Пакет: PySolFC
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define cardsetversion 1.1
Name: PySolFC
Version: 1.1
Release: alt1
%setup_python_module %name
Summary: A collection of solitare card games
Group: Games/Cards
License: GPLv2+
Url: http://pysolfc.sourceforge.net
Source0: http://downloads.sourceforge.net/pysolfc/%name-%version.tar.bz2
Source1: PySol.desktop
Source2: pysol-start-script
Patch0: pysolfc-setup.py-noglade.patch
Packager: Fr. Br. George <george at altlinux.ru>
BuildArch: noarch
Requires: %packagename = %version
Provides: pysol = 5.%version
%description
%name is a collection of more than 1000 solitaire card games. It is a fork
of PySol solitare. Its features include modern look and feel (uses Tile widget
set), multiple cardsets and tableau backgrounds, sound, unlimited undo, player
statistics, a hint system, demo games, a solitaire wizard, support for user
written plug-ins, an integrated HTML help browser, and lots of documentation.
%package -n %packagename
Summary: Supplemental python module for %name solitaire game collection
Group: Games/Cards
License: GPLv2+
%description -n %packagename
Supplemental python module for %name solitaire game collection
%prep
%setup -q
%patch0 -p0
%build
%python_build
%install
%python_install -O1
# install desktop file
install -D %SOURCE1 %buildroot%_desktopdir/%name.desktop
# install the startup wrapper
mv %buildroot%_bindir/pysol.py %buildroot%_datadir/%name
install -m755 %SOURCE2 %buildroot/%_bindir/pysol
%find_lang pysol
%files -f pysol.lang
%doc README PKG-INFO COPYING
%dir %_datadir/%name
%dir %python_sitelibdir/pysollib
%_bindir/pysol
%_datadir/%name/*
%_datadir/pixmaps/*
%_desktopdir/*.desktop
%files -n %packagename
%python_sitelibdir/pysollib/*
%python_sitelibdir/*egg-info
%changelog
…
Полный changelog можно просмотреть здесь
Name: PySolFC
Version: 1.1
Release: alt1
%setup_python_module %name
Summary: A collection of solitare card games
Group: Games/Cards
License: GPLv2+
Url: http://pysolfc.sourceforge.net
Source0: http://downloads.sourceforge.net/pysolfc/%name-%version.tar.bz2
Source1: PySol.desktop
Source2: pysol-start-script
Patch0: pysolfc-setup.py-noglade.patch
Packager: Fr. Br. George <george at altlinux.ru>
BuildArch: noarch
Requires: %packagename = %version
Provides: pysol = 5.%version
%description
%name is a collection of more than 1000 solitaire card games. It is a fork
of PySol solitare. Its features include modern look and feel (uses Tile widget
set), multiple cardsets and tableau backgrounds, sound, unlimited undo, player
statistics, a hint system, demo games, a solitaire wizard, support for user
written plug-ins, an integrated HTML help browser, and lots of documentation.
%package -n %packagename
Summary: Supplemental python module for %name solitaire game collection
Group: Games/Cards
License: GPLv2+
%description -n %packagename
Supplemental python module for %name solitaire game collection
%prep
%setup -q
%patch0 -p0
%build
%python_build
%install
%python_install -O1
# install desktop file
install -D %SOURCE1 %buildroot%_desktopdir/%name.desktop
# install the startup wrapper
mv %buildroot%_bindir/pysol.py %buildroot%_datadir/%name
install -m755 %SOURCE2 %buildroot/%_bindir/pysol
%find_lang pysol
%files -f pysol.lang
%doc README PKG-INFO COPYING
%dir %_datadir/%name
%dir %python_sitelibdir/pysollib
%_bindir/pysol
%_datadir/%name/*
%_datadir/pixmaps/*
%_desktopdir/*.desktop
%files -n %packagename
%python_sitelibdir/pysollib/*
%python_sitelibdir/*egg-info
%changelog
…
Полный changelog можно просмотреть здесь