Author: lisu                         Date: Tue Dec 26 11:15:04 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release

---- Files affected:
SPECS:
   brutalchess.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/brutalchess.spec
diff -u /dev/null SPECS/brutalchess.spec:1.1
--- /dev/null   Tue Dec 26 12:15:04 2006
+++ SPECS/brutalchess.spec      Tue Dec 26 12:14:59 2006
@@ -0,0 +1,77 @@
+# $Revision$, $Date$
+%define        _alpha  alpha
+Summary:       3D chess game for X-Window
+Summary(pl):   Trójwymiarowe szachy dla X-Window
+Name:          brutalchess
+Version:       0.5
+Release:       1
+License:       GPL v2+
+Group:         X11/Applications/Games
+Source0:       
http://dl.sourceforge.net/brutalchess/%{name}-%{_alpha}-%{version}-src.tar.gz
+# Source0-md5: 7f3e88ddf94eb7830fd5fb1219ed5922
+Source1:       %{name}.desktop
+Source2:       %{name}.xpm
+URL:           http://brutalchess.sourceforge.net/
+BuildRequires: SDL-devel
+BuildRequires: SDL_image-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: freetype
+BuildRequires: sed >= 4.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Brutal Chess features full 3D graphics, an advanced engine, and
+several different levels of intelligent AI.
+
+%description -l pl
+Brutal Chess cechuje pełna trójwymiarowa grafika, zaawansowany silnik
+i kilka różnych poziomów sztucznej inteligencji.
+
+%prep
+%setup -q -n %{name}
+%{__sed} -i '[EMAIL PROTECTED]/[EMAIL PROTECTED]/brutalchess/art@' 
src/{basicset.cpp,gamecore.cpp,granitetheme.cpp}
+%{__sed} -i '[EMAIL PROTECTED]/[EMAIL PROTECTED]/brutalchess/fonts@' 
src/gamecore.cpp
+%{__sed} -i '[EMAIL PROTECTED]/[EMAIL PROTECTED]/brutalchess/models@' 
src/{basicset.cpp,gamecore.cpp}
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_desktopdir},%{_pixmapsdir}}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install        %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+cp -r art  $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -r fonts $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -r models $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.xpm
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/12/26 11:14:59  lisu
+- initial release
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to