From e73f26de149b601abe353ff7ec8ec7a1f5cca8c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Sat, 9 Apr 2005 22:27:55 +0000 Subject: [PATCH] - new (NFY) Changed files: freecnc.spec -> 1.1 --- freecnc.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 freecnc.spec diff --git a/freecnc.spec b/freecnc.spec new file mode 100644 index 0000000..ea8cc5a --- /dev/null +++ b/freecnc.spec @@ -0,0 +1,54 @@ +%define _snap 20050409 +Summary: Reimplemntation of the classic real time strategy hit Command & Conquer +Summary(pl): Reimplementacja strategii czasu rzeczywistego Command & Conquer +Name: freecnc +Version: 0.1 +Release: 0.%{_snap} +License: GPL +Group: X11/Applications/Games +# taken from cvs://anonymous@cvs.FreeCNC.sourceforge.net:/cvsroot/freecnc +Source0: %{name}-%{_snap}.tar.bz2 +# Source0-md5: 0458576aa3386292ab9dc8caf6341b02 +Patch0: %{name}-paths.patch +URL: http://freecnc-sf.holarse.net/ +BuildRequires: SDL-devel +BuildRequires: boost-conversion-devel +BuildRequires: libstdc++-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +FreeCNC will be a free implementation of the Command & Conquer Game +Engine written in SDL. It will support the original C&C graphics and +audio, as well as Red Alert's data files. + +%description -l pl +FreeCNC bêdzie wolnodostêpn±, napisan± w SDL implementacj± silnika gry +Command & Conquer. Bêdzie wspieraæ grafikê i efekty d¼wiêkowe zarówno +z plików gry Command & Conquer jak i Red Alert. + +%prep +%setup -q -n %{name}-%{_snap} +%patch0 -p1 + +%build +%{__make} \ + CC="%{__cc}" \ + CXX="%{__cxx}" \ + CFLAFS="%{rpmcflags} `sdl-config --cflags`" \ + CXXFLAGS="%{rpmcflags} `sdl-config --cflags`" + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} +install freecnc shpview tmpinied $RPM_BUILD_ROOT%{_bindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ChangeLog.txt INSTALL.txt README.txt TODO.txt +%attr(755,root,root) %{_bindir}/* +# empty for now +%{_datadir}/%{name} -- 2.43.0