]> git.pld-linux.org Git - packages/conquests.git/commitdiff
- initial master
authorZsolt Udvari <uzsolt@pld-linux.org>
Wed, 6 Apr 2011 08:46:17 +0000 (08:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- doesn't build (I have no more time now)

Changed files:
    conquests.spec -> 1.1

conquests.spec [new file with mode: 0644]

diff --git a/conquests.spec b/conquests.spec
new file mode 100644 (file)
index 0000000..90d20bc
--- /dev/null
@@ -0,0 +1,54 @@
+Summary:       Turn based strategy game similar to Civilization
+Summary(hu.UTF-8):     Körökre osztott stratégiai játék, a Civilization-hoz hasonló
+Name:          conquests
+Version:       0.11
+Release:       0.1
+License:       GPL v2
+Group:         X11/Applications/Games/Strategy
+Source0:       http://homepage.ntlworld.com/mark.harman/%{name}_src.zip
+# Source0-md5: ca45310a13d91bf9ecfd077fb72132fe
+URL:           http://homepage.ntlworld.com/mark.harman/conquests.html
+Patch0:                makefile.patch
+BuildRequires: FreeImage-devel
+BuildRequires: Mesa-libGLU-devel
+BuildRequires: SDL-devel
+BuildRequires: SDL_mixer-devel
+BuildRequires: cg-devel
+BuildRequires: freetype-devel
+BuildRequires: lua51-devel
+BuildRequires: pkgconfig
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Turn based strategy game similar to Civilization.
+
+
+%description -l hu.UTF-8
+Körökre osztott stratégiai játék, a Civilization-hoz hasonló.
+
+%prep
+%setup -q -n %{name}_src
+%patch0 -p1
+%{__sed} -i "s@lua5\.1/@@" conquests/game.h
+
+%build
+PACKS="lua51 freetype2 SDL_mixer"
+%{__make} -f makefile_conquests \
+       CC="%{__cc}" \
+       CCFLAGS="%{rpmcflags}" \
+       INC="`pkg-config --cflags $PACKS`" \
+       LIBS="`pkg-config --cflags $PACKS` -lfreeimage"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root) %{_bindir}/*
This page took 0.082183 seconds and 4 git commands to generate.