SPECS: opencity.spec (NEW) - new
lisu
lisu at pld-linux.org
Sun Oct 29 16:52:58 CET 2006
Author: lisu Date: Sun Oct 29 15:52:58 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
opencity.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/opencity.spec
diff -u /dev/null SPECS/opencity.spec:1.1
--- /dev/null Sun Oct 29 16:52:58 2006
+++ SPECS/opencity.spec Sun Oct 29 16:52:53 2006
@@ -0,0 +1,79 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without SDL_mixer # build without SDL_mixer
+#
+Summary: A 3D city simulator
+Summary(pl): Trójwymiarowy symulator miasta
+Name: opencity
+Version: 0.0.4
+Release: 1
+License: GPL v2+
+Group: X11/Applications/Games
+Source0: http://dl.sourceforge.net/opencity/%{name}-%{version}stable.tar.bz2
+# Source0-md5: 9ae00d6d380265d48f59fb7da8d75dcd
+Patch0: %{name}-config_dir.patch
+Patch1: %{name}-desktop.patch
+URL: http://www.opencity.info/
+BuildRequires: OpenGL-GLU-devel
+BuildRequires: SDL-devel
+BuildRequires: SDL_image-devel
+%{?with_SDL_mixer:BuildRequires: SDL_mixer-devel}
+BuildRequires: SDL_net-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OpenCity is a 3D city simulator game project written in standard C++
+with OpenGL and SDL. It is not intended to be a clone of any famous
+city simulator from Max*s.
+
+%description -l pl
+OpenCity jest trójwymiarowym symulatorem miasta napisanym w
+standardowym C++ z obsługą OpenGL i SDL. Projekt nie jest klonem
+żadnego z popularnych symulatorów miast firmy Max*s.
+
+%prep
+%setup -q -n %{name}-%{version}stable
+%patch0 -p1
+%patch1 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install OpenCity.desktop $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+install OpenCity.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO docs/*.txt
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/10/29 15:52:53 lisu
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list