9397
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-config
|
|
3 |
#
|
|
4 |
# includes module(s): GConf
|
|
5 |
#
|
10572
|
6 |
# Copyright 2007 Sun Microsystems, Inc.
|
9397
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
16434
|
10 |
%define owner stephen
|
9397
|
11 |
%include Solaris.inc
|
10572
|
12 |
|
|
13 |
%ifarch amd64 sparcv9
|
|
14 |
%include arch64.inc
|
|
15 |
%use gconf_64 = GConf.spec
|
|
16 |
%endif
|
|
17 |
|
|
18 |
%include base.inc
|
10574
|
19 |
%use gconf = GConf.spec
|
10572
|
20 |
|
9397
|
21 |
Name: SUNWgnome-config
|
|
22 |
Summary: GNOME configuration framework
|
|
23 |
Version: %{default_pkg_version}
|
|
24 |
Source: %{name}-manpages-0.1.tar.gz
|
|
25 |
SUNW_BaseDir: %{_basedir}
|
11975
|
26 |
SUNW_Copyright: %{name}.copyright
|
9397
|
27 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
28 |
|
|
29 |
%include default-depend.inc
|
15650
|
30 |
BuildRequires: SUNWgtk2-devel
|
|
31 |
Requires: SUNWgtk2
|
9397
|
32 |
Requires: SUNWgnome-config-root
|
|
33 |
Requires: SUNWlxml
|
|
34 |
Requires: SUNWgnome-component
|
|
35 |
Requires: SUNWlibpopt
|
12579
|
36 |
Requires: SUNWdbus
|
15324
|
37 |
Requires: SUNWdbus-glib
|
15692
|
38 |
Requires: SUNWdesktop-cache
|
12579
|
39 |
BuildRequires: SUNWgnome-component-devel
|
|
40 |
BuildRequires: SUNWdbus-devel
|
15324
|
41 |
BuildRequires: SUNWdbus-glib-devel
|
9397
|
42 |
|
|
43 |
%package root
|
|
44 |
Summary: %{summary} - / filesystem
|
|
45 |
SUNW_BaseDir: /
|
|
46 |
%include default-depend.inc
|
|
47 |
|
|
48 |
%package devel
|
|
49 |
Summary: %{summary} - development files
|
|
50 |
SUNW_BaseDir: %{_basedir}
|
|
51 |
%include default-depend.inc
|
15650
|
52 |
Requires: SUNWgtk2-devel
|
9397
|
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 |
%prep
|
|
63 |
rm -rf %name-%version
|
|
64 |
mkdir %name-%version
|
10572
|
65 |
|
|
66 |
%ifarch amd64 sparcv9
|
|
67 |
mkdir %name-%version/%_arch64
|
|
68 |
%gconf_64.prep -d %name-%version/%_arch64
|
|
69 |
%endif
|
|
70 |
|
|
71 |
mkdir %name-%version/%{base_arch}
|
|
72 |
%gconf.prep -d %name-%version/%{base_arch}
|
|
73 |
|
9397
|
74 |
cd %{_builddir}/%name-%version
|
|
75 |
gzcat %SOURCE0 | tar xf -
|
|
76 |
|
|
77 |
%build
|
10572
|
78 |
%ifarch amd64 sparcv9
|
|
79 |
%gconf_64.build -d %name-%version/%_arch64
|
9397
|
80 |
%endif
|
|
81 |
|
10572
|
82 |
export EXTRA_LDFLAGS=""
|
|
83 |
%gconf.build -d %name-%version/%{base_arch}
|
9397
|
84 |
|
|
85 |
%install
|
10572
|
86 |
rm -rf $RPM_BUILD_ROOT
|
|
87 |
|
|
88 |
%ifarch amd64 sparcv9
|
|
89 |
%gconf_64.install -d %name-%version/%_arch64
|
|
90 |
%endif
|
|
91 |
|
|
92 |
%gconf.install -d %name-%version/%{base_arch}
|
|
93 |
|
9397
|
94 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/man
|
|
95 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
96 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
97 |
|
|
98 |
%ifarch amd64 sparcv9
|
|
99 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/gconfd-2
|
|
100 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/gconf-sanity-check-2
|
|
101 |
%endif
|
|
102 |
|
|
103 |
rm -f $RPM_BUILD_ROOT%{_bindir}/gconf-merge-tree
|
|
104 |
|
|
105 |
%if %build_l10n
|
|
106 |
%else
|
|
107 |
# REMOVE l10n FILES
|
|
108 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
109 |
%endif
|
|
110 |
|
|
111 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
112 |
|
|
113 |
%clean
|
|
114 |
rm -rf $RPM_BUILD_ROOT
|
|
115 |
|
|
116 |
%files
|
13497
|
117 |
%doc -d %{base_arch}/GConf-%{gconf.version} README
|
|
118 |
%doc(bzip2) -d %{base_arch}/GConf-%{gconf.version} COPYING NEWS ChangeLog
|
13668
|
119 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
9397
|
120 |
%defattr (-, root, bin)
|
|
121 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
122 |
%{_bindir}/gconftool-2
|
|
123 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
124 |
%{_libdir}/libgconf-2.so*
|
|
125 |
%{_libdir}/GConf/2/lib*.so
|
|
126 |
%{_libexecdir}/gconf-sanity-check-2
|
|
127 |
%{_libexecdir}/gconfd-2
|
|
128 |
%ifarch amd64 sparcv9
|
|
129 |
%dir %attr (0755, root, bin) %{_bindir}/%{_arch64}
|
|
130 |
%{_bindir}/%{_arch64}/gconf-merge-tree
|
|
131 |
%{_bindir}/%{_arch64}/gconftool-2
|
|
132 |
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
|
|
133 |
%{_libdir}/%{_arch64}/libgconf-2.so*
|
|
134 |
%{_libdir}/%{_arch64}/GConf/2/lib*.so
|
|
135 |
%endif
|
|
136 |
%dir %attr (0755, root, sys) %{_datadir}
|
12579
|
137 |
%{_datadir}/dbus-1
|
9397
|
138 |
%{_datadir}/sgml/gconf/gconf-1.0.dtd
|
|
139 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
140 |
%dir %attr(0755, root, bin) %{_mandir}/man1
|
|
141 |
%{_mandir}/man1/*
|
|
142 |
|
|
143 |
%files root
|
|
144 |
%defattr (-, root, sys)
|
|
145 |
%attr (0755, root, sys) %dir %{_sysconfdir}
|
|
146 |
%config %{_sysconfdir}/gconf
|
|
147 |
|
|
148 |
%files devel
|
|
149 |
%defattr (-, root, bin)
|
|
150 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
151 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
152 |
%{_libdir}/pkgconfig/*
|
|
153 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
154 |
%{_includedir}/*
|
|
155 |
%ifarch amd64 sparcv9
|
|
156 |
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
|
|
157 |
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
|
|
158 |
%{_libdir}/%{_arch64}/pkgconfig/*
|
|
159 |
%endif
|
|
160 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
161 |
%{_datadir}/gtk-doc
|
|
162 |
%dir %attr (0755, root, other) %{_datadir}/aclocal
|
|
163 |
%{_datadir}/aclocal/*
|
|
164 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
165 |
%dir %attr(0755, root, bin) %{_mandir}/man3
|
|
166 |
%{_mandir}/man3/*
|
|
167 |
|
|
168 |
%if %build_l10n
|
|
169 |
%files l10n
|
|
170 |
%defattr (-, root, bin)
|
|
171 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
172 |
%attr (-, root, other) %{_datadir}/locale
|
|
173 |
%endif
|
|
174 |
|
15692
|
175 |
%post
|
|
176 |
%restart_fmri gconf-cache
|
|
177 |
|
9397
|
178 |
%changelog
|
15692
|
179 |
* Wed Apr 29 2009 - [email protected]
|
|
180 |
- add desktop-cache dependency and ping gconf-cache after installation
|
15494
|
181 |
* Tue Mar 24 2009 - [email protected]
|
|
182 |
- Since /usr/lib/amd64/pkgconfig/gconf-2.0.pc (SUNWgnome-config-devel)
|
|
183 |
requires /usr/lib/amd64/pkgconfig/glib-2.0.pc which is found in
|
|
184 |
SUNWgnome-base-libs-devel, add the dependency.
|
15324
|
185 |
* Thu Mar 05 2009 - [email protected]
|
|
186 |
- Change SUNWdbus-bindings to SUNWdbus-glib.
|
13668
|
187 |
* Fri Sep 19 2008 - [email protected]
|
|
188 |
- Set attribute of /usr/share/doc in base pkg %files section.
|
13579
|
189 |
* Mon Sep 15 2008 - [email protected]
|
|
190 |
- Remove /usr/share/doc from %files.
|
13497
|
191 |
* Wed Sep 10 2008 - [email protected]
|
|
192 |
- Add %doc to %files for copyright
|
13237
|
193 |
* Wed Aug 06 2008 - [email protected]
|
|
194 |
- Bug 6703986 : Remove references to /usr/lib/ST/64
|
12579
|
195 |
* Wed Jun 04 2008 - [email protected]
|
|
196 |
- Add Build/Requires SUNWdbus and SUNWdbus-bindings for GConf 2.23.1. Update
|
|
197 |
%files for dbus files.
|
10572
|
198 |
* Fri Sep 28 2007 - [email protected]
|
|
199 |
- convert to new style multi-ISA build
|
10157
|
200 |
* Tue Jul 03 2007 - [email protected]
|
|
201 |
- Remove %{_datadir}/GConf from %files as it is no longer installed.
|
9397
|
202 |
* Fri Sep 01 2006 - [email protected]
|
|
203 |
- New Manpage tarball
|
|
204 |
* Thu Jun 29 2006 - [email protected]
|
|
205 |
- don't include gconf-merge-tree. Now that we're only using the merged
|
|
206 |
data, gconf-merge-tree can only cause trouble
|
|
207 |
* Thu Jun 22 2006 - [email protected]
|
|
208 |
- Correct LDFLAGS64 to use %{_arch64} and move sparc-specific settings to
|
|
209 |
a %ifarch sparcv9 section.
|
|
210 |
* Sun Jun 11 2006 - [email protected]
|
|
211 |
- change group from other to bin/sys
|
|
212 |
* Wed May 10 2006 - [email protected]
|
|
213 |
- merge -share pkg(s) into the base pkg(s)
|
|
214 |
* Tue Sep 20 2005 - [email protected]
|
|
215 |
- delete unpackaged files or add them to %files
|
|
216 |
* Tue Sep 06 2005 - [email protected]
|
|
217 |
- fix the 64-bit build
|
|
218 |
* Fri Sep 02 2005 - [email protected]
|
|
219 |
- remove unpackaged files
|
|
220 |
* Sat Oct 02 2004 - [email protected]
|
|
221 |
- added %pkgbuild_postprocess
|
|
222 |
* Sat Oct 2 2004 - [email protected]
|
|
223 |
- Create 64bit libraries for Solaris
|
|
224 |
* Mon Aug 30 2004 - [email protected]
|
|
225 |
- Bug 5091588 : sman3/4 files should be in a separate devel package
|
|
226 |
* Tue Aug 24 2004 - [email protected]
|
|
227 |
- set all files in /etc/gconf to volatile, fixes 5090975
|
|
228 |
* Sun Aug 22 2004 - [email protected]
|
|
229 |
- fix dependencies: don't depend on -devel pkgs
|
|
230 |
* Wed Aug 18 2004 - [email protected]
|
|
231 |
- Change manpage perms for Solaris integration.
|
|
232 |
* Mon Jul 05 2004 - [email protected]
|
|
233 |
- Add BuildRequires: SUNWgnome-base-libs-devel
|
|
234 |
* Sat Jun 26 2004 - [email protected]
|
|
235 |
- Changed install location to /usr/...
|
|
236 |
* Thu May 27 2004 - [email protected]
|
|
237 |
- added l10n subpkg
|
|
238 |
* Thu May 05 2004 - [email protected]
|
|
239 |
- removed aclocal files from share since they were already
|
|
240 |
in devel-share.
|
|
241 |
* Sun Apr 04 2004 - [email protected]
|
|
242 |
- added some missing files to %files
|
|
243 |
* Wed Mar 24 2004 - [email protected]
|
|
244 |
- Added SGML man page integration
|
|
245 |
* Mon Jan 26 2004 - [email protected]
|
|
246 |
- initial version added to CVS
|
15650
|
247 |
|