packages: mesa-demos/mesa-demos.spec (NEW) - initial revision

baggins baggins at pld-linux.org
Mon Oct 25 00:20:58 CEST 2010


Author: baggins                      Date: Sun Oct 24 22:20:58 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
packages/mesa-demos:
   mesa-demos.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mesa-demos/mesa-demos.spec
diff -u /dev/null packages/mesa-demos/mesa-demos.spec:1.1
--- /dev/null	Mon Oct 25 00:20:58 2010
+++ packages/mesa-demos/mesa-demos.spec	Mon Oct 25 00:20:53 2010
@@ -0,0 +1,81 @@
+# $Revision$, $Date$
+Summary:	Mesa Demos source code
+Summary(pl.UTF-8):	Kod źródłowy programów demonstrujących dla bibliotek Mesa
+Name:		mesa-demos
+Version:	8.0.1
+Release:	0.1
+License:	various (MIT, SGI, GPL - see copyright notes in sources)
+Group:		Development/Libraries
+Source0:	ftp://ftp.freedesktop.org/pub/mesa/demos/%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5:	320c2a4b6edc6faba35d9cb1e2a30bf4
+URL:		http://www.mesa3d.org/
+BuildRequires:	freeglut-devel
+BuildRequires:	glew-devel
+BuildRequires:	OpenGL-devel
+BuildRequires:	OpenGL-GLU-devel
+BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	xorg-lib-libXext-devel
+Requires:	OpenGL-devel
+Obsoletes:	Mesa-demos
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Demonstration programs for the Mesa libraries in source code form.
+
+%description -l pl.UTF-8
+Kod źródłowy programów demonstracyjnych dla bibliotek Mesa.
+
+%package -n mesa-utils
+Summary:	OpenGL utilities from Mesa3D
+Summary(pl.UTF-8):	Programy narzędziowe OpenGL z projektu Mesa3D
+License:	MIT
+Group:		X11/Applications/Graphics
+Obsoletes:	Mesa-utils
+# loose deps on libGL/libGLU
+
+%description -n mesa-utils
+OpenGL utilities from Mesa3D: glxgears and glxinfo.
+
+%description -n mesa-utils -l pl.UTF-8
+Programy narzędziowe OpenGL z projektu Mesa3D: glxgears i glxinfo.
+
+%prep
+%setup -q
+
+%build
+%configure
+
+# we only want glxinfo and glxgears to be built here
+%{__make} -C src/xdemos
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version}}
+
+install -p src/xdemos/{glxinfo,glxgears} $RPM_BUILD_ROOT%{_bindir}
+
+cp -a * $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cd $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+%{__make} clean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
+%files -n mesa-utils
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/glxgears
+%attr(755,root,root) %{_bindir}/glxinfo
+
+%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  2010/10/24 22:20:53  baggins
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list