Репозиторий Sisyphus
Последнее обновление: 18 октября 2019 | Пакетов: 17501 | Посещений: 15288494
en ru br
Репозитории ALT
S:1.99.1-alt5.qa3
5.1: 1.99.1-alt4
4.1: 1.99.1-alt2
4.0: 1.0-ipl36mdk
3.0: 1.0-ipl36mdk
www.altlinux.org/Changes

Группа :: Игры/Прочее
Пакет: fortune-mod

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# vim: set ft=spec: -*- spec -*-

Name: fortune-mod
Version: 1.99.1
Release: alt5.qa3

Summary: A program which will display a fortune
License: BSD
Group: Games/Other
Url: https://github.com/shlomif/fortune-mod

Requires: fortune = %version-%release
Requires: fortunes = %version-%release

Source: %name-%version.tar
Source1: kernelnewbies-fortunes.tar
Source2: bofh-excuses.tar
Patch: %name-%version-%release.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.

%package -n fortune
Summary: A program which will display a fortune
Group: Games/Other
Provides: %_gamesdatadir/fortune
Provides: %_gamesdatadir/fortune/off

%description -n fortune
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.

You may wish to install some fortunes-* packages.

%package -n fortunes
Summary: fortune-mod: fortunes
Group: Games/Other
PreReq: %_gamesdatadir/fortune

%description -n fortunes
Fortune-mod: standard fortunes

%package -n fortunes-offensive
Summary: fortune-mod: offensive fortunes
Group: Games/Other
PreReq: %_gamesdatadir/fortune/off

%description -n fortunes-offensive
Fortune-mod: offensive fortunes

Please, please, please request a potentially offensive fortune
if and only if you believe, deep in your heart, that you are
willing to be offended.  (And that you'll just quit using -o
rather than give us grief about it, okay?)

... let us keep in mind the basic governing philosophy of The
Brotherhood, as handsomely summarized in these words: we believe
in healthy, hearty laughter -- at the expense of the whole human
race, if needs be.  Needs be.
      --H. Allen Smith, "Rude Jokes"

%prep
%setup
%patch -p1

%build
%make_build COOKIEDIR=%_gamesdatadir/fortune \
FORTDIR=%_bindir BINDIR=%_bindir
%make_build COOKIEDIR=%_gamesdatadir/fortune \
fortune/fortune.man

%install
%make_install FORTDIR=%buildroot/%_bindir \
COOKIEDIR=%buildroot%_gamesdatadir/fortune \
BINDIR=%buildroot/%_bindir \
BINMANDIR=%buildroot/%_mandir/man1 \
FORTMANDIR=%buildroot/%_mandir/man6 \
install

tar xvf %SOURCE1 -C %buildroot%_gamesdatadir/fortune/
tar xvf %SOURCE2 -C %buildroot%_gamesdatadir/fortune/

%files

%files -n fortune
%doc README ChangeLog TODO
%_bindir/fortune
%_bindir/strfile
%_bindir/unstr
%_mandir/man?/*
%dir %_gamesdatadir/fortune
%dir %_gamesdatadir/fortune/off

%files -n fortunes
%_gamesdatadir/fortune/*
%exclude %_gamesdatadir/fortune/off

%files -n fortunes-offensive
%doc Offensive
%_gamesdatadir/fortune/off/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin