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