9397
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-terminal
|
|
3 |
#
|
|
4 |
# includes module(s): vte gnome-terminal
|
|
5 |
#
|
15556
|
6 |
# Copyright 2009 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 yippi
|
9397
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
|
|
14 |
%use vte = vte.spec
|
|
15 |
%use gterminal = gnome-terminal.spec
|
|
16 |
|
|
17 |
Name: SUNWgnome-terminal
|
|
18 |
Summary: GNOME terminal emulator
|
|
19 |
Version: %{default_pkg_version}
|
|
20 |
Source: %{name}-manpages-0.1.tar.gz
|
|
21 |
SUNW_BaseDir: %{_basedir}
|
11963
|
22 |
SUNW_Copyright: %{name}.copyright
|
9397
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
%include default-depend.inc
|
15650
|
25 |
Requires: SUNWgtk2
|
9397
|
26 |
Requires: SUNWgnome-libs
|
|
27 |
Requires: SUNWgnome-config
|
14825
|
28 |
Requires: SUNWgnome-component
|
|
29 |
Requires: SUNWgnome-vfs
|
|
30 |
Requires: SUNWncurses
|
9397
|
31 |
Requires: SUNWperl584usr
|
|
32 |
Requires: SUNWbzip
|
|
33 |
Requires: SUNWzlib
|
|
34 |
Requires: SUNWlxml
|
16783
|
35 |
Requires: SUNWPython26
|
|
36 |
Requires: SUNWgnome-python26-libs
|
9397
|
37 |
Requires: SUNWfontconfig
|
|
38 |
Requires: SUNWfreetype2
|
|
39 |
Requires: SUNWlibms
|
|
40 |
Requires: SUNWlibpopt
|
|
41 |
Requires: SUNWxwxft
|
15556
|
42 |
Requires: SUNWdesktop-cache
|
|
43 |
Requires: %{name}-root
|
15650
|
44 |
BuildRequires: SUNWgtk2-devel
|
9397
|
45 |
BuildRequires: SUNWgnome-libs-devel
|
|
46 |
BuildRequires: SUNWgnome-config-devel
|
|
47 |
BuildRequires: SUNWgnome-component-devel
|
|
48 |
BuildRequires: SUNWgnome-vfs-devel
|
14825
|
49 |
BuildRequires: SUNWncurses-devel
|
9397
|
50 |
BuildRequires: SUNWlibpopt-devel
|
16783
|
51 |
BuildRequires: SUNWPython26-devel
|
|
52 |
BuildRequires: SUNWgnome-python26-libs-devel
|
15420
|
53 |
BuildRequires: SUNWgtk-doc
|
9397
|
54 |
|
|
55 |
%if %build_l10n
|
|
56 |
%package l10n
|
|
57 |
Summary: %{summary} - l10n files
|
|
58 |
SUNW_BaseDir: %{_basedir}
|
|
59 |
%include default-depend.inc
|
|
60 |
Requires: %{name}
|
|
61 |
%endif
|
|
62 |
|
|
63 |
%package root
|
|
64 |
Summary: %{summary} - / filesystem
|
|
65 |
SUNW_BaseDir: /
|
|
66 |
%include default-depend.inc
|
|
67 |
|
|
68 |
%package devel
|
|
69 |
Summary: %{summary} - development files
|
|
70 |
SUNW_BaseDir: %{_basedir}
|
|
71 |
%include default-depend.inc
|
|
72 |
Requires: SUNWperl584usr
|
15650
|
73 |
Requires: SUNWgtk2
|
9397
|
74 |
|
|
75 |
%prep
|
|
76 |
rm -rf %name-%version
|
|
77 |
mkdir %name-%version
|
|
78 |
%vte.prep -d %name-%version
|
|
79 |
%gterminal.prep -d %name-%version
|
|
80 |
cd %{_builddir}/%name-%version
|
|
81 |
gzcat %SOURCE0 | tar xf -
|
|
82 |
|
|
83 |
cd %{_builddir}/%name-%version/gnome-terminal-%{gterminal.version}
|
|
84 |
ln -s ../vte-%{vte.version}/src vte
|
|
85 |
|
|
86 |
%build
|
15887
|
87 |
export CFLAGS="-I/usr/include/ncurses %optflags"
|
|
88 |
export RPM_OPT_FLAGS="$CFLAGS -I/usr/include/ncurses"
|
14825
|
89 |
export LDFLAGS="%_ldflags -L/usr/gnu/lib -R/usr/gnu/lib"
|
|
90 |
%vte.build -d %name-%version
|
9397
|
91 |
|
14825
|
92 |
export PKG_CONFIG_PATH="../vte-%{vte.version}:%{_pkg_config_path}"
|
9397
|
93 |
%gterminal.build -d %name-%version
|
|
94 |
|
|
95 |
%install
|
|
96 |
rm -rf $RPM_BUILD_ROOT
|
|
97 |
%vte.install -d %name-%version
|
|
98 |
%gterminal.install -d %name-%version
|
|
99 |
|
|
100 |
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
|
101 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
102 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
103 |
|
10350
|
104 |
#rmdir $RPM_BUILD_ROOT/usr/var
|
9397
|
105 |
|
|
106 |
%if %build_l10n
|
|
107 |
%else
|
|
108 |
# REMOVE l10n FILES
|
|
109 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
110 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]*
|
|
111 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf
|
|
112 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf
|
|
113 |
%endif
|
|
114 |
rm -rf $RPM_BUILD_ROOT/var
|
|
115 |
|
|
116 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
117 |
|
|
118 |
%clean
|
|
119 |
rm -rf $RPM_BUILD_ROOT
|
|
120 |
|
|
121 |
%post
|
15556
|
122 |
%restart_fmri desktop-mime-cache gconf-cache
|
9397
|
123 |
|
|
124 |
%postun
|
15556
|
125 |
%restart_fmri desktop-mime-cache
|
9397
|
126 |
|
|
127 |
%files
|
|
128 |
%defattr (-, root, bin)
|
|
129 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
130 |
%{_bindir}/*
|
|
131 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
132 |
%{_libdir}/lib*.so*
|
|
133 |
%attr (-, root, bin) %{_libdir}/python*
|
18383
|
134 |
%attr (0755, root, bin) %{_libexecdir}/gnome-pty-helper
|
9397
|
135 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
136 |
%dir %attr (0755, root, other) %{_datadir}/applications
|
|
137 |
%{_datadir}/applications/*
|
13598
|
138 |
%doc gnome-terminal-%{gterminal.version}/AUTHORS
|
|
139 |
%doc gnome-terminal-%{gterminal.version}/README
|
|
140 |
%doc(bzip2) gnome-terminal-%{gterminal.version}/ChangeLog
|
|
141 |
%doc(bzip2) gnome-terminal-%{gterminal.version}/ChangeLog.README
|
|
142 |
%doc(bzip2) gnome-terminal-%{gterminal.version}/ChangeLog.pre-2-23
|
|
143 |
%doc(bzip2) gnome-terminal-%{gterminal.version}/COPYING
|
|
144 |
%doc(bzip2) gnome-terminal-%{gterminal.version}/NEWS
|
|
145 |
%doc vte-%{vte.version}/AUTHORS
|
|
146 |
%doc vte-%{vte.version}/README
|
|
147 |
%doc(bzip2) vte-%{vte.version}/COPYING
|
|
148 |
%doc(bzip2) vte-%{vte.version}/ChangeLog
|
15739
|
149 |
%doc(bzip2) vte-%{vte.version}/ChangeLog.pre-git
|
13598
|
150 |
%doc(bzip2) vte-%{vte.version}/NEWS
|
|
151 |
%doc(bzip2) vte-%{vte.version}/gnome-pty-helper/NEWS
|
|
152 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
9397
|
153 |
%dir %attr (0755, root, other) %{_datadir}/gnome
|
|
154 |
%{_datadir}/gnome/help/*/C
|
|
155 |
%{_datadir}/gnome-terminal
|
|
156 |
%{_datadir}/omf/*/*-C.omf
|
|
157 |
%{_datadir}/vte
|
14825
|
158 |
%dir %attr (0755, root, bin) %{_datadir}/pygtk
|
|
159 |
%dir %attr (0755, root, bin) %{_datadir}/pygtk/2.0
|
|
160 |
%dir %attr (0755, root, bin) %{_datadir}/pygtk/2.0/defs
|
|
161 |
%{_datadir}/pygtk/2.0/defs/vte.defs
|
9397
|
162 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
163 |
%dir %attr(0755, root, bin) %{_mandir}/man1
|
|
164 |
%{_mandir}/man1/*
|
|
165 |
|
|
166 |
%if %build_l10n
|
|
167 |
%files l10n
|
|
168 |
%defattr (-, root, bin)
|
|
169 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
170 |
%dir %attr (0755, root, other) %{_datadir}/gnome
|
|
171 |
%attr (-, root, other) %{_datadir}/locale
|
|
172 |
%{_datadir}/gnome/help/*/[a-z]*
|
|
173 |
%{_datadir}/omf/*/*-[a-z][a-z].omf
|
|
174 |
%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf
|
|
175 |
%endif
|
|
176 |
|
|
177 |
%files devel
|
|
178 |
%defattr (-, root, bin)
|
|
179 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
180 |
%{_includedir}/*
|
|
181 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
182 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
183 |
%{_libdir}/pkgconfig/*
|
|
184 |
%{_libdir}/vte
|
|
185 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
186 |
%{_datadir}/gtk-doc
|
|
187 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
188 |
%dir %attr(0755, root, bin) %{_mandir}/man3
|
|
189 |
%{_mandir}/man3/*
|
|
190 |
|
|
191 |
%files root
|
9780
|
192 |
%defattr (-, root, sys)
|
9397
|
193 |
%attr (0755, root, sys) %dir %{_sysconfdir}
|
|
194 |
%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas
|
|
195 |
|
|
196 |
%changelog
|
18383
|
197 |
* Tue Nov 17 2009 - [email protected]
|
|
198 |
- Since gnome-pty-helper is not a set-uid program anymore, it makes more sense
|
|
199 |
for its permissions to be 755 than 711.
|
15887
|
200 |
* Tue Jue 11 2009 - [email protected]
|
18383
|
201 |
- Headers of SUNWncurses changed from /usr/gnu/include to /usr/include/ncurses
|
|
202 |
in doo 9267,change the CFLAG and RPM_OPT_FLAGS.
|
15556
|
203 |
* Fri Apr 3 2009 - [email protected]
|
18383
|
204 |
- use desktop-cache instead of postrun.
|
15420
|
205 |
* Wed Mar 18 2009 - [email protected]
|
18383
|
206 |
- Add BuildRequires: SUNWgtk-doc.
|
14945
|
207 |
* Tue Jan 20 2009 - [email protected]
|
|
208 |
- Fix packaging after bumping gnome-terminal to 2.25.5.
|
14829
|
209 |
* Sat Dec 27 2008 - [email protected]
|
|
210 |
- Add -I/usr/gnu/include in CFLAGS.
|
14825
|
211 |
* Fri Dec 26 2008 - [email protected]
|
18383
|
212 |
- Remove /usr/sfw from CFLAGS and LDFLAGS since freetype2 is avail in /usr.
|
|
213 |
- Add Requires:SUNWncurses and BuildRequires:SUNWncurses-devel.
|
14825
|
214 |
- Add "-L/usr/gnu/lib -R/usr/gnu/lib" to LDFLAGS since ncurses ship libraries
|
18383
|
215 |
under /usr/gnu/lib.
|
|
216 |
- Update %files because vte upgrading.
|
13742
|
217 |
* Wed Sep 24 2008 - [email protected]
|
|
218 |
- Take out doc po/ChangeLog from files as it's no longer there.
|
13598
|
219 |
* Mon Sep 15 2008 - [email protected]
|
|
220 |
- Add new copyright files.
|
12603
|
221 |
* Thu Jun 05 2008 - [email protected]
|
|
222 |
- Remove %{_datadir}/pixmaps from %files as no files delivered there.
|
11963
|
223 |
* Fri Mar 28 2008 - [email protected]
|
|
224 |
- Add SUNW_Copyright.
|
11370
|
225 |
* Thu Jan 3 2008 - [email protected]
|
18383
|
226 |
- use gconf-install.script instead of an inline script.
|
11132
|
227 |
* Tue Nov 06 2007 - [email protected]
|
18383
|
228 |
- Add -R/usr/sfw/lib to LDFLAGS (-L/usr/sfw/lib was already there).
|
10572
|
229 |
* Fri Sep 28 2007 - [email protected]
|
18383
|
230 |
- delete Nevada X deps.
|
|
231 |
- delete some unneeded env vars.
|
10350
|
232 |
* Sat Aug 18 2007 - [email protected]
|
|
233 |
- Comment out removal of /var dir as it is no longer installed.
|
9780
|
234 |
* Tue Apr 24 2007 - [email protected]
|
18383
|
235 |
- s/0755/-/ in defattr so that files are not made all executable.
|
9397
|
236 |
* Wed Jan 24 2007 - [email protected]
|
|
237 |
- Add to LDFLAGS to find libXrender.
|
|
238 |
* Mon Sep 04 2006 - [email protected]
|
18383
|
239 |
- New Manpage tarball.
|
9397
|
240 |
* Thu Jul 27 2006 - [email protected]
|
|
241 |
- Delete scrollkeeper files before packaging.
|
|
242 |
* Fri Jul 14 2006 - [email protected]
|
|
243 |
- update %post/%postun/etc scripts to support diskless client setup,
|
18383
|
244 |
part of 6448317.
|
9397
|
245 |
* Thu Jun 29 2006 - [email protected]
|
18383
|
246 |
- update postrun scripts.
|
9397
|
247 |
* Sun Jun 11 2006 - [email protected]
|
18383
|
248 |
- change group from other to bin/sys.
|
9397
|
249 |
* Fri Jun 2 2006 - [email protected]
|
18383
|
250 |
- use post/preun scripts to install schemas into the merged gconf files.
|
9397
|
251 |
* Wed May 10 2006 - [email protected]
|
18383
|
252 |
- merge -share pkg(s) into the base pkg(s).
|
9397
|
253 |
* Tue Feb 21 2006 - [email protected]
|
|
254 |
- Add X packages to Requires after running check-deps.pl script.
|
|
255 |
* Mon Feb 20 2006 - [email protected]
|
|
256 |
- Update Build/Requires after running check-deps.pl script.
|
|
257 |
* Wed Jan 18 2006 - [email protected]
|
|
258 |
- Remove application-registry from %files as it is no longer installed.
|
|
259 |
* Sat Dec 3 2005 - [email protected]
|
18383
|
260 |
- add %post script that runs update-desktop-database.
|
9397
|
261 |
* Wed Nov 30 2005 - [email protected]
|
|
262 |
- Add Build/Requires on SUNWPython/-devel and SUNWgnome-python-libs/-devel.
|
|
263 |
* Tue Nov 29 2005 - [email protected]
|
18383
|
264 |
- remove javahelp stuff.
|
9397
|
265 |
* Tue Sep 20 2005 - [email protected]
|
18383
|
266 |
- update Python paths.
|
9397
|
267 |
* Fri Sep 16 2005 - [email protected]
|
18383
|
268 |
- remove unpackaged files to add to %files.
|
9397
|
269 |
* Thu Sep 01 2005 - [email protected]
|
|
270 |
- Add /usr/sfw/lib/pkgconfig to PKG_CONFIG_PATH so that pygtk2 can be found.
|
|
271 |
* Thu May 19 2005 - [email protected]
|
18383
|
272 |
- Update to 2.10.
|
9397
|
273 |
* Fri Oct 15 2004 - [email protected]
|
|
274 |
- Remove SGID bit from gnome-pty-helper. Fixes bugtraq bug#5091209.
|
|
275 |
* Sat Oct 02 2004 - [email protected]
|
18383
|
276 |
- added %pkgbuild_postprocess.
|
9397
|
277 |
* Thu Sep 09 2004 - [email protected]
|
18383
|
278 |
- Added libvte.3, vte.1 manpages.
|
9397
|
279 |
* Wed Aug 25 2004 - [email protected]
|
18383
|
280 |
- Updated files section to extract only l10n contents.
|
9397
|
281 |
* Mon Aug 23 2004 - [email protected]
|
18383
|
282 |
- Bug 5090964 : remove l10n entries from base package into -l10n package.
|
9397
|
283 |
* Mon Aug 23 2004 - [email protected]
|
18383
|
284 |
- s/SUNWpl5u/SUNWperl584usr/.
|
9397
|
285 |
* Wed Aug 18 2004 [email protected]
|
|
286 |
- Change manpage perms for Solaris integration.
|
|
287 |
* Thu Jul 08 2004 [email protected]
|
|
288 |
- Updated SUNWgnome-terminal.spec to make sure that gnome-pty-helper
|
|
289 |
has permission 2711 instead of 2755 so these are the same for
|
|
290 |
both Solaris and Linux.
|
|
291 |
* Sat Jun 26 2004 [email protected]
|
|
292 |
- Changed install location to /usr/...
|
|
293 |
* Wed Jun 2 2004 - [email protected]
|
18383
|
294 |
- Added %{_datadir}/locale to install l10n messages.
|
9397
|
295 |
* Wed Mar 24 2004 - [email protected]
|
18383
|
296 |
- Added SGML man page integration.
|
9397
|
297 |
* Sat Mar 06 2004 - [email protected]
|
18383
|
298 |
- set LDFLAGS.
|
9397
|
299 |
* Sun Feb 29 2004 - [email protected]
|
|
300 |
- remove dependency on SUNWgnome-libs-share and SUNWgnome-libs-root, they
|
18383
|
301 |
are taken care by SUNWgnome-libs; fix gconf permissions.
|
|
302 |
- add -D__STDC_VERSION__=199409L instead of -xc99=none.
|
9397
|
303 |
* Mon Feb 23 2004 - <[email protected]>
|
|
304 |
- install gconf schemas at end of install stage.
|
|
305 |
- run rm -Rf during clean stage.
|
15650
|
306 |
|