1 Summary: Open source Colonization clone
2 Summary(pl): Klon gry Colonization o otwartych ¼ród³ach
7 Group: X11/Applications/Games
8 Source0: http://dl.sourceforge.net/freecol/%{name}-%{version}-src.tar.gz
9 # Source0-md5: fa33b91c291665dc94382afcfc4be69a
11 URL: http://www.freecol.org/
13 BuildRequires: ant-nodeps
14 BuildRequires: higlayout
15 BuildRequires: jdk >= 1.4
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The FreeCol team aims to create an Open Source version of Colonization
24 (released under the GPL).
29 #sed -i -e /Class-Path/d src/MANIFEST.MF
32 CLASSPATH=$(build-classpath higlayout)
33 JAVA_HOME=%{java_home}
34 export CLASSPATH JAVA_HOME
35 %{ant} -Dnojars -Dnodata fullpackage
38 rm -rf $RPM_BUILD_ROOT
39 install -Dpm 644 FreeCol.jar \
40 $RPM_BUILD_ROOT%{_datadir}/games/freecol/FreeCol.jar
41 install -Dpm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/freecol
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
49 %attr(755,root,root) %{_bindir}/freecol
50 %{_datadir}/games/freecol/