author | dcarbery |
Wed, 09 May 2007 17:32:48 +0000 | |
changeset 9858 | 770fe45ad222 |
parent 9397 | b16e349d18c5 |
child 10616 | 3ea3bf84b2b5 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package SUNWgnome-screensaver |
|
3 |
# |
|
4 |
# includes module(s): gnome-screensaver |
|
5 |
# |
|
6 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
7 |
# This file and all modifications and additions to the pristine |
|
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
10 |
# Owner: me, me, me, I want it! |
|
11 |
# |
|
12 |
%include Solaris.inc |
|
13 |
||
14 |
%use gss = gnome-screensaver.spec |
|
15 |
||
16 |
Name: SUNWgnome-screensaver |
|
17 |
Summary: GNOME screensaver |
|
18 |
Version: %{default_pkg_version} |
|
19 |
SUNW_BaseDir: %{_basedir} |
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
21 |
%include default-depend.inc |
|
22 |
||
23 |
Requires: SUNWcsl |
|
24 |
Requires: SUNWxwrtl |
|
25 |
Requires: SUNWlxml |
|
26 |
Requires: SUNWgnome-config |
|
27 |
Requires: SUNWgnome-base-libs |
|
28 |
Requires: SUNWgnome-vfs |
|
29 |
Requires: SUNWgnome-libs |
|
30 |
Requires: SUNWgnome-ui-designer |
|
31 |
Requires: SUNWgnome-panel |
|
32 |
Requires: SUNWdbus |
|
33 |
Requires: SUNWgnome-component |
|
34 |
Requires: SUNWlibexif |
|
35 |
Requires: SUNWlibms |
|
36 |
Requires: SUNWlibpopt |
|
37 |
Requires: SUNWmlib |
|
38 |
Requires: SUNWzlib |
|
39 |
Requires: SUNWpostrun |
|
40 |
BuildRequires: SUNWdbus-devel |
|
41 |
BuildRequires: SUNWgnome-component-devel |
|
42 |
BuildRequires: SUNWlibexif-devel |
|
43 |
BuildRequires: SUNWlibpopt-devel |
|
44 |
BuildRequires: SUNWcsl |
|
45 |
BuildRequires: SUNWxwrtl |
|
46 |
BuildRequires: SUNWlxml |
|
47 |
BuildRequires: SUNWgnome-config-devel |
|
48 |
BuildRequires: SUNWgnome-base-libs-devel |
|
49 |
BuildRequires: SUNWgnome-vfs-devel |
|
50 |
BuildRequires: SUNWgnome-libs-devel |
|
51 |
BuildRequires: SUNWgnome-ui-designer |
|
52 |
||
53 |
||
54 |
%if %build_l10n |
|
55 |
%package l10n |
|
56 |
Summary: %{summary} - l10n files |
|
57 |
SUNW_BaseDir: %{_basedir} |
|
58 |
%include default-depend.inc |
|
59 |
Requires: %{name} |
|
60 |
%endif |
|
61 |
||
62 |
||
63 |
%prep |
|
64 |
rm -rf %name-%version |
|
65 |
mkdir %name-%version |
|
66 |
%gss.prep -d %name-%version |
|
67 |
||
68 |
||
69 |
%build |
|
70 |
ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
71 |
%gss.build -d %name-%version |
|
72 |
||
73 |
%install |
|
74 |
%gss.install -d %name-%version |
|
75 |
||
76 |
# TODO: Should we keep the gconf files? |
|
77 |
rm -rf $RPM_BUILD_ROOT%{_sysconfdir} |
|
78 |
||
79 |
%if %build_l10n |
|
80 |
%else |
|
81 |
# REMOVE l10n FILES |
|
82 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
|
83 |
%endif |
|
84 |
||
85 |
||
86 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
|
87 |
||
88 |
%clean |
|
89 |
rm -rf $RPM_BUILD_ROOT |
|
90 |
||
91 |
%post |
|
92 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
93 |
echo '/usr/bin/update-desktop-database' |
|
94 |
) | $BASEDIR/lib/postrun -b -u -c JDS_wait |
|
95 |
||
96 |
%postun |
|
97 |
test -x $BASEDIR/lib/postrun || exit 0 |
|
98 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
99 |
echo '/usr/bin/update-desktop-database' |
|
100 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
101 |
||
102 |
%files |
|
103 |
%defattr (-, root, bin) |
|
104 |
%dir %attr (0755, root, bin) %{_bindir} |
|
105 |
%{_bindir}/* |
|
106 |
%dir %attr (0755, root, bin) %{_libdir} |
|
107 |
%{_libdir}/gnome-screensaver |
|
9858
770fe45ad222
Add %{_libdir}/gnome-screensaver-gl-helper to %files after getting new tarball to build.
dcarbery
parents:
9397
diff
changeset
|
108 |
%{_libdir}/gnome-screensaver-gl-helper |
9397 | 109 |
%{_libexecdir}/gnome-screensaver-dialog |
110 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig |
|
111 |
%{_libdir}/pkgconfig/* |
|
112 |
%dir %attr(0755, root, sys) %{_datadir} |
|
113 |
%dir %attr (0755, root, other) %{_datadir}/applications |
|
114 |
%{_datadir}/applications/* |
|
115 |
%{_datadir}/desktop-directories |
|
116 |
%{_datadir}/gnome-screensaver |
|
117 |
%dir %attr (0755, root, other) %{_datadir}/pixmaps |
|
118 |
%{_datadir}/pixmaps/* |
|
119 |
||
120 |
%if %build_l10n |
|
121 |
%files l10n |
|
122 |
%defattr (-, root, bin) |
|
123 |
%dir %attr (0755, root, sys) %{_datadir} |
|
124 |
%attr (-, root, other) %{_datadir}/locale |
|
125 |
%endif |
|
126 |
||
127 |
%changelog |
|
9858
770fe45ad222
Add %{_libdir}/gnome-screensaver-gl-helper to %files after getting new tarball to build.
dcarbery
parents:
9397
diff
changeset
|
128 |
* Wed May 09 2007 - [email protected] |
770fe45ad222
Add %{_libdir}/gnome-screensaver-gl-helper to %files after getting new tarball to build.
dcarbery
parents:
9397
diff
changeset
|
129 |
- Add %{_libdir}/gnome-screensaver-gl-helper to %files after getting new tarball |
770fe45ad222
Add %{_libdir}/gnome-screensaver-gl-helper to %files after getting new tarball to build.
dcarbery
parents:
9397
diff
changeset
|
130 |
to build. |
9397 | 131 |
* Fri Jul 14 2006 - [email protected] |
132 |
- update %post/%postun/etc scripts to support diskless client setup, |
|
133 |
part of 6448317 |
|
134 |
* Thu Jun 29 2006 - [email protected] |
|
135 |
- update postrun scripts |
|
136 |
* Sun Jun 11 2006 - [email protected] |
|
137 |
- change group from other to bin/sys |
|
138 |
* Mon Feb 20 2006 - [email protected] |
|
139 |
- Update Build/Requires after running check-deps.pl script. |
|
140 |
* Sat Dec 3 2005 - [email protected] |
|
141 |
- add %post script that runs update-desktop-database |
|
142 |
* Wed Nov 30 2005 - [email protected] |
|
143 |
- Add ACLOCAL_FLAGS setting back as it is needed in bumped tarball. |
|
144 |
* Fri Nov 04 2005 - [email protected] |
|
145 |
- Remove ACLOCAL_FLAGS setting as bugs fixed in bumped tarball. |
|
146 |
* Tue Nov 01 2005 - [email protected] |
|
147 |
- Set ACLOCAL_FLAGS for use in base spec file. |
|
148 |
* Tue Oct 25 2005 - [email protected] |
|
149 |
- Remove unused environment variables in %build section. |
|
150 |
* Mon Oct 24 2005 - [email protected] |
|
151 |
- Remove share package; add build and runtime dependencies. |
|
152 |
* Fri Oct 21 2005 - [email protected] |
|
153 |
- Initial spec file created. |
|
154 |