- BR: SDL_mixer-devel
[packages/freecnc.git] / freecnc.spec
1 %define         _snap   20050409
2 Summary:        Reimplemntation of the classic real time strategy hit Command & Conquer
3 Summary(pl):    Reimplementacja strategii czasu rzeczywistego Command & Conquer
4 Name:           freecnc
5 Version:        0.1
6 Release:        0.%{_snap}
7 License:        GPL
8 Group:          X11/Applications/Games
9 # taken from cvs://anonymous@cvs.FreeCNC.sourceforge.net:/cvsroot/freecnc
10 Source0:        %{name}-%{_snap}.tar.bz2
11 # Source0-md5:  0458576aa3386292ab9dc8caf6341b02
12 Patch0:         %{name}-paths.patch
13 URL:            http://freecnc-sf.holarse.net/
14 BuildRequires:  SDL-devel
15 BuildRequires:  SDL_mixer-devel
16 BuildRequires:  boost-conversion-devel
17 BuildRequires:  libstdc++-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 FreeCNC will be a free implementation of the Command & Conquer Game
22 Engine written in SDL. It will support the original C&C graphics and
23 audio, as well as Red Alert's data files.
24
25 %description -l pl
26 FreeCNC bêdzie wolnodostêpn±, napisan± w SDL implementacj± silnika gry
27 Command & Conquer. Bêdzie wspieraæ grafikê i efekty d¼wiêkowe zarówno
28 z plików gry Command & Conquer jak i Red Alert.
29
30 %prep
31 %setup -q -n %{name}-%{_snap}
32 %patch0 -p1
33
34 %build
35 %{__make} \
36         CC="%{__cc}" \
37         CXX="%{__cxx}" \
38         CFLAFS="%{rpmcflags} `sdl-config --cflags`" \
39         CXXFLAGS="%{rpmcflags} `sdl-config --cflags`"
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
45 install freecnc shpview tmpinied $RPM_BUILD_ROOT%{_bindir}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc ChangeLog.txt INSTALL.txt README.txt TODO.txt
53 %attr(755,root,root) %{_bindir}/*
54 # empty for now
55 %{_datadir}/%{name}
This page took 0.041965 seconds and 3 git commands to generate.