]> git.pld-linux.org Git - packages/stone_soup.git/blame - stone_soup.spec
- not longer needed
[packages/stone_soup.git] / stone_soup.spec
CommitLineData
eb6efc22 1#
2# Conditional build:
d49baba3 3%bcond_with tiles # build tiles version
eb6efc22 4#
c0261ea3 5Summary: stone soup :: crawl clone
d34b44c8 6Summary(pl.UTF-8): stone soup :: klon crawla
c0261ea3 7Name: stone_soup
d49baba3 8Version: 0.6.0
d3a8f0bf 9Release: 1
c0261ea3 10License: Nethack Like
d6defb1d 11Group: X11/Applications/Games
85e1ad64 12Source0: http://downloads.sourceforge.net/crawl-ref/%{name}-%{version}.tar.bz2
d49baba3 13# Source0-md5: f4ff3e148344fda6410933d35deb4ead
c0261ea3
MP
14Patch0: %{name}-systemlua.patch
15Patch1: %{name}-makefile.patch
4527ac1c 16Patch3: %{name}-tiles.patch
0949b656 17URL: http://crawl.develz.org/
eb6efc22 18%if %{with tiles}
19BuildRequires: OpenGL-GLU-devel
20BuildRequires: OpenGL-devel
21%endif
22%{?with_tiles:BuildRequires: SDL_image-devel}
c0261ea3 23BuildRequires: bison
c0261ea3 24BuildRequires: byacc
e3ca8ff9 25BuildRequires: flex
eb6efc22 26%{?with_tiles:BuildRequires: freetype-devel}
27%{?with_tiles:BuildRequires: libpng-devel}
6a76b832 28BuildRequires: lua51-devel
ce58a0cd 29BuildRequires: ncurses-devel
74083b2b 30BuildRequires: sqlite3-devel
c0261ea3
MP
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
d34b44c8 34Dungeon Crawl Stone Soup is a fun, free rogue-like game of exploration
35and treasure-hunting in dungeons filled with dangerous and unfriendly
36monsters in a quest for the mystifyingly fabulous Orb of Zot.
37
38Dungeon Crawl Stone Soup is a variant of Linley's Dungeon Crawl that's
39openly developed and invites participation from the Crawl community.
40
41%description -l pl.UTF-8
42Dungeon Crawl Stone Soup jest zabawną darmową grą typu roguelike, w
032b2137 43której gracz zwiedza świat poszukując skarbów w lochach pełnych
d34b44c8 44niebezpiecznych i nieprzyjaznych potworów w celu odnalezienia
45tajemniczej baśniowej Kuli Zota.
46
47Dungeon Crawl Stone Soup jest wariantem gry Dungeon Crawl stworzonej
85e1ad64 48przez Linleya. Jest on otwarcie rozwijany również przez społeczeństwo
49Crawla.
c0261ea3
MP
50
51%prep
d49baba3 52%setup -q
ce58a0cd 53%patch0 -p1
d549c935 54%patch1 -p1
eb6efc22 55%if %{with tiles}
4527ac1c 56#%%patch3 -p1
eb6efc22 57%endif
c0261ea3 58
c0261ea3 59%build
6a76b832 60%{__make} -C source \
d49baba3 61 prefix="%{_prefix}" \
62 SAVEDIR="/var/games/stone_soup/" \
85e1ad64 63 DATADIR="%{_datadir}/stone_soup/" \
d49baba3 64 %{?with_tiles:TILES="y"} \
d549c935 65 V="y" \
6a76b832 66 CXX="%{__cxx}" \
67 OPTFLAGS="%{rpmcxxflags}" \
68 LDFLAGS="%{rpmldflags}"
c0261ea3
MP
69
70%install
71rm -rf $RPM_BUILD_ROOT
41c3f49c 72
c0261ea3 73%{__make} -C source install \
d49baba3 74 prefix="%{_prefix}" \
75 bin_prefix="bin" \
76 SAVEDIR="/var/games/stone_soup/" \
85e1ad64 77 DATADIR="%{_datadir}/stone_soup/" \
d549c935 78 %{?with_tiles:TILES="y"} \
79 V="y" \
c0261ea3 80 DESTDIR=$RPM_BUILD_ROOT
c0261ea3
MP
81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%files
86%defattr(644,root,root,755)
41c3f49c 87%doc CREDITS.txt README.* docs
d549c935 88%attr(2755,root,games) %{_bindir}/stone_soup
9b8c2718 89%{_datadir}/stone_soup
90%attr(775,root,games) %dir /var/games/stone_soup
This page took 0.092654 seconds and 4 git commands to generate.