1 # 2 # spec file for package SUNWgnome-config 3 # 4 # includes module(s): GConf 5 # 6 # Copyright 2007 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: stephen 11 %include Solaris.inc 12 13 %ifarch amd64 sparcv9 14 %include arch64.inc 15 %use gconf_64 = GConf.spec 16 %endif 17 18 %include base.inc 19 %use gconf = GConf.spec 20 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} 26 SUNW_Copyright: %{name}.copyright 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 36 Requires: SUNWdbus 37 Requires: SUNWdbus-bindings 38 BuildRequires: SUNWgnome-component-devel 39 BuildRequires: SUNWdbus-devel 40 BuildRequires: SUNWdbus-bindings-devel 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 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 72 cd %{_builddir}/%name-%version 73 gzcat %SOURCE0 | tar xf - 74 75 %build 76 %ifarch amd64 sparcv9 77 %gconf_64.build -d %name-%version/%_arch64 78 %endif 79 80 export EXTRA_LDFLAGS="" 81 %gconf.build -d %name-%version/%{base_arch} 82 83 %install 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 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 115 %doc -d %{base_arch}/GConf-%{gconf.version} README 116 %doc(bzip2) -d %{base_arch}/GConf-%{gconf.version} COPYING NEWS ChangeLog 117 %dir %attr (0755, root, other) %{_datadir}/doc 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} 135 %{_datadir}/dbus-1 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 174 * Fri Sep 19 2008 - dave.lin@sun.com 175 - Set attribute of /usr/share/doc in base pkg %files section. 176 * Mon Sep 15 2008 - christian.kelly@sun.com 177 - Remove /usr/share/doc from %files. 178 * Wed Sep 10 2008 - padraig.obriain@sun.com 179 - Add %doc to %files for copyright 180 * Wed Aug 06 2008 - dermot.mccluskey@sun.com 181 - Bug 6703986 : Remove references to /usr/lib/ST/64 182 * Wed Jun 04 2008 - damien.carbery@sun.com 183 - Add Build/Requires SUNWdbus and SUNWdbus-bindings for GConf 2.23.1. Update 184 %files for dbus files. 185 * Fri Sep 28 2007 - laca@sun.com 186 - convert to new style multi-ISA build 187 * Tue Jul 03 2007 - damien.carbery@sun.com 188 - Remove %{_datadir}/GConf from %files as it is no longer installed. 189 * Fri Sep 01 2006 - Matt.Keenan@sun.com 190 - New Manpage tarball 191 * Thu Jun 29 2006 - laca@sun.com 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 - damien.carbery@sun.com 195 - Correct LDFLAGS64 to use %{_arch64} and move sparc-specific settings to 196 a %ifarch sparcv9 section. 197 * Sun Jun 11 2006 - laca@sun.com 198 - change group from other to bin/sys 199 * Wed May 10 2006 - laca@sun.com 200 - merge -share pkg(s) into the base pkg(s) 201 * Tue Sep 20 2005 - laca@sun.com 202 - delete unpackaged files or add them to %files 203 * Tue Sep 06 2005 - laca@sun.com 204 - fix the 64-bit build 205 * Fri Sep 02 2005 - laca@sun.com 206 - remove unpackaged files 207 * Sat Oct 02 2004 - laca@sun.com 208 - added %pkgbuild_postprocess 209 * Sat Oct 2 2004 - Joseph.Townsend@Sun.COM 210 - Create 64bit libraries for Solaris 211 * Mon Aug 30 2004 - shirley.woo@sun.com 212 - Bug 5091588 : sman3/4 files should be in a separate devel package 213 * Tue Aug 24 2004 - laca@sun.com 214 - set all files in /etc/gconf to volatile, fixes 5090975 215 * Sun Aug 22 2004 - laca@sun.com 216 - fix dependencies: don't depend on -devel pkgs 217 * Wed Aug 18 2004 - damien.carbery (at] sun.com 218 - Change manpage perms for Solaris integration. 219 * Mon Jul 05 2004 - damien.carbery (at] sun.com 220 - Add BuildRequires: SUNWgnome-base-libs-devel 221 * Sat Jun 26 2004 - shirley.woo (at] sun.com 222 - Changed install location to /usr/... 223 * Thu May 27 2004 - laca (at] sun.com 224 - added l10n subpkg 225 * Thu May 05 2004 - brian.cameron (at] sun.com 226 - removed aclocal files from share since they were already 227 in devel-share. 228 * Sun Apr 04 2004 - laca (at] sun.com 229 - added some missing files to %files 230 * Wed Mar 24 2004 - brian.cameron (at] sun.com 231 - Added SGML man page integration 232 * Mon Jan 26 2004 - Laszlo.Peter (at] sun.com 233 - initial version added to CVS 234