SPECS: brutalchess.spec - 0.5.2 - add -GLvoid.patch to fix build -...

shadzik shadzik at pld-linux.org
Sun Apr 8 16:06:48 CEST 2007


Author: shadzik                      Date: Sun Apr  8 14:06:48 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.5.2
- add -GLvoid.patch to fix build
- remove unwanted files after installation
- 2 more libraries in %files

---- Files affected:
SPECS:
   brutalchess.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/brutalchess.spec
diff -u SPECS/brutalchess.spec:1.5 SPECS/brutalchess.spec:1.6
--- SPECS/brutalchess.spec:1.5	Mon Feb 12 23:09:09 2007
+++ SPECS/brutalchess.spec	Sun Apr  8 16:06:42 2007
@@ -6,14 +6,15 @@
 Summary:	3D chess game for X-Window
 Summary(pl.UTF-8):	Trójwymiarowe szachy dla X-Window
 Name:		brutalchess
-Version:	0.5
+Version:	0.5.2
 Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	http://dl.sourceforge.net/brutalchess/%{name}-%{_alpha}-%{version}-src.tar.gz
-# Source0-md5:	7f3e88ddf94eb7830fd5fb1219ed5922
+# Source0-md5:	370476b63091b8d82a9ea57c604dcbab
 Source1:	%{name}.desktop
 Source2:	%{name}.xpm
+Patch0:		%{name}-GLvoid.patch
 URL:		http://brutalchess.sourceforge.net/
 BuildRequires:	SDL-devel
 BuildRequires:	SDL_image-devel
@@ -32,7 +33,8 @@
 i kilka różnych poziomów sztucznej inteligencji.
 
 %prep
-%setup -q -n %{name}
+%setup -q
+%patch0 -p0
 %{__sed} -i 's at ../art@%{_datadir}/brutalchess/art@' src/{basicset.cpp,gamecore.cpp,granitetheme.cpp}
 %{__sed} -i 's at ../fonts@%{_datadir}/brutalchess/fonts@' src/gamecore.cpp
 %{__sed} -i 's at ../models@%{_datadir}/brutalchess/models@' src/{basicset.cpp,gamecore.cpp}
@@ -59,6 +61,9 @@
 cp -r fonts $RPM_BUILD_ROOT%{_datadir}/%{name}
 cp -r models $RPM_BUILD_ROOT%{_datadir}/%{name}
 
+# remove these files to avoid confusion with installed but unpacked files
+rm -rf $RPM_BUILD_ROOT%{_docdir}/brutalchess/
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -66,6 +71,8 @@
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/md3view
+%attr(755,root,root) %{_libdir}/objview
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
 %{_pixmapsdir}/%{name}.xpm
@@ -76,6 +83,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/04/08 14:06:42  shadzik
+- 0.5.2
+- add -GLvoid.patch to fix build
+- remove unwanted files after installation
+- 2 more libraries in %files
+
 Revision 1.5  2007/02/12 22:09:09  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/brutalchess.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list