]> git.pld-linux.org Git - packages/freecol.git/commitdiff
- new
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 24 Jul 2006 23:22:42 +0000 (23:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freecol.spec -> 1.1

freecol.spec [new file with mode: 0644]

diff --git a/freecol.spec b/freecol.spec
new file mode 100644 (file)
index 0000000..625e67f
--- /dev/null
@@ -0,0 +1,50 @@
+# TODO:
+#  - make it build
+Summary:       Open source Colonization clone
+Summary(pl):   Klon gry Colonization o otwartych ¼ród³ach
+Name:          freecol
+Version:       0.5.0
+Release:       0.1
+License:       GPL v2
+Group:         X11/Applications/Games
+Source0:       http://dl.sourceforge.net/freecol/%{name}-%{version}-src.tar.gz
+# Source0-md5: fa33b91c291665dc94382afcfc4be69a
+Source1:       %{name}.sh
+URL:           http://www.freecol.org/
+BuildRequires: ant
+BuildRequires: higlayout
+BuildRequires: jdk >= 1.4
+Requires:      higlayout
+Requires:      jre >= 1.4
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The FreeCol team aims to create an Open Source version of Colonization
+(released under the GPL).
+
+%prep
+%setup -q -n %{name}
+#rm -rf jars
+#sed -i -e /Class-Path/d src/MANIFEST.MF
+
+%build
+CLASSPATH=$(build-classpath higlayout)
+JAVA_HOME=%{java_home}
+export CLASSPATH JAVA_HOME
+%{ant} -Dnojars -Dnodata fullpackage
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -Dpm 644 FreeCol.jar \
+    $RPM_BUILD_ROOT%{_datadir}/games/freecol/FreeCol.jar
+install -Dpm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/freecol
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING README
+%attr(755,root,root) %{_bindir}/freecol
+%{_datadir}/games/freecol/
This page took 0.085096 seconds and 4 git commands to generate.