author | laca |
Fri, 14 Oct 2005 19:57:50 +0000 | |
changeset 6102 | 1e3e35b9a369 |
parent 5859 | da89f4e343b9 |
child 6169 | dd075fed44d1 |
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 |
|
3896 | 29 |
BuildRequires: SUNWxorg-headers |
1650 | 30 |
Requires: SUNWgnome-vfs-root |
31 |
Requires: SUNWgnome-vfs-share |
|
2819 | 32 |
Requires: SUNWgnome-libs |
1677 | 33 |
Requires: SUNWgnome-config |
1650 | 34 |
# Requires: SUNWgnome-component |
3669 | 35 |
Requires: SUNWperl584usr |
1650 | 36 |
Requires: SUNWbzip |
37 |
Requires: SUNWzlib |
|
38 |
Requires: SUNWlxml |
|
3896 | 39 |
Requires: SUNWxwrtl |
40 |
Requires: SUNWxorg-clientlibs |
|
1650 | 41 |
|
42 |
%package share |
|
43 |
Summary: GNOME session manager - platform independent files, /usr/share |
|
2621 | 44 |
SUNW_BaseDir: %{_basedir} |
1650 | 45 |
%include default-depend.inc |
3669 | 46 |
Requires: SUNWperl584usr |
1650 | 47 |
|
2995 | 48 |
%package l10n |
49 |
Summary: %{summary} - l10n files |
|
50 |
SUNW_BaseDir: %{_basedir} |
|
51 |
%include default-depend.inc |
|
52 |
Requires: %{name} |
|
53 |
||
1650 | 54 |
%package root |
55 |
Summary: GNOME session manager - platform dependent files, / filesystem |
|
2500 | 56 |
SUNW_BaseDir: / |
1650 | 57 |
%include default-depend.inc |
58 |
||
59 |
%prep |
|
60 |
rm -rf %name-%version |
|
61 |
mkdir %name-%version |
|
62 |
%gsession.prep -d %name-%version |
|
63 |
||
64 |
%build |
|
1678 | 65 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int |
3184 | 66 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
1650 | 67 |
export MSGFMT="/usr/bin/msgfmt" |
68 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
6102 | 69 |
export LDFLAGS="%_ldflags -L/usr/X11/lib -R/usr/X11/lib -L/usr/sfw/lib -R/usr/sfw/lib" |
3896 | 70 |
export CFLAGS="%optflags -I/usr/X11/include" |
71 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
1650 | 72 |
|
73 |
%gsession.build -d %name-%version |
|
74 |
||
75 |
%install |
|
76 |
%gsession.install -d %name-%version |
|
1885 | 77 |
export GCONF_CONFIG_SOURCE=xml::$RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults |
78 |
for S in $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/*.schemas; do |
|
79 |
%{_bindir}/gconftool-2 --makefile-install-rule $S >/dev/null |
|
80 |
done |
|
2084 | 81 |
chmod -R a+rX $RPM_BUILD_ROOT/%{_sysconfdir}/gconf |
2127 | 82 |
rm $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/schemas/?gconf.xml |
83 |
rm $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/apps/?gconf.xml |
|
84 |
rm $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/schemas/apps/?gconf.xml |
|
2326 | 85 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
86 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
3615
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
87 |
install --mode=0755 %SOURCE0 $RPM_BUILD_ROOT%{_mandir}/sman1 |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
88 |
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/sman1 |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
89 |
install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/sman1 |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
90 |
install --mode=0755 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/sman1 |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
91 |
install --mode=0755 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/sman1 |
3889 | 92 |
install --mode=0755 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/sman1 |
2326 | 93 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman5 |
3615
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
94 |
install --mode=0755 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/sman5 |
2952 | 95 |
rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash/flash.gif |
1650 | 96 |
|
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5518
diff
changeset
|
97 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
4122 | 98 |
|
1650 | 99 |
%clean |
100 |
rm -rf $RPM_BUILD_ROOT |
|
101 |
||
102 |
%files |
|
103 |
%defattr (-, root, other) |
|
1677 | 104 |
%dir %attr (0755, root, bin) %{_bindir} |
1650 | 105 |
%{_bindir}/* |
106 |
||
107 |
%files share |
|
108 |
%defattr (-, root, other) |
|
1858 | 109 |
%dir %attr (0755, root, sys) %{_datadir} |
5518 | 110 |
%{_datadir}/applications |
1677 | 111 |
%{_datadir}/gnome |
112 |
%{_datadir}/pixmaps |
|
113 |
%dir %attr(0755, root, bin) %{_mandir} |
|
3821 | 114 |
%dir %attr(0755, root, bin) %{_mandir}/sman1 |
4582 | 115 |
%dir %attr(0755, root, bin) %{_mandir}/sman5 |
3821 | 116 |
%{_mandir}/sman1/* |
4582 | 117 |
%{_mandir}/sman5/* |
1650 | 118 |
|
2995 | 119 |
%files l10n |
120 |
%defattr (-, root, other) |
|
121 |
%dir %attr (0755, root, sys) %{_datadir} |
|
122 |
%{_datadir}/locale |
|
123 |
||
1650 | 124 |
%files root |
2502 | 125 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
1650 | 126 |
%defattr (-, root, other) |
1677 | 127 |
%{_sysconfdir}/* |
2502 | 128 |
%defattr (0755, root, sys) |
1885 | 129 |
|
130 |
%changelog |
|
5518 | 131 |
* Thu May 19 2005 - [email protected] |
132 |
- Update to 2.10 and fix packaging. |
|
4582 | 133 |
* Tue Nov 16 2004 - [email protected] |
134 |
- merged devel-share into share (included default.session(5) only) |
|
4122 | 135 |
* Sat Oct 02 2004 - [email protected] |
136 |
- added %pkgbuild_postprocess |
|
3896 | 137 |
* Sat Sep 11 2004 - [email protected] |
138 |
- Set LDFLAGS so Xrandr and Xrender can be found. |
|
3889 | 139 |
* Thu Sep 09 2004 - [email protected] |
140 |
- Added gnome-session-remove.1 manpage |
|
3821 | 141 |
* Mon Aug 30 2004 - [email protected] |
142 |
- Bug 5091588 : include files should be in a separate devel package |
|
3669 | 143 |
* Mon Aug 23 2004 - [email protected] |
144 |
- s/SUNWpl5u/SUNWperl584usr/ |
|
3615
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
145 |
* Wed Aug 18 2004 [email protected] |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
146 |
- Change manpage perms for Solaris integration. |
3221
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
147 |
* Sat Jun 26 2004 [email protected] |
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
148 |
- Changed install location to /usr/... |
2995 | 149 |
* Wed Jun 2 2004 - [email protected] |
150 |
- Added %{_datadir}/locale to install l10n messages |
|
2952 | 151 |
* Fri Mar 28 2004 - [email protected] |
152 |
- Removed flash.gif from distribution |
|
2326 | 153 |
* Wed Mar 24 2004 - [email protected] |
154 |
- Added SGML man page integration |
|
2127 | 155 |
* Thu Mar 04 2004 - <[email protected]> |
156 |
- fix 2 more gconf clashes |
|
2084 | 157 |
* Sat Feb 28 2004 - <[email protected]> |
158 |
- fix gconf dir permissions (a+rX) |
|
159 |
- remove clashing gconf.xml file |
|
1885 | 160 |
* Mon Feb 23 2004 - <[email protected]> |
161 |
- install gconf schemas at end of install stage. |