Репозитории ALT
S: | 2.28.0-alt2 |
5.1: | 1.99.1-alt4 |
4.1: | 1.99.1-alt2 |
4.0: | 1.0-ipl36mdk |
3.0: | 1.0-ipl36mdk |
Группа :: Игры/Прочее
Пакет: fortune-mod
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# vim: set ft=spec: -*- spec -*-
# $Id: fortune-mod,v 1.3 2004/02/26 23:05:17 raorn Exp $
Name: fortune-mod
Version: 1.0
Release: ipl36mdk
Summary: A program which will display a fortune
License: BSD
Group: Games/Other
Packager: Sir Raorn <raorn at altlinux.ru>
Source: ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune-mod-9708.tar.bz2
Source1: kernelnewbies-fortunes.tar.gz
Source2: bofh-excuses.tar.bz2
Patch0: fortune-mod-offense.patch
Patch1: fortune-mod-1.0-remove-offensive.patch
Patch2: fortune-mod-1.0-alt-utf-8-data.patch
%description
Fortune-mod contains the ever-popular fortune program, which will
display quotes or witticisms. Fun-loving system administrators can add
fortune to users' .login files, so that the users get their dose of
wisdom each time they log in.
%prep
%setup -q -n fortune-mod-9708
%patch0 -p1
%patch1 -p0
%patch2 -p1
%build
%make_build COOKIEDIR=%_gamesdatadir/fortune \
FORTDIR=%_gamesbindir BINDIR=%_bindir
%make_build COOKIEDIR=%_datadir/games/fortune fortune/fortune.man
%install
%make_install FORTDIR=%buildroot/%_gamesbindir \
COOKIEDIR=%buildroot%_gamesdatadir/fortune \
BINDIR=%buildroot/%_bindir \
BINMANDIR=%buildroot/%_mandir/man1 \
FORTMANDIR=%buildroot/%_mandir/man6 \
install
%__tar zxvf %SOURCE1 -C %buildroot%_gamesdatadir/fortune/
%__rm -f %buildroot%_gamesdatadir/fortune/men-women*
bzcat %SOURCE2 | %__tar xvf - -C %buildroot%_gamesdatadir/fortune/
%files
%doc README ChangeLog TODO
%_gamesbindir/fortune
%_bindir/strfile
%_bindir/unstr
%_gamesdatadir/fortune
%_mandir/man?/*
%changelog
…
Полный changelog можно просмотреть здесь
# $Id: fortune-mod,v 1.3 2004/02/26 23:05:17 raorn Exp $
Name: fortune-mod
Version: 1.0
Release: ipl36mdk
Summary: A program which will display a fortune
License: BSD
Group: Games/Other
Packager: Sir Raorn <raorn at altlinux.ru>
Source: ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune-mod-9708.tar.bz2
Source1: kernelnewbies-fortunes.tar.gz
Source2: bofh-excuses.tar.bz2
Patch0: fortune-mod-offense.patch
Patch1: fortune-mod-1.0-remove-offensive.patch
Patch2: fortune-mod-1.0-alt-utf-8-data.patch
%description
Fortune-mod contains the ever-popular fortune program, which will
display quotes or witticisms. Fun-loving system administrators can add
fortune to users' .login files, so that the users get their dose of
wisdom each time they log in.
%prep
%setup -q -n fortune-mod-9708
%patch0 -p1
%patch1 -p0
%patch2 -p1
%build
%make_build COOKIEDIR=%_gamesdatadir/fortune \
FORTDIR=%_gamesbindir BINDIR=%_bindir
%make_build COOKIEDIR=%_datadir/games/fortune fortune/fortune.man
%install
%make_install FORTDIR=%buildroot/%_gamesbindir \
COOKIEDIR=%buildroot%_gamesdatadir/fortune \
BINDIR=%buildroot/%_bindir \
BINMANDIR=%buildroot/%_mandir/man1 \
FORTMANDIR=%buildroot/%_mandir/man6 \
install
%__tar zxvf %SOURCE1 -C %buildroot%_gamesdatadir/fortune/
%__rm -f %buildroot%_gamesdatadir/fortune/men-women*
bzcat %SOURCE2 | %__tar xvf - -C %buildroot%_gamesdatadir/fortune/
%files
%doc README ChangeLog TODO
%_gamesbindir/fortune
%_bindir/strfile
%_bindir/unstr
%_gamesdatadir/fortune
%_mandir/man?/*
%changelog
…
Полный changelog можно просмотреть здесь