]> git.pld-linux.org Git - packages/blobby2.git/commitdiff
- initlal PLD release
authorTomasz Pala <gotar@pld-linux.org>
Sun, 5 Aug 2007 09:45:55 +0000 (09:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    blobby2.spec -> 1.1

blobby2.spec [new file with mode: 0644]

diff --git a/blobby2.spec b/blobby2.spec
new file mode 100644 (file)
index 0000000..5ec801f
--- /dev/null
@@ -0,0 +1,55 @@
+
+# TODO:
+#      - use system-wide lua
+
+%define                snap    070804
+Summary:       Blobby Volley 2
+Summary(pl.UTF-8):     Blobby Volley 2
+Name:          blobby2
+Version:       0.61
+Release:       1
+License:       GPL v2
+Group:         X11/Applications/Games
+Source0:       %{name}-%{snap}.tar.bz2
+# Source0-md5: 3808d2d3d2186c1424ec9e5b01a05198
+URL:           http://blobby.redio.de/content/en/
+BuildRequires: OpenGL-devel
+BuildRequires: SDL-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: physfs-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl.UTF-8
+
+%prep
+%setup -q -n %{name}-%{snap}
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+sed -i -e "s:HAVE_LIBGL = @HAVE_LIBGL@:HAVE_LIBGL = 1:" src/Makefile.in
+sed -i  -e "s:-lSDL:-lSDL -lGL:" configure
+%configure \
+       %{?debug:--enable-debug}
+%{__make} \
+       CFLAGS="%{rpmcflags}" \
+       CXXFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS ChangeLog NEWS README TODO doc/*.txt
+%{_datadir}/blobby
This page took 0.115696 seconds and 4 git commands to generate.