]> git.pld-linux.org Git - packages/xut.git/blob - xut.spec
- new file
[packages/xut.git] / xut.spec
1 #
2 # TODO: - fix auto tools
3 #
4 Summary:        A button football simulation
5 Summary(hu.UTF-8):      Gombfoci szimuláció
6 Summary(pl.UTF-8):      Symulator piłki nożnej
7 Name:           xut
8 Version:        0.2.1
9 Release:        0.1
10 License:        GPL v3+
11 Group:          X11/Applications/Games
12 Source0:        http://downloads.sourceforge.net/digenv/%{name}-%{version}.tar.bz2
13 # Source0-md5:  407d9f543ec533f85358c9166ff27a5c
14 Source1:        %{name}.desktop
15 Patch0:         %{name}-makefile.patch
16 Patch1:         %{name}-link.patch
17 Patch2:         %{name}-datadir.patch
18 URL:            http://xut.dnteam.org
19 BuildRequires:  OpenAL-devel
20 BuildRequires:  OpenGL-GLU-devel
21 BuildRequires:  OpenGL-devel
22 BuildRequires:  SDL_gfx-devel
23 BuildRequires:  SDL_image-devel
24 BuildRequires:  SDL_ttf-devel
25 #BuildRequires: autoconf >= 2.61
26 #BuildRequires: automake
27 BuildRequires:  cal3d-devel
28 BuildRequires:  libogg-devel
29 BuildRequires:  libvorbis-devel
30 BuildRequires:  rpmbuild(macros) >= 1.268
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 XUT is a project to make a button football game simulation.
35
36 %description -l hu.UTF-8
37 XUT egy project, amelynek a célja egy gombfoci szimulátor létrehozása.
38
39 %description -l pl.UTF-8
40 XUT jest projektem "guzikowego" symulatora piłki nożnej.
41
42 %prep
43 %setup -q -n %{name}
44 %patch0 -p1
45 %patch1 -p1
46 %patch2 -p1
47
48 %build
49 #%%{__aclocal}
50 #%%{__autoconf}
51 #%%{__automake}
52 %configure
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
63 install data/xut-icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/xut.png
64
65 %find_lang %{name} --all-name
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files -f %{name}.lang
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/xut
73 %{_datadir}/games/%{name}
74 %{_desktopdir}/xut.desktop
75 %{_pixmapsdir}/xut.png
This page took 0.072896 seconds and 3 git commands to generate.