SPECS: freecol.spec - updated to 0.5.1
adamg
adamg at pld-linux.org
Mon Sep 25 11:15:18 CEST 2006
Author: adamg Date: Mon Sep 25 09:15:18 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 0.5.1
---- Files affected:
SPECS:
freecol.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/freecol.spec
diff -u SPECS/freecol.spec:1.4 SPECS/freecol.spec:1.5
--- SPECS/freecol.spec:1.4 Tue Sep 12 16:17:20 2006
+++ SPECS/freecol.spec Mon Sep 25 11:15:12 2006
@@ -2,13 +2,14 @@
Summary: Open source Colonization clone
Summary(pl): Klon gry Colonization o otwartych źródłach
Name: freecol
-Version: 0.5.0
+Version: 0.5.1
Release: 0.1
License: GPL v2
Group: X11/Applications/Games
Source0: http://dl.sourceforge.net/freecol/%{name}-%{version}-src.tar.gz
-# Source0-md5: fa33b91c291665dc94382afcfc4be69a
+# Source0-md5: 6b0b94da77a8cb0f671e1f3d392bcf89
Source1: %{name}.sh
+Patch0: %{name}-no_taskdefs.patch
URL: http://www.freecol.org/
BuildRequires: ant
BuildRequires: ant-nodeps
@@ -30,11 +31,10 @@
%prep
%setup -q -n %{name}
-#rm -rf jars
-#sed -i -e /Class-Path/d src/MANIFEST.MF
+%patch0 -p1
%build
-CLASSPATH=$(build-classpath higlayout)
+CLASSPATH="$(build-classpath higlayout)"
JAVA_HOME=%{java_home}
export CLASSPATH JAVA_HOME
%ant -Dnojars -Dnodata fullpackage
@@ -45,6 +45,9 @@
$RPM_BUILD_ROOT%{_datadir}/games/freecol/FreeCol.jar
install -Dpm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/freecol
+install -d $RPM_BUILD_ROOT%{_datadir}/freecol
+cp -ar data/* $RPM_BUILD_ROOT%{_datadir}/freecol/
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -53,6 +56,7 @@
%doc README
%attr(755,root,root) %{_bindir}/freecol
%{_datadir}/games/freecol
+%{_datadir}/freecol
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -60,6 +64,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2006/09/25 09:15:12 adamg
+- updated to 0.5.1
+
Revision 1.4 2006/09/12 14:17:20 glen
- unify %ant macro
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/freecol.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list