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