author | laca |
Tue, 29 Nov 2005 01:12:25 +0000 | |
changeset 6295 | d71c85ccd390 |
parent 6192 | 5d32a157a93a |
child 6298 | e893a5df5c66 |
permissions | -rw-r--r-- |
1632 | 1 |
# |
1692 | 2 |
# spec file for package SUNWgnome-terminal |
1632 | 3 |
# |
1692 | 4 |
# includes module(s): vte gnome-terminal |
1632 | 5 |
# |
6 |
# Copyright (c) 2004 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 |
||
11 |
%include Solaris.inc |
|
12 |
||
13 |
%use vte = vte.spec |
|
14 |
%use gterminal = gnome-terminal.spec |
|
15 |
||
16 |
Name: SUNWgnome-terminal |
|
17 |
Summary: GNOME terminal emulator - platform dependent files, /usr filesystem |
|
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5668
diff
changeset
|
18 |
Version: %{default_pkg_version} |
2326 | 19 |
Source: gnome-terminal.1 |
3889 | 20 |
Source1: libvte.3 |
21 |
Source2: vte.1 |
|
2621 | 22 |
SUNW_BaseDir: %{_basedir} |
1632 | 23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
24 |
||
25 |
Requires: SUNWgnome-terminal-share |
|
26 |
%include default-depend.inc |
|
2487 | 27 |
BuildRequires: SUNWgnome-javahelp-convert |
1632 | 28 |
Requires: SUNWgnome-libs |
1652 | 29 |
Requires: SUNWgnome-base-libs |
30 |
Requires: SUNWgnome-config |
|
3669 | 31 |
Requires: SUNWperl584usr |
1632 | 32 |
Requires: SUNWbzip |
33 |
Requires: SUNWzlib |
|
34 |
Requires: SUNWlxml |
|
35 |
||
36 |
%package share |
|
37 |
Summary: GNOME terminal emulator - platform independent files, /usr/share |
|
2621 | 38 |
SUNW_BaseDir: %{_basedir} |
1632 | 39 |
%include default-depend.inc |
3669 | 40 |
Requires: SUNWperl584usr |
1632 | 41 |
|
6169 | 42 |
%if %build_l10n |
2995 | 43 |
%package l10n |
44 |
Summary: %{summary} - l10n files |
|
45 |
SUNW_BaseDir: %{_basedir} |
|
46 |
%include default-depend.inc |
|
47 |
Requires: %{name} |
|
6169 | 48 |
%endif |
2995 | 49 |
|
1632 | 50 |
%package root |
51 |
Summary: GNOME terminal emulator - platform dependent files, / filesystem |
|
2500 | 52 |
SUNW_BaseDir: / |
1632 | 53 |
%include default-depend.inc |
54 |
||
55 |
%package devel |
|
56 |
Summary: GNOME terminal emulator development files - platform dependent files, /usr |
|
2621 | 57 |
SUNW_BaseDir: %{_basedir} |
1632 | 58 |
# Requires: SUNWgnome-terminal-devel-share |
59 |
%include default-depend.inc |
|
3669 | 60 |
Requires: SUNWperl584usr |
1632 | 61 |
|
62 |
%package devel-share |
|
63 |
Summary: GNOME terminal emulator development files - platform independent files, /usr/share filesystem |
|
2621 | 64 |
SUNW_BaseDir: %{_basedir} |
1632 | 65 |
%include default-depend.inc |
66 |
||
67 |
%prep |
|
68 |
rm -rf %name-%version |
|
69 |
mkdir %name-%version |
|
70 |
%vte.prep -d %name-%version |
|
71 |
%gterminal.prep -d %name-%version |
|
72 |
||
5888 | 73 |
cd %{_builddir}/%name-%version/gnome-terminal-%{gterminal.version} |
1632 | 74 |
ln -s ../vte-%{vte.version}/src vte |
75 |
||
76 |
%build |
|
1697 | 77 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int |
6295 | 78 |
export CFLAGS="%optflags -I/usr/sfw/include -I/usr/sfw/include/freetype2 -DANSICPP" |
1632 | 79 |
export RPM_OPT_FLAGS="$CFLAGS" |
5668
b8189481444e
* SUNWgnome-terminal.spec: Add /usr/sfw/lib/pkgconfig to
dc144907
parents:
5518
diff
changeset
|
80 |
export PKG_CONFIG_PATH="../vte-%{vte.version}:%{_pkg_config_path}:/usr/sfw/lib/pkgconfig" |
1632 | 81 |
export MSGFMT="/usr/bin/msgfmt" |
82 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
6102 | 83 |
export LDFLAGS="%_ldflags" |
1632 | 84 |
|
85 |
%vte.build -d %name-%version |
|
86 |
%gterminal.build -d %name-%version |
|
87 |
||
88 |
%install |
|
89 |
%vte.install -d %name-%version |
|
90 |
%gterminal.install -d %name-%version |
|
1885 | 91 |
export GCONF_CONFIG_SOURCE=xml::$RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults |
92 |
for S in $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/*.schemas; do |
|
93 |
%{_bindir}/gconftool-2 --makefile-install-rule $S >/dev/null |
|
94 |
done |
|
2094 | 95 |
chmod -R a+rX $RPM_BUILD_ROOT/%{_sysconfdir} |
96 |
for f in apps/?gconf.xml \ |
|
97 |
schemas/?gconf.xml \ |
|
98 |
schemas/apps/?gconf.xml \ |
|
99 |
; do |
|
100 |
test ! -s $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f && \ |
|
101 |
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f |
|
102 |
done |
|
2326 | 103 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
104 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
3615
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
105 |
install --mode=0755 %SOURCE0 $RPM_BUILD_ROOT%{_mandir}/sman1 |
3889 | 106 |
install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/sman1 |
107 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman3 |
|
108 |
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/sman3 |
|
1632 | 109 |
|
5889 | 110 |
rmdir $RPM_BUILD_ROOT/usr/var |
111 |
||
6169 | 112 |
%if %build_l10n |
113 |
%else |
|
114 |
# REMOVE l10n FILES |
|
115 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
|
116 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]* |
|
117 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/javahelp/*/[a-z]* |
|
118 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf |
|
119 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf |
|
120 |
%endif |
|
121 |
||
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5668
diff
changeset
|
122 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
4122 | 123 |
|
1632 | 124 |
%clean |
1885 | 125 |
rm -rf $RPM_BUILD_ROOT |
1632 | 126 |
|
127 |
%files |
|
1698 | 128 |
%defattr (-, root, other) |
1653 | 129 |
%dir %attr (0755, root, bin) %{_bindir} |
1632 | 130 |
%{_bindir}/* |
1653 | 131 |
%dir %attr (0755, root, bin) %{_libdir} |
132 |
%{_libdir}/lib*.so* |
|
1632 | 133 |
%{_libdir}/bonobo/servers/*.server |
6192 | 134 |
%attr (-, root, bin) %{_libdir}/python* |
4263 | 135 |
%attr(0711,root,other) %{_libexecdir}/gnome-pty-helper |
1632 | 136 |
|
137 |
%files share |
|
138 |
%defattr (-, root, other) |
|
1858 | 139 |
%dir %attr (0755, root, sys) %{_datadir} |
1632 | 140 |
%{_datadir}/application-registry |
141 |
%{_datadir}/applications |
|
3702
525cfecff128
Bugs 5090964 & 5090965 : removed duplicate file entries
woos
parents:
3669
diff
changeset
|
142 |
%{_datadir}/gnome/help/*/C |
525cfecff128
Bugs 5090964 & 5090965 : removed duplicate file entries
woos
parents:
3669
diff
changeset
|
143 |
%{_datadir}/gnome/javahelp/*/C |
1632 | 144 |
%{_datadir}/gnome-terminal |
3702
525cfecff128
Bugs 5090964 & 5090965 : removed duplicate file entries
woos
parents:
3669
diff
changeset
|
145 |
%{_datadir}/omf/*/*-C.omf |
1632 | 146 |
%{_datadir}/pixmaps |
1693 | 147 |
%{_datadir}/vte |
1699 | 148 |
%dir %attr(0755, root, bin) %{_mandir} |
3889 | 149 |
%dir %attr(0755, root, bin) %{_mandir}/sman1 |
150 |
%{_mandir}/sman1/* |
|
1632 | 151 |
|
6169 | 152 |
%if %build_l10n |
2995 | 153 |
%files l10n |
154 |
%defattr (-, root, other) |
|
155 |
%dir %attr (0755, root, sys) %{_datadir} |
|
156 |
%{_datadir}/locale |
|
3734 | 157 |
%{_datadir}/gnome/help/*/[a-z]* |
158 |
%{_datadir}/gnome/javahelp/*/[a-z]* |
|
159 |
%{_datadir}/omf/*/*-[a-z][a-z].omf |
|
160 |
%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf |
|
6169 | 161 |
%endif |
2995 | 162 |
|
1632 | 163 |
%files devel |
1653 | 164 |
%defattr (-, root, other) |
1858 | 165 |
%dir %attr (0755, root, bin) %{_includedir} |
1653 | 166 |
%{_includedir}/* |
167 |
%dir %attr (0755, root, bin) %{_libdir} |
|
1693 | 168 |
%{_libdir}/pkgconfig |
1632 | 169 |
%{_libdir}/vte |
170 |
||
171 |
%files devel-share |
|
1653 | 172 |
%defattr (-, root, other) |
1858 | 173 |
%dir %attr (0755, root, sys) %{_datadir} |
1632 | 174 |
%{_datadir}/gtk-doc |
3889 | 175 |
%dir %attr(0755, root, bin) %{_mandir} |
176 |
%dir %attr(0755, root, bin) %{_mandir}/sman3 |
|
177 |
%{_mandir}/sman3/* |
|
1632 | 178 |
|
179 |
%files root |
|
2502 | 180 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
1698 | 181 |
%defattr (-, root, other) |
1693 | 182 |
%{_sysconfdir}/* |
2502 | 183 |
%defattr (0755, root, sys) |
1885 | 184 |
|
185 |
%changelog |
|
5952 | 186 |
* Tue Sep 20 2005 - [email protected] |
187 |
- update Python paths |
|
5889 | 188 |
* Fri Sep 16 2005 - [email protected] |
189 |
- remove unpackaged files to add to %files |
|
5668
b8189481444e
* SUNWgnome-terminal.spec: Add /usr/sfw/lib/pkgconfig to
dc144907
parents:
5518
diff
changeset
|
190 |
* Thu Sep 01 2005 - [email protected] |
b8189481444e
* SUNWgnome-terminal.spec: Add /usr/sfw/lib/pkgconfig to
dc144907
parents:
5518
diff
changeset
|
191 |
- Add /usr/sfw/lib/pkgconfig to PKG_CONFIG_PATH so that pygtk2 can be found. |
5518 | 192 |
* Thu May 19 2005 - [email protected] |
193 |
- Update to 2.10 |
|
4263 | 194 |
* Fri Oct 15 2004 - [email protected] |
195 |
- Remove SGID bit from gnome-pty-helper. Fixes bugtraq bug#5091209. |
|
4122 | 196 |
* Sat Oct 02 2004 - [email protected] |
197 |
- added %pkgbuild_postprocess |
|
3889 | 198 |
* Thu Sep 09 2004 - [email protected] |
199 |
- Added libvte.3, vte.1 manpages |
|
3734 | 200 |
* Wed Aug 25 2004 - [email protected] |
201 |
- Updated files section to extract only l10n contents |
|
3702
525cfecff128
Bugs 5090964 & 5090965 : removed duplicate file entries
woos
parents:
3669
diff
changeset
|
202 |
* Mon Aug 23 2004 - [email protected] |
525cfecff128
Bugs 5090964 & 5090965 : removed duplicate file entries
woos
parents:
3669
diff
changeset
|
203 |
- Bug 5090964 : remove l10n entries from base package into -l10n package |
3669 | 204 |
* Mon Aug 23 2004 - [email protected] |
205 |
- s/SUNWpl5u/SUNWperl584usr/ |
|
3615
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
206 |
* Wed Aug 18 2004 [email protected] |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
207 |
- Change manpage perms for Solaris integration. |
3276 | 208 |
* Thu Jul 08 2004 [email protected] |
209 |
- Updated SUNWgnome-terminal.spec to make sure that gnome-pty-helper |
|
210 |
has permission 2711 instead of 2755 so these are the same for |
|
211 |
both Solaris and Linux. |
|
3221
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
212 |
* Sat Jun 26 2004 [email protected] |
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
213 |
- Changed install location to /usr/... |
2995 | 214 |
* Wed Jun 2 2004 - [email protected] |
215 |
- Added %{_datadir}/locale to install l10n messages |
|
2326 | 216 |
* Wed Mar 24 2004 - [email protected] |
217 |
- Added SGML man page integration |
|
2153 | 218 |
* Sat Mar 06 2004 - [email protected] |
219 |
- set LDFLAGS |
|
2094 | 220 |
* Sun Feb 29 2004 - [email protected] |
221 |
- remove dependency on SUNWgnome-libs-share and SUNWgnome-libs-root, they |
|
222 |
are taken care by SUNWgnome-libs; fix gconf permissions |
|
223 |
- add -D__STDC_VERSION__=199409L instead of -xc99=none |
|
1885 | 224 |
* Mon Feb 23 2004 - <[email protected]> |
225 |
- install gconf schemas at end of install stage. |
|
226 |
- run rm -Rf during clean stage. |