Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37534249
en ru br
Репозитории 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
www.altlinux.org/Changes

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

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

%define _unpackaged_files_terminate_build 1

Name: fortune-mod
Version: 2.28.0
Release: alt2

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

Requires: fortune = %EVR
Requires: fortunes = %EVR

Source: %name-%version.tar
Patch0: fortune-dir-2.28.patch

BuildRequires: cmake gcc-c++ librecode-devel
BuildRequires: perl-autodie shlomif-cmake-modules rinutils

%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: %_datadir/%_gamesdir/fortune
Provides: %_datadir/%_gamesdir/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
BuildArch: noarch
Group: Games/Other
PreReq: %_gamesdatadir/fortune

%description -n fortunes
Fortune-mod: standard fortunes

%package -n fortunes-offensive
Summary: fortune-mod: offensive fortunes
BuildArch: noarch
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 -q %name-%version
%patch0 -p1

%build
cd %name
%cmake -DNO_OFFENSIVE=FALSE

%cmake_build

%install
cd %name
%cmakeinstall_std
mv %{buildroot}/usr/games/fortune %{buildroot}/usr/bin/fortune

%files

%files -n fortune
%_bindir/*
%dir %_datadir/%_gamesdir/fortune
%dir %_datadir/%_gamesdir/fortune/off
%_man1dir/*
%_man6dir/*

%files -n fortunes
%_datadir/%_gamesdir/fortune/*
%exclude %_datadir/%_gamesdir/fortune/off

%files -n fortunes-offensive
%_datadir/%_gamesdir/fortune/off/*

%changelog

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

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