SUNWxscreensaver.spec revision 18778
18372N/A# spec file for xscreensaver packages 16799N/A# includes module(s): xscreensaver, rss-glx 18793N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 16799N/A# This file and all modifications and additions to the pristine 16799N/A# packages are under the same license as the packages themselves. 16799N/A# date:2008-12-15 owner:alanc type:bug bugster:6785377 18778N/A# date:2006-05-10 owner:alanc type:branding bugster:6526791 18778N/A# date:2006-05-10 owner:alanc type:branding,l10n 18778N/A# date:2006-05-10 owner:alanc type:branding bugster:6770336 18778N/A# date:2006-05-10 owner:alanc type:branding 18778N/A# date:2006-05-10 owner:alanc type:feature 16799N/A# bugster:6735203,6673036,6484604,6673036,6670025,6611183,6478362,6417168 16799N/A# bugster:6346056,6308859,6269444,6182506,6237901,5039878,6178584,5039876 16799N/A# bugster:5077993,5077989,5079870,4931584,5039876,5059445,4782515,4783832 16799N/A# bugster:6845751,5083155,6176524,6541240,6839026,6825374,6769901,6857559 18812N/A# date:2006-05-10 owner:ma54148 type:feature bugster:4849641 16799N/A# date:2006-05-10 owner:alanc type:feature bugster:5077981,6176524 18778N/A# date:2006-05-10 owner:alanc type:feature bugster:5077966,6836372 16799N/A# date:2006-05-10 owner:alanc type:l10n bugster:6203951 16799N/A# date:2006-05-10 owner:alanc type:feature 16799N/A# date:2006-05-10 owner:alanc type:bug bugster:4832530 16799N/A# date:2006-05-10 owner:johnfisc type:feature 18778N/A# bugster:6673036,6451477,6698996,6845488,6845488 18778N/A# date:2006-06-07 owner:ma54148 type:feature 18778N/A# bugster:5015296,6417168,6654320 16799N/A# date:2006-08-09 owner:alanc type:branding 18778N/A# date:2006-08-09 owner:alanc type:branding 16799N/A# date:2006-08-09 owner:alanc type:branding 16799N/A# date:2006-11-20 owner:samlau type:feature bugster:6461887,6395649,6520014,6736157 16799N/A# date:2006-11-22 owner:samlau bugster:6573182,6461887 16799N/A# date:2007-11-21 owner:hs208856 type:bug bugster:6573182 16799N/A# date:2008-01-03 owner:samlau type:bug bugster:6610282 16799N/A# date:2008-02-08 owner:uejio type:bug bugster:6475285 16799N/A# date:2008-02-11 owner:uejio type:bug bugster:6583181 16943N/A# date:2008-02-27 owner:ma54148 type:bug bugster:6585644 18789N/A# date:2008-03-05 owner:uejio type:bug bugster:6670659 18868N/A# date:2008-06-03 owner:uejio type:bug bugster:6583247 16799N/A# date:2009-02-05 owner:alanc type:bug bugster:4802301 16864N/A# date:2009-07-31 owner:bp230705 type:bug bugster:6859039 16799N/A# date:2008-03-07 owner:alanc type:branding 16799N/A# date:2008-03-07 owner:alanc type:branding 16799N/A# Need to have the 10.0 first so our version number is higher than 16799N/A# the 6.9.0 version number used when delivered from X gate 16799N/A# Need to have the 10.0 first so our version number is higher than 16799N/A# the 6.9.0 version number used when delivered from X gate 16799N/A# Adjust man pages to Solaris standards: 16799N/A# - add attributes section to end with package info & stability 16799N/A -a
'{Availability, %{pkg5_name_base}}' \
16799N/A -a
'{Interface Stability, Volatile}' \
16799N/A -a
'{Availability, %{pkg5_name_base}}' \
16799N/A -a
'{Interface Stability, Private}' \
16799N/A -a
'{Availability, %{pkg5_name_hacks}}' \
16799N/A -a
'{Interface Stability, Private}' \
16799N/A -a
'{Availability, %{pkg5_name_hacks_gl}}' \
16799N/A -a
'{Interface Stability, Private}' \
16799N/A -a
'{Availability, %{pkg5_name_hacks_rss}}' \
16799N/A -a
'{Interface Stability, Private}' \
16799N/A# Clear pictures we don't want in build 16799N/A# Mapfile flags copied from X - these are generically good for all libraries 16799N/A# See the comments in each mapfile for a description of what it does. 16799N/A# so that it's harder for attackers to exploit buffer overflows 18778N/A# SPARC architecture requires PLT section in .data be executable, so 16799N/A# we can only make .bss, not all of .data no-exec on SPARC 16799N/A# Flags useful for libraries, shared objects, and programs 16799N/A# Force building with mesa headers & libraries to make sure we build the 18837N/A# same on all systems, whether or not proprietary GL from Sun or nVidia is 18837N/A# also installed and don't end up accidentally depending on those. 16799N/A# Unfortunately, xscreensaver is hardcoded to use <GL/gl.h> style paths, 16799N/A# so we create local install path to work around that. 18837N/A# Additional optimization flags, to make the hacks show off the hardware 17996N/A# better and because for just a screensaver display we can get away with 16799N/A# using optimizations that may change strict correctness of floating point ops. 17382N/Aexport LDFLAGS=
"%mesa_libpath %_ldflags %mapfiles_for_all %mapfiles_for_progs" 16799N/A# FIXME: hack, add "-o Makefile" to avoid looping. 16799N/A# FIXME: hack: stop the build from looping 16799N/A# Remove hacks we've chosen not to ship at all for various reasons 16799N/A# Don't need to ship static libraries in the package 17382N/A# Run script to add rss-glx hacks to XScreenSaver app-defaults, then delete it 17382N/A# Make compatibility links for SUNWxscreensaver 17382N/A# This function prints a list of things that get installed. 16799N/A# It does this by parsing the output of a dummy run of "make install". 16799N/A echo '%%dir %%attr(0755, root, bin) %%{xss_libdir}' 16799N/A echo '%%dir %%attr(0755, root, bin) %%{xss_libdir}/hacks' 16799N/A echo '%%dir %%attr(0755, root, sys) %%{_datadir}' 16799N/A echo '%%dir %%attr(0755, root, bin) %%{_mandir}' 16799N/A echo '%%dir %%attr(0755, root, bin) %%{_mandir}/man6' 17996N/A -e 's@/man1/\(.*\)\.1$@/man6/\1.6@' \ 17996N/A -e 's@\(.*/man/.*\)@%%doc \1@' \ 16799N/A# Make sure that there were at least some files found 16799N/A# Make lists of which hacks go into which addon package 16799N/A# xscreensaver must be setuid root in order to do PAM authentication 18793N/A* Mon Oct 19 2009 - alan.coopersmith@sun.com 18793N/A- Change default DPMS settings to match Xorg 1.7 defaults (10 minutes) 18789N/A- Fix patch 9 & 22 to apply cleanly to the new patch 3 results 18789N/A* Wed Sep 23 2009 - alan.coopersmith@sun.com 18778N/A* Thu Sep 10 2009 - arvind.umrao@sun.com 18446N/A* Mon Aug 24 2009 - alan.coopersmith@sun.com 18446N/A- 6875124 Broken link in package SUNWxwsvr 18446N/A* Mon Aug 17 2009 - alan.coopersmith@sun.com 18372N/A* Thu Aug 13 2009 - alan.coopersmith@sun.com 18372N/A* Fri Jul 31 2009 - alan.coopersmith@sun.com 18302N/A* Thu Jul 30 2009 - alan.coopersmith@sun.com 18252N/A* Fri Jul 24 2009 - alan.coopersmith@sun.com 18252N/A- rename patches from *.patch to *.diff 18183N/A* Fri Jul 17 2009 - alan.coopersmith@sun.com 18183N/A- initial version (moved from X gate)