SPECS: perl-OpenGL.spec - rel 5.2, now examples go to /usr/src/exa...

agaran agaran at pld-linux.org
Fri Feb 15 23:04:50 CET 2008


Author: agaran                       Date: Fri Feb 15 22:04:50 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 5.2, now examples go to /usr/src/examples/%{name}-%{version}
- builds and works here (at least tests do job here)
- maybe disable tests by defaults as they require working DISPLAY?

---- Files affected:
SPECS:
   perl-OpenGL.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/perl-OpenGL.spec
diff -u SPECS/perl-OpenGL.spec:1.20 SPECS/perl-OpenGL.spec:1.21
--- SPECS/perl-OpenGL.spec:1.20	Tue Feb 13 08:47:13 2007
+++ SPECS/perl-OpenGL.spec	Fri Feb 15 23:04:45 2008
@@ -8,7 +8,7 @@
 Summary(pl.UTF-8):	OpenGL - moduł Perla przedstawiający dane korzystając z bibliotek OpenGL, GLU, GLUT i GLX
 Name:		perl-OpenGL
 Version:	0.5
-Release:	5.1
+Release:	5.2
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
@@ -58,6 +58,8 @@
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -70,6 +72,8 @@
 %{perl_vendorarch}/auto/OpenGL/autosplit.ix
 %{perl_vendorarch}/auto/OpenGL/*.bs
 %attr(755,root,root) %{perl_vendorarch}/auto/OpenGL/*.so
+%dir %{_examplesdir}/%{name}-%{version}
+%{_examplesdir}/%{name}-%{version}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -77,6 +81,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2008-02-15 22:04:45  agaran
+- rel 5.2, now examples go to /usr/src/examples/%{name}-%{version}
+- builds and works here (at least tests do job here)
+- maybe disable tests by defaults as they require working DISPLAY?
+
 Revision 1.20  2007-02-13 07:47:13  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-OpenGL.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list