author | dc144907 |
Mon, 20 Feb 2006 16:33:53 +0000 | |
changeset 6795 | 2243eef12c58 |
parent 6755 | 3b1dc328e262 |
child 6846 | d7b3d432d5cb |
permissions | -rw-r--r-- |
1650 | 1 |
# |
2 |
# spec file for package SUNWgnome-session |
|
3 |
# |
|
4 |
# includes module(s): gnome-session |
|
5 |
# |
|
6 |
# Copyright (c) 2004 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 |
||
11 |
%include Solaris.inc |
|
12 |
||
13 |
%use gsession = gnome-session.spec |
|
14 |
||
15 |
Name: SUNWgnome-session |
|
16 |
Summary: GNOME session manager - platform dependent files, /usr filesystem |
|
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5518
diff
changeset
|
17 |
Version: %{default_pkg_version} |
2326 | 18 |
Source: gnome-session-properties.1 |
19 |
Source1: gnome-session-save.1 |
|
20 |
Source2: gnome-session.1 |
|
21 |
Source3: gnome-smproxy.1 |
|
22 |
Source4: gnome-wm.1 |
|
23 |
Source5: default.session.5 |
|
3889 | 24 |
Source6: gnome-session-remove.1 |
2621 | 25 |
SUNW_BaseDir: %{_basedir} |
1650 | 26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
27 |
||
28 |
%include default-depend.inc |
|
29 |
Requires: SUNWgnome-vfs-root |
|
30 |
Requires: SUNWgnome-vfs-share |
|
2819 | 31 |
Requires: SUNWgnome-libs |
1677 | 32 |
Requires: SUNWgnome-config |
6729 | 33 |
Requires: SUNWgnome-component |
6755 | 34 |
Requires: SUNWgnome-panel |
3669 | 35 |
Requires: SUNWperl584usr |
1650 | 36 |
Requires: SUNWbzip |
37 |
Requires: SUNWzlib |
|
38 |
Requires: SUNWlxml |
|
3896 | 39 |
Requires: SUNWxwrtl |
40 |
Requires: SUNWxorg-clientlibs |
|
6795 | 41 |
Requires: SUNWgnome-audio |
42 |
Requires: SUNWgnome-base-libs |
|
43 |
BuildRequires: SUNWgnome-audio-devel |
|
44 |
BuildRequires: SUNWgnome-base-libs-devel |
|
45 |
BuildRequires: SUNWxorg-headers |
|
6729 | 46 |
BuildRequires: SUNWgnome-vfs-devel |
47 |
BuildRequires: SUNWgnome-libs-devel |
|
48 |
BuildRequires: SUNWgnome-config-devel |
|
49 |
BuildRequires: SUNWgnome-component-devel |
|
6755 | 50 |
BuildRequires: SUNWgnome-panel-devel |
1650 | 51 |
|
52 |
%package share |
|
53 |
Summary: GNOME session manager - platform independent files, /usr/share |
|
2621 | 54 |
SUNW_BaseDir: %{_basedir} |
1650 | 55 |
%include default-depend.inc |
3669 | 56 |
Requires: SUNWperl584usr |
6339 | 57 |
Requires: SUNWpostrun |
1650 | 58 |
|
6169 | 59 |
%if %build_l10n |
2995 | 60 |
%package l10n |
61 |
Summary: %{summary} - l10n files |
|
62 |
SUNW_BaseDir: %{_basedir} |
|
63 |
%include default-depend.inc |
|
64 |
Requires: %{name} |
|
6169 | 65 |
%endif |
2995 | 66 |
|
1650 | 67 |
%package root |
68 |
Summary: GNOME session manager - platform dependent files, / filesystem |
|
2500 | 69 |
SUNW_BaseDir: / |
1650 | 70 |
%include default-depend.inc |
71 |
||
72 |
%prep |
|
73 |
rm -rf %name-%version |
|
74 |
mkdir %name-%version |
|
75 |
%gsession.prep -d %name-%version |
|
76 |
||
77 |
%build |
|
1678 | 78 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int |
3184 | 79 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
1650 | 80 |
export MSGFMT="/usr/bin/msgfmt" |
81 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
6102 | 82 |
export LDFLAGS="%_ldflags -L/usr/X11/lib -R/usr/X11/lib -L/usr/sfw/lib -R/usr/sfw/lib" |
3896 | 83 |
export CFLAGS="%optflags -I/usr/X11/include" |
84 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
1650 | 85 |
|
86 |
%gsession.build -d %name-%version |
|
87 |
||
88 |
%install |
|
89 |
%gsession.install -d %name-%version |
|
1885 | 90 |
export GCONF_CONFIG_SOURCE=xml::$RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults |
91 |
for S in $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/*.schemas; do |
|
92 |
%{_bindir}/gconftool-2 --makefile-install-rule $S >/dev/null |
|
93 |
done |
|
2084 | 94 |
chmod -R a+rX $RPM_BUILD_ROOT/%{_sysconfdir}/gconf |
2127 | 95 |
rm $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/schemas/?gconf.xml |
96 |
rm $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/apps/?gconf.xml |
|
97 |
rm $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/schemas/apps/?gconf.xml |
|
2326 | 98 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
99 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
3615
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
100 |
install --mode=0755 %SOURCE0 $RPM_BUILD_ROOT%{_mandir}/sman1 |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
101 |
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/sman1 |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
102 |
install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/sman1 |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
103 |
install --mode=0755 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/sman1 |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
104 |
install --mode=0755 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/sman1 |
3889 | 105 |
install --mode=0755 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/sman1 |
2326 | 106 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman5 |
3615
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
107 |
install --mode=0755 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/sman5 |
2952 | 108 |
rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash/flash.gif |
1650 | 109 |
|
6169 | 110 |
%if %build_l10n |
111 |
%else |
|
112 |
# REMOVE l10n FILES |
|
113 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
|
114 |
%endif |
|
115 |
||
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5518
diff
changeset
|
116 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
4122 | 117 |
|
1650 | 118 |
%clean |
119 |
rm -rf $RPM_BUILD_ROOT |
|
120 |
||
6339 | 121 |
%post share |
122 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
123 |
echo '/usr/bin/update-desktop-database' |
|
124 |
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u |
|
125 |
||
1650 | 126 |
%files |
127 |
%defattr (-, root, other) |
|
1677 | 128 |
%dir %attr (0755, root, bin) %{_bindir} |
1650 | 129 |
%{_bindir}/* |
130 |
||
131 |
%files share |
|
132 |
%defattr (-, root, other) |
|
1858 | 133 |
%dir %attr (0755, root, sys) %{_datadir} |
5518 | 134 |
%{_datadir}/applications |
1677 | 135 |
%{_datadir}/gnome |
136 |
%{_datadir}/pixmaps |
|
137 |
%dir %attr(0755, root, bin) %{_mandir} |
|
3821 | 138 |
%dir %attr(0755, root, bin) %{_mandir}/sman1 |
4582 | 139 |
%dir %attr(0755, root, bin) %{_mandir}/sman5 |
3821 | 140 |
%{_mandir}/sman1/* |
4582 | 141 |
%{_mandir}/sman5/* |
1650 | 142 |
|
6169 | 143 |
%if %build_l10n |
2995 | 144 |
%files l10n |
145 |
%defattr (-, root, other) |
|
146 |
%dir %attr (0755, root, sys) %{_datadir} |
|
147 |
%{_datadir}/locale |
|
6169 | 148 |
%endif |
2995 | 149 |
|
1650 | 150 |
%files root |
2502 | 151 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
1650 | 152 |
%defattr (-, root, other) |
1677 | 153 |
%{_sysconfdir}/* |
2502 | 154 |
%defattr (0755, root, sys) |
1885 | 155 |
|
156 |
%changelog |
|
6795 | 157 |
* Mon Feb 20 2006 - [email protected] |
158 |
- Update Build/Requires after running check-deps.pl script. |
|
6755 | 159 |
* Tue Feb 14 2006 - [email protected] |
160 |
- Add Build/Requires SUNWgnome-panel/-devel for gnome-desktop. |
|
6729 | 161 |
* Fri Feb 10 2006 - [email protected] |
162 |
- Added BuildRequires lines to ensure it is built in the correct order. |
|
6339 | 163 |
* Sat Dec 3 2005 - [email protected] |
164 |
- add %post script that runs update-desktop-database |
|
5518 | 165 |
* Thu May 19 2005 - [email protected] |
166 |
- Update to 2.10 and fix packaging. |
|
4582 | 167 |
* Tue Nov 16 2004 - [email protected] |
168 |
- merged devel-share into share (included default.session(5) only) |
|
4122 | 169 |
* Sat Oct 02 2004 - [email protected] |
170 |
- added %pkgbuild_postprocess |
|
3896 | 171 |
* Sat Sep 11 2004 - [email protected] |
172 |
- Set LDFLAGS so Xrandr and Xrender can be found. |
|
3889 | 173 |
* Thu Sep 09 2004 - [email protected] |
174 |
- Added gnome-session-remove.1 manpage |
|
3821 | 175 |
* Mon Aug 30 2004 - [email protected] |
176 |
- Bug 5091588 : include files should be in a separate devel package |
|
3669 | 177 |
* Mon Aug 23 2004 - [email protected] |
178 |
- s/SUNWpl5u/SUNWperl584usr/ |
|
3615
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
179 |
* Wed Aug 18 2004 [email protected] |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
180 |
- Change manpage perms for Solaris integration. |
3221
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
181 |
* Sat Jun 26 2004 [email protected] |
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
182 |
- Changed install location to /usr/... |
2995 | 183 |
* Wed Jun 2 2004 - [email protected] |
184 |
- Added %{_datadir}/locale to install l10n messages |
|
2952 | 185 |
* Fri Mar 28 2004 - [email protected] |
186 |
- Removed flash.gif from distribution |
|
2326 | 187 |
* Wed Mar 24 2004 - [email protected] |
188 |
- Added SGML man page integration |
|
2127 | 189 |
* Thu Mar 04 2004 - <[email protected]> |
190 |
- fix 2 more gconf clashes |
|
2084 | 191 |
* Sat Feb 28 2004 - <[email protected]> |
192 |
- fix gconf dir permissions (a+rX) |
|
193 |
- remove clashing gconf.xml file |
|
1885 | 194 |
* Mon Feb 23 2004 - <[email protected]> |
195 |
- install gconf schemas at end of install stage. |