SPECS: scourge.spec - up to 0.15 - scourge-configure.patch added -...
lisu
lisu at pld-linux.org
Tue Sep 26 13:06:12 CEST 2006
Author: lisu Date: Tue Sep 26 11:06:12 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.15
- scourge-configure.patch added
- BR: wxGTK2-devel
- ChangeLog added in %doc
- cosmetics
---- Files affected:
SPECS:
scourge.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/scourge.spec
diff -u SPECS/scourge.spec:1.6 SPECS/scourge.spec:1.7
--- SPECS/scourge.spec:1.6 Fri Oct 7 15:22:41 2005
+++ SPECS/scourge.spec Tue Sep 26 13:06:06 2006
@@ -2,13 +2,14 @@
Summary: Rogue-like game with a 3D user interface
Summary(pl): Tekstowa gra RPG z trójwymiarowym interfejsem użytkownika
Name: scourge
-Version: 0.11
+Version: 0.15
Release: 1
License: GPL v2
Group: X11/Applications/Games
Source0: http://dl.sourceforge.net/scourge/%{name}-%{version}.tar.gz
-# Source0-md5: d214ceeceb3ed8bdf72360dccc0a870f
+# Source0-md5: 026b91d015865455a3dde7643ae74098
Source1: %{name}.desktop
+Patch0: %{name}-configure.patch
URL: http://scourge.sourceforge.net/
BuildRequires: OpenGL-devel
BuildRequires: SDL-devel >= 1.2.7
@@ -17,6 +18,7 @@
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libstdc++-devel
+BuildRequires: wxGTK2-devel
Requires: SDL >= 1.2.7
Requires: SDL_mixer >= 1.2
Requires: SDL_net >= 1.2
@@ -34,15 +36,17 @@
zdobywanie poziomów doświadczenia, itp.
%prep
-%setup -q -n %{name}
+%setup -q
+%patch0 -p1
%build
+cd %{name}
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure \
+%configure WXWIDGET=wx-gtk2-ansi-config \
--with-data-dir=%{_datadir}/%{name}
%{__make}
@@ -51,20 +55,20 @@
install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_desktopdir}}
install -d $RPM_BUILD_ROOT%{_pixmapsdir}
-%{__make} install \
+%{__make} -C %{name} install \
DESTDIR=$RPM_BUILD_ROOT
-cp -rf data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -rf %{name}_data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-install assets/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
+install %{name}/assets/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS README
+%doc scourge/{AUTHORS,README,ChangeLog}
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}
%{_desktopdir}/%{name}.desktop
@@ -76,6 +80,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2006/09/26 11:06:06 lisu
+- up to 0.15
+- scourge-configure.patch added
+- BR: wxGTK2-devel
+- ChangeLog added in %doc
+- cosmetics
+
Revision 1.6 2005/10/07 13:22:41 wolf
- 0.11
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/scourge.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list