ea8cc5ae8d3d16b917c663401329001a084ac225
[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:  boost-conversion-devel
16 BuildRequires:  libstdc++-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 FreeCNC will be a free implementation of the Command & Conquer Game
21 Engine written in SDL. It will support the original C&C graphics and
22 audio, as well as Red Alert's data files.
23
24 %description -l pl
25 FreeCNC bêdzie wolnodostêpn±, napisan± w SDL implementacj± silnika gry
26 Command & Conquer. Bêdzie wspieraæ grafikê i efekty d¼wiêkowe zarówno
27 z plików gry Command & Conquer jak i Red Alert.
28
29 %prep
30 %setup -q -n %{name}-%{_snap}
31 %patch0 -p1
32
33 %build
34 %{__make} \
35         CC="%{__cc}" \
36         CXX="%{__cxx}" \
37         CFLAFS="%{rpmcflags} `sdl-config --cflags`" \
38         CXXFLAGS="%{rpmcflags} `sdl-config --cflags`"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
44 install freecnc shpview tmpinied $RPM_BUILD_ROOT%{_bindir}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc ChangeLog.txt INSTALL.txt README.txt TODO.txt
52 %attr(755,root,root) %{_bindir}/*
53 # empty for now
54 %{_datadir}/%{name}
This page took 0.035268 seconds and 2 git commands to generate.