SPECS (DEVEL): lgeneral.spec - up to 1.2beta-13 version - add new ...
lisu
lisu at pld-linux.org
Thu Oct 11 00:23:02 CEST 2007
Author: lisu Date: Wed Oct 10 22:23:02 2007 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- up to 1.2beta-13 version
- add new Source with game datafiles
- switch inst_dir.patch to sed and remove configure_fix.patch
- some changes in workaround
- build but nfy
---- Files affected:
SPECS:
lgeneral.spec (1.19 -> 1.19.2.1)
---- Diffs:
================================================================
Index: SPECS/lgeneral.spec
diff -u SPECS/lgeneral.spec:1.19 SPECS/lgeneral.spec:1.19.2.1
--- SPECS/lgeneral.spec:1.19 Tue Feb 13 07:46:50 2007
+++ SPECS/lgeneral.spec Thu Oct 11 00:22:57 2007
@@ -1,21 +1,23 @@
# $Revision$, $Date$
+%define _bver 13
+%define _beta beta-%{_bver}
Summary: LGeneral game
Summary(pl.UTF-8): Gra Linux General
Name: lgeneral
-Version: 1.2beta
-Release: 1
-License: GPL
+Version: 1.2
+Release: 0.beta%{_bver}.1
+License: GPL v2+
Group: X11/Applications/Games
-Source0: http://dl.sourceforge.net/lgeneral/%{name}-%{version}.tar.gz
-# Source0-md5: d89f6b574e0f182f04cd9b069225fc30
-Source1: %{name}.desktop
-Patch0: %{name}-inst_dir.patch
-Patch1: %{name}-configure_fix.patch
+Source0: http://dl.sourceforge.net/lgeneral/%{name}-%{version}%{_beta}.tar.gz
+# Source0-md5: ac8d4ec71a2e263d38a650a158e25da5
+Source1: http://dl.sourceforge.net/lgeneral/pg-data.tar.gz
+# Source1-md5: 40c4be23f60d1dc732aabe13b58fc5e3
+Source2: %{name}.desktop
URL: http://lgames.sourceforge.net/
+BuildRequires: SDL_mixer-devel >= 1.1.4
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: SDL_mixer-devel >= 1.1.4
-Requires: lgeneral-data >= 1.1
+BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -33,17 +35,16 @@
warunki walki.
%prep
-%setup -q
-%patch0 -p1
-#%patch1 -p1
+%setup -q -n %{name}-%{version}%{_beta}
+%{__sed} -i 's@$datadir/games/lgeneral@$datadir/lgeneral@' configure.in
%build
-%{__aclocal}
-%{__automake}
-%{__autoconf}
%configure
-%{__make}
+cp /usr/share/gettext/config.rpath .
+%{__make} \
+ ACLOCAL="%{__aclocal}" \
+ AUTOMAKE="automake -a -c -f"
%install
rm -rf $RPM_BUILD_ROOT
@@ -52,7 +53,7 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
%clean
rm -rf $RPM_BUILD_ROOT
@@ -85,6 +86,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19.2.1 2007/10/10 22:22:57 lisu
+- up to 1.2beta-13 version
+- add new Source with game datafiles
+- switch inst_dir.patch to sed and remove configure_fix.patch
+- some changes in workaround
+- build but nfy
+
Revision 1.19 2007/02/13 06:46:50 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lgeneral.spec?r1=1.19&r2=1.19.2.1&f=u
More information about the pld-cvs-commit
mailing list