SPECS: blobby2.spec (NEW) - initlal PLD release

gotar gotar at pld-linux.org
Sun Aug 5 11:46:00 CEST 2007


Author: gotar                        Date: Sun Aug  5 09:46:00 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initlal PLD release

---- Files affected:
SPECS:
   blobby2.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/blobby2.spec
diff -u /dev/null SPECS/blobby2.spec:1.1
--- /dev/null	Sun Aug  5 11:46:00 2007
+++ SPECS/blobby2.spec	Sun Aug  5 11:45:55 2007
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+
+# 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
+
+%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  2007/08/05 09:45:55  gotar
+- initlal PLD release
================================================================


More information about the pld-cvs-commit mailing list