]> git.pld-linux.org Git - SPECS.git/blob - ltris.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / ltris.spec
1 Summary:        A tetris clone for Linux
2 Summary(pl.UTF-8):      Klon tetrisa dla Linuksa
3 Name:           ltris
4 Version:        1.0.19
5 Release:        2
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://downloads.sourceforge.net/lgames/%{name}-%{version}.tar.gz
9 # Source0-md5:  63486b90e59699823f7093bc9ab87725
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-inline.patch
12 URL:            http://lgames.sourceforge.net/LTris
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  SDL-devel >= 1.2.4
16 BuildRequires:  SDL_mixer-devel
17 BuildRequires:  gettext-tools
18 Requires:       SDL >= 1.2.4
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _localstatedir  /var/games
22
23 %description
24 LTris is a clone of the Tetris game for Linux. It uses a SDL library.
25
26 %description -l pl.UTF-8
27 LTris jest klonem gry Tetris dla Linuksa. Korzysta z biblioteki SDL.
28
29 %prep
30 %setup -q
31 %patch0 -p1
32 %patch1 -p1
33
34 %build
35 %{__gettextize}
36 %{__aclocal}
37 %{__autoconf}
38 %{__autoheader}
39 %{__automake}
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %find_lang %{name}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files -f %{name}.lang
55 %defattr(644,root,root,755)
56 %doc AUTHORS ChangeLog README
57 %attr(2755,root,games) %{_bindir}/ltris
58 %{_desktopdir}/ltris.desktop
59 %{_pixmapsdir}/ltris48.gif
60 %{_datadir}/ltris
61 %attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) /var/games/ltris.hscr
This page took 0.753067 seconds and 3 git commands to generate.