]> git.pld-linux.org Git - packages/bastet.git/blame - bastet.spec
boost rebuild
[packages/bastet.git] / bastet.spec
CommitLineData
1a24a0db 1Summary: Tetris game
dbe16c03 2Summary(hu.UTF-8): Egy Tetris-klón
1a24a0db 3Summary(pl.UTF-8): Gra typu tetris
4Name: bastet
330f64e3 5Version: 0.43.2
e9745cf2 6Release: 6
1a24a0db 7License: GPL v3+
8Group: X11/Applications/Games
330f64e3
JB
9#Source0Download: https://github.com/fph/bastet/releases
10Source0: https://github.com/fph/bastet/archive/%{version}/%{name}-%{version}.tar.gz
11# Source0-md5: aee009b77b8cf9516d686bd24673800e
12Patch0: %{name}-boost.patch
1c060949 13Patch1: format-security.patch
1a24a0db 14URL: http://fph.altervista.org/prog/bastet.html
f1cfbc73 15BuildRequires: boost-devel
330f64e3 16BuildRequires: ncurses-devel >= 6
1a24a0db 17BuildRequires: sed >= 4.0
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
dbe16c03
ZU
21Bastet stands for "bastard tetris", and is a simple ncurses-based
22Tetris(R) clone for Linux. Unlike normal Tetris(R), however, Bastet
23does not choose your next brick at random. Instead, it uses a special
24algorithm designed to choose the worst brick possible. As you can
25imagine, playing Bastet can be a very frustrating experience!
26
27%description -l hu.UTF-8
28Bastet a "bastard tetris" rövidítése, és egy egyszerű ncurses-alapú
29Tetris(R)-klón Linux-ra. A hagyományos Tetris(R)-szel ellentétben a
30Bastet a következő elemet nem véletlenszerűen választja, hanem egy
31speciális algoritmust használ, amellyel a lehető legrosszabb elemet
330f64e3
JB
32választja ki. Gondolhatod, hogy a Bastet-tel való játék nagyon
33mennyire frusztráló lehet!
1a24a0db 34
35%description -l pl.UTF-8
330f64e3
JB
36Bastet oznacza "bastard tetris". Jest to prosty klon gry tetris z
37tekstowym interfejsem użytkownika opartym o bibliotekę ncurses. W
38odróżnieniu od innych implementacji gry tetris Bastet używa
39wyrafinowanego algorytmu, który dobiera zawsze najgorszy klocek do
40aktualnej sytuacji. Można się zatem domyślić, że granie w Bastet jest
41bardzo frustrującym przeżyciem.
1a24a0db 42
43%prep
44%setup -q
330f64e3 45%patch0 -p1
1c060949 46%patch1 -p1
1a24a0db 47
48%build
abd790ee 49NCURSES_LIBS=$(ncurses6-config --libs)
1a24a0db 50%{__make} \
51 CXX="%{__cxx}" \
52 CXXFLAGS="%{rpmcxxflags}" \
330f64e3 53 LDFLAGS="%{rpmldflags} $NCURSES_LIBS -lboost_program_options"
1a24a0db 54
55%install
56rm -rf $RPM_BUILD_ROOT
57install -d $RPM_BUILD_ROOT%{_bindir}
58
59install bastet $RPM_BUILD_ROOT%{_bindir}
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
66%doc AUTHORS NEWS README
330f64e3 67%attr(755,root,root) %{_bindir}/bastet
This page took 0.145615 seconds and 4 git commands to generate.