author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19719 | d184ca39d269 |
permissions | -rw-r--r-- |
290 | 1 |
# |
19693 | 2 |
# spec file for package xscreensaver |
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
290 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
Name: xscreensaver |
|
9 |
Version: 4.10 |
|
19643 | 10 |
Release: 65 |
290 | 11 |
License: BSD |
12 |
Group: Amusements/Graphics |
|
19693 | 13 |
Distribution: Java Desktop System |
575 | 14 |
Vendor: Sun Microsystems, Inc. |
290 | 15 |
Summary: Screensaver and locker |
16 |
Source: http://www.jwz.org/xscreensaver/xscreensaver-4.10.tar.gz |
|
291 | 17 |
Source1: xscreensaver.pamd |
913 | 18 |
Patch1: xscreensaver-01-passwd-helper.diff |
19 |
Patch2: xscreensaver-02-customise-hacks.diff |
|
20 |
Patch3: xscreensaver-03-dot-desktop.diff |
|
21 |
Patch4: xscreensaver-04-demo-title.diff |
|
1096 | 22 |
Patch5: xscreensaver-05-gtk-dialog.diff |
23 |
Patch6: xscreensaver-06-mnemonics.diff |
|
5044 | 24 |
Patch7: xscreensaver-07-timebarfreezes.diff |
5056 | 25 |
Patch8: xscreensaver-08-rootcachingpasswd.diff |
5107 | 26 |
Patch9: xscreensaver-09-g11n-lockmsg.diff |
5195
3f6280086211
xscreensaver-10-xinputextsegfault.diff Fixes bug 6228023 xinputextension causing seg fault.
mali
parents:
5152
diff
changeset
|
27 |
Patch10: xscreensaver-10-xinputextsegfault.diff |
5265
dd2a6e70dffb
* patches/xscreensaver-11-DisableModeMessesLocking.diff
mali
parents:
5237
diff
changeset
|
28 |
Patch11: xscreensaver-11-DisableModeMessesLocking.diff |
5266
bedf3ec00127
* patches/xscreensaver-12-InputMethodShowsHistoryinLockDialog.diff
mali
parents:
5265
diff
changeset
|
29 |
Patch12: xscreensaver-12-InputMethodShowsHistoryinLockDialog.diff |
19643 | 30 |
Patch13: xscreensaver-13-2scrat.diff |
290 | 31 |
URL: http://www.jwz.org/xscreensaver |
32 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
33 |
Docdir: %{_defaultdocdir}/xscreensaver |
|
34 |
Autoreqprov: on |
|
35 |
||
36 |
BuildRequires: pam-devel |
|
37 |
BuildRequires: gtk2-devel |
|
38 |
||
39 |
%description |
|
40 |
A modular screen saver and locker for the X Window System. |
|
41 |
Highly customizable: allows the use of any program that |
|
42 |
can draw on the root window as a display mode. |
|
549 | 43 |
|
44 |
%package hacks |
|
45 |
Summary: Screensaver display modes for the xscreensaver package |
|
46 |
Group: Amusements/Graphics |
|
47 |
Requires: %{name} = %{version} |
|
48 |
||
49 |
%description hacks |
|
50 |
A modular screen saver and locker for the X Window System. |
|
51 |
Highly customizable: allows the use of any program that |
|
52 |
can draw on the root window as a display mode. |
|
290 | 53 |
More than 150 display modes are included in this package. |
54 |
||
55 |
%prep |
|
56 |
%setup -q |
|
549 | 57 |
%patch2 -p1 |
619 | 58 |
%patch3 -p1 |
737 | 59 |
%patch4 -p1 |
849 | 60 |
%patch5 -p1 |
863 | 61 |
%patch6 -p1 |
5044 | 62 |
%patch7 -p1 |
5056 | 63 |
%patch8 -p1 |
5107 | 64 |
%patch9 -p1 |
5195
3f6280086211
xscreensaver-10-xinputextsegfault.diff Fixes bug 6228023 xinputextension causing seg fault.
mali
parents:
5152
diff
changeset
|
65 |
%patch10 -p1 |
5265
dd2a6e70dffb
* patches/xscreensaver-11-DisableModeMessesLocking.diff
mali
parents:
5237
diff
changeset
|
66 |
%patch11 -p1 |
5266
bedf3ec00127
* patches/xscreensaver-12-InputMethodShowsHistoryinLockDialog.diff
mali
parents:
5265
diff
changeset
|
67 |
%patch12 -p1 |
19643 | 68 |
%patch13 -p1 |
290 | 69 |
|
70 |
%build |
|
3263 | 71 |
%ifos linux |
72 |
if [ -x /usr/bin/getconf ]; then |
|
73 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
74 |
fi |
|
75 |
%else |
|
3846 | 76 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 77 |
%endif |
78 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
79 |
CPUS=1 |
|
80 |
fi |
|
81 |
||
849 | 82 |
autoconf -f |
290 | 83 |
CFLAGS="$RPM_OPT_FLAGS" \ |
84 |
./configure --prefix=%{_prefix} \ |
|
85 |
--mandir=%{_mandir} \ |
|
1522 | 86 |
--with-configdir=%{_libdir}/xscreensaver/config \ |
291 | 87 |
--with-passwd-helper="/sbin/unix2_chkpwd" \ |
3110
a2928869c7cf
* xscreensaver.spec, patches/xscreensaver-05-gtk-dialog.diff
samlau
parents:
2958
diff
changeset
|
88 |
--with-xshm-ext \ |
290 | 89 |
--without-setuid-hacks \ |
3110
a2928869c7cf
* xscreensaver.spec, patches/xscreensaver-05-gtk-dialog.diff
samlau
parents:
2958
diff
changeset
|
90 |
--enable-locking \ |
a2928869c7cf
* xscreensaver.spec, patches/xscreensaver-05-gtk-dialog.diff
samlau
parents:
2958
diff
changeset
|
91 |
--with-pam \ |
a2928869c7cf
* xscreensaver.spec, patches/xscreensaver-05-gtk-dialog.diff
samlau
parents:
2958
diff
changeset
|
92 |
--with-gnome \ |
19643 | 93 |
--with-shadow \ |
94 |
--with-xf86vmode-ext=no |
|
3263 | 95 |
make -j $CPUS |
290 | 96 |
|
97 |
%clean |
|
551 | 98 |
rm -rf $RPM_BUILD_ROOT |
290 | 99 |
|
100 |
%install |
|
1522 | 101 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d |
102 |
mkdir -p $RPM_BUILD_ROOT%{_datadir} |
|
290 | 103 |
make install_prefix=$RPM_BUILD_ROOT \ |
104 |
install-strip |
|
105 |
||
291 | 106 |
install -d -m 755 $RPM_BUILD_ROOT/etc/pam.d |
1522 | 107 |
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/etc/pam.d/xscreensaver |
3628 | 108 |
#FIXME - find out what's deliberately omitted and what is accidentally unpackaged! |
109 |
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/screensaver-properties.desktop |
|
110 |
rm -f $RPM_BUILD_ROOT%{_datadir}/control-center/Desktop/screensaver-properties.desktop |
|
111 |
rm -f $RPM_BUILD_ROOT%{_datadir}/control-center/capplets/screensaver-properties.desktop |
|
112 |
MANPAGES="xflame xjack xlyap xmatrix xrayswarm" |
|
113 |
for i in $MANPAGES; do |
|
114 |
rm $RPM_BUILD_ROOT%{_mandir}/man1/$i.1 |
|
115 |
done |
|
291 | 116 |
|
290 | 117 |
%post |
118 |
||
119 |
pids=`pidof xscreensaver` |
|
120 |
if [ -n "$pids" ]; then |
|
121 |
echo "sending SIGHUP to running xscreensaver ($pids)..." >&2 |
|
122 |
kill -HUP $pids |
|
123 |
fi |
|
124 |
||
125 |
%files |
|
126 |
%{_bindir}/* |
|
849 | 127 |
%{_libexecdir}/* |
290 | 128 |
%defattr(-,root,root) |
129 |
%doc README README.debugging |
|
130 |
%config /usr/X11R6/lib/X11/app-defaults/XScreenSaver |
|
131 |
%config /etc/pam.d/* |
|
549 | 132 |
%{_datadir}/control-center-2.0/capplets/*.desktop |
290 | 133 |
%{_datadir}/xscreensaver/* |
134 |
%{_prefix}/share/locale/*/LC_MESSAGES/*.mo |
|
3628 | 135 |
%{_mandir}/man1/xscreensaver* |
549 | 136 |
|
137 |
%files hacks |
|
138 |
%{_libdir}/xscreensaver/* |
|
139 |
%{_mandir}/man1/[a-wy-z]* |
|
140 |
%{_mandir}/man1/x[st][pue]* |
|
290 | 141 |
|
142 |
%changelog |
|
19643 | 143 |
* Wed May 25 2005 - [email protected] |
144 |
- Fix for Bug 6242023 docs are seen in virtual area, fix is to run ./configure |
|
145 |
- --with-xf86vmode-ext=no option. This option went into this file xscreensaver.spec |
|
146 |
||
147 |
* Wed May 25 2005 - [email protected] |
|
148 |
- Fix for Bug 6237901 better pam implementation is being taken out, causing issues with access |
|
149 |
||
150 |
* Tue May 17 2005 - [email protected] |
|
151 |
- Fix for Bug 6237901 better pam implementation |
|
152 |
||
5265
dd2a6e70dffb
* patches/xscreensaver-11-DisableModeMessesLocking.diff
mali
parents:
5237
diff
changeset
|
153 |
* Tue Mar 22 2005 - [email protected] |
5266
bedf3ec00127
* patches/xscreensaver-12-InputMethodShowsHistoryinLockDialog.diff
mali
parents:
5265
diff
changeset
|
154 |
- Fix for Bug 6209377 xscreensaver is enabling input method in lock dialog |
bedf3ec00127
* patches/xscreensaver-12-InputMethodShowsHistoryinLockDialog.diff
mali
parents:
5265
diff
changeset
|
155 |
|
bedf3ec00127
* patches/xscreensaver-12-InputMethodShowsHistoryinLockDialog.diff
mali
parents:
5265
diff
changeset
|
156 |
* Tue Mar 22 2005 - [email protected] |
5265
dd2a6e70dffb
* patches/xscreensaver-11-DisableModeMessesLocking.diff
mali
parents:
5237
diff
changeset
|
157 |
- Fix for bug 6221109 Chaning mode from disable screensaver messes locking |
dd2a6e70dffb
* patches/xscreensaver-11-DisableModeMessesLocking.diff
mali
parents:
5237
diff
changeset
|
158 |
|
5195
3f6280086211
xscreensaver-10-xinputextsegfault.diff Fixes bug 6228023 xinputextension causing seg fault.
mali
parents:
5152
diff
changeset
|
159 |
* Wed Mar 10 2005 - [email protected] |
3f6280086211
xscreensaver-10-xinputextsegfault.diff Fixes bug 6228023 xinputextension causing seg fault.
mali
parents:
5152
diff
changeset
|
160 |
- Fix for bug 6228023 xinputextension causing seg fault |
3f6280086211
xscreensaver-10-xinputextsegfault.diff Fixes bug 6228023 xinputextension causing seg fault.
mali
parents:
5152
diff
changeset
|
161 |
|
5107 | 162 |
* Fri Feb 18 2005 - [email protected] |
163 |
- Fix for bug 6211020 [cinnabar 25][linux]unlocalized message in 'lock screen' |
|
164 |
||
5056 | 165 |
* Thu Feb 10 2005 - [email protected] |
166 |
- Fix for bug 6205166 xscreensaver caches root passwd |
|
167 |
||
168 |
* Thu Feb 10 2005 - [email protected] |
|
5044 | 169 |
- Fix for bug 6222171 timebar freezes, basically added passwdTimeoutEnabled to true in XScreensaver.ad.in |
170 |
||
4185
590dfb2c6dff
Updating spec-files to include All Linguas patches
cm152228
parents:
4133
diff
changeset
|
171 |
* Thu Oct 07 2004 - [email protected] |
590dfb2c6dff
Updating spec-files to include All Linguas patches
cm152228
parents:
4133
diff
changeset
|
172 |
- Added xscreensaver-07-g11n-alllinguas.diff to include cs locale |
590dfb2c6dff
Updating spec-files to include All Linguas patches
cm152228
parents:
4133
diff
changeset
|
173 |
|
3628 | 174 |
* Wed Jul 14 2004 - [email protected] |
175 |
- packaging fixed for rpm4 |
|
176 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
177 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
178 |
- Updated l10n content to xscreensaver-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
179 |
|
3263 | 180 |
* Wed Jul 07 2004 - [email protected] |
181 |
- added "-j $CPUS" to make to speed up builds |
|
182 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
183 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
184 |
- Updated l10n content to xscreensaver-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
185 |
|
2350 | 186 |
* Mon Mar 29 2004 - [email protected] |
187 |
- Updated l10n content to xscreensaver-l10n-po-1.0.tar.bz2 |
|
188 |
||
1096 | 189 |
* Wed Aug 20 2003 [email protected] |
190 |
- Edit default screensaver to be single and flag. |
|
191 |
||
849 | 192 |
* Mon Jul 28 2003 [email protected] |
193 |
- Add in gtk lock dialog thing. Feel the pain. |
|
194 |
||
619 | 195 |
* Thu Jul 17 2003 Ghee Teo <[email protected]> |
849 | 196 |
- Removed the version and date information from the xscreensaver-demo |
197 |
window title. |
|
619 | 198 |
|
549 | 199 |
* Mon Jul 14 2003 Laca Peter <[email protected]> |
849 | 200 |
- removed/disables some hacks |
201 |
- fixed .desktop files for the capplet |
|
202 |
- separated the hacks into xscreensaver-hacks-*.rpm |
|
549 | 203 |
|
523 | 204 |
* Thu Jul 10 2003 - [email protected] |
205 |
- Added .po tarball |
|
206 |
||
294 | 207 |
* Mon Jun 23 2003 Laca Peter <[email protected]> |
293 | 208 |
- added xscreensaver.pam and the passwd helper so unlock works. |
209 |
- dirty hacks with mkinstalldirs to make it build with our version |
|
210 |
of automake/autoconf. |