]> git.pld-linux.org Git - packages/xut.git/blame - xut.spec
- up to 0.2
[packages/xut.git] / xut.spec
CommitLineData
36b5ead6 1#
2# TODO: - fix auto tools
3# - move linking to Makefiles
4#
5%define file_version %(echo %{version} | tr . _)
d7959d75
ZU
6Summary: A button football simulation
7Summary(hu.UTF-8): Gombfoci szimuláció
8Name: xut
36b5ead6 9Version: 0.2
d7959d75 10Release: 0.1
36b5ead6 11License: GPL v3+
d7959d75 12Group: X11/Applications/Games
36b5ead6 13Source0: http://downloads.sourceforge.net/digenv/%{name}_%{file_version}_src.tar.bz2
14# Source0-md5: 66c4bcd2ebc0fb5762bdea1df0db5a94
15Patch0: %{name}-makefile.patch
d7959d75
ZU
16URL: http://xut.dnteam.org
17BuildRequires: OpenAL-devel
36b5ead6 18BuildRequires: OpenGL-GLU-devel
19BuildRequires: OpenGL-devel
d7959d75
ZU
20BuildRequires: SDL_gfx-devel
21BuildRequires: SDL_image-devel
22BuildRequires: SDL_ttf-devel
36b5ead6 23#BuildRequires: autoconf >= 2.61
24#BuildRequires: automake
d7959d75
ZU
25BuildRequires: cal3d-devel
26BuildRequires: libogg-devel
27BuildRequires: libvorbis-devel
36b5ead6 28BuildRequires: rpmbuild(macros) >= 1.268
d7959d75
ZU
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32XUT is a project to make a button football game simulation.
33
34%description -l hu.UTF-8
35XUT egy project, amelynek a célja egy gombfoci szimulátor létrehozása.
36
37%prep
38%setup -q -n %{name}
36b5ead6 39%patch0 -p1
d7959d75
ZU
40
41%build
36b5ead6 42#%%{__aclocal}
43#%%{__autoconf}
44#%%{__automake}
d7959d75
ZU
45%configure
46%{__make}
47
36b5ead6 48# link manually (there is no linking workaround in sources)
49cd src
50%{__cc} %{rpmcflags} %{rpmldflags} -o ../bin/%{name} `find -name "*.o"` -lopenal `sdl-config --libs` -lSDL_gfx -lSDL_image -lSDL_ttf -lcal3d -logg -lGL -lGLU -lvorbisfile
51
d7959d75
ZU
52%install
53rm -rf $RPM_BUILD_ROOT
36b5ead6 54install -d $RPM_BUILD_ROOT%{_bindir}
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%find_lang %{name} --all-name
d7959d75
ZU
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
36b5ead6 64%files -f %{name}.lang
d7959d75 65%defattr(644,root,root,755)
36b5ead6 66%attr(755,root,root) %{_bindir}/xut
67%{_datadir}/%{name}
This page took 0.129195 seconds and 4 git commands to generate.