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