author | hh150184 |
Tue, 24 Jan 2006 11:56:37 +0000 | |
branch | gnome-2-12 |
changeset 19207 | b59a653a3329 |
parent 6299 | 4b3aea37c890 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package ggv |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
7 | 8 |
Name: ggv |
9 |
License: GPL |
|
866 | 10 |
Group: System/GUI/GNOME |
5895 | 11 |
Version: 2.12.0 |
5926 | 12 |
Release: 2 |
5518 | 13 |
Distribution: Java Desktop System |
575 | 14 |
Vendor: Sun Microsystems, Inc. |
172 | 15 |
Summary: GNOME Ghostview |
5895 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.12/%{name}-%{version}.tar.bz2 |
5518 | 17 |
Source1: ggv.1.gz |
1463 | 18 |
Patch1: ggv-01-menu-entry.diff |
3207 | 19 |
Patch2: ggv-02-solaris-print-path-issue.diff |
5926 | 20 |
Patch3: ggv-03-convert-uri-to-display-name.diff |
21 |
Patch4: ggv-04-zoom-factor.diff |
|
7 | 22 |
URL: http://www.gnome.org |
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
24 |
Docdir: %{_defaultdocdir}/%{name} |
|
172 | 25 |
Autoreqprov: on |
5518 | 26 |
Prereq: GConf |
172 | 27 |
|
28 |
%define libgnomeui_version 2.2.0 |
|
29 |
%define scrollkeeper_version 0.3.11 |
|
30 |
||
31 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
|
32 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
1556 | 33 |
BuildRequires: intltool |
172 | 34 |
Requires: libgnomeui >= %{libgnomeui_version} |
7 | 35 |
|
36 |
%description |
|
37 |
Tool to view PostScript and PDF documents. |
|
38 |
||
39 |
%prep |
|
40 |
%setup -q |
|
443 | 41 |
%patch1 -p1 |
3207 | 42 |
%patch2 -p1 |
5926 | 43 |
%patch3 -p1 |
3734 | 44 |
%patch4 -p1 |
4455 | 45 |
|
7 | 46 |
%build |
3263 | 47 |
%ifos linux |
48 |
if [ -x /usr/bin/getconf ]; then |
|
49 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
50 |
fi |
|
51 |
%else |
|
3846 | 52 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 53 |
%endif |
54 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
55 |
CPUS=1 |
|
56 |
fi |
|
57 |
||
443 | 58 |
libtoolize --force |
5518 | 59 |
aclocal $ACLOCAL_FLAGS |
443 | 60 |
automake -a -c -f |
61 |
autoconf |
|
62 |
||
1522 | 63 |
%ifos solaris |
64 |
%define xlibdir /usr/openwin/lib |
|
65 |
%else |
|
66 |
%define xlibdir /usr/X11R6/lib |
|
67 |
%endif |
|
68 |
||
69 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
70 |
LIBS=-L%{xlibdir} ./configure \ |
|
4918 | 71 |
--prefix=%{_prefix} \ |
72 |
--libexecdir=%{_libexecdir}/ggv \ |
|
73 |
--localstatedir=%{_localstatedir} \ |
|
74 |
--sysconfdir=%{_sysconfdir} |
|
3263 | 75 |
make -j $CPUS |
7 | 76 |
|
77 |
%install |
|
172 | 78 |
make DESTDIR=$RPM_BUILD_ROOT install |
1522 | 79 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
5518 | 80 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
7 | 81 |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
82 |
|
7 | 83 |
%post |
84 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
85 |
SCHEMAS="ggv.schemas" |
|
86 |
for S in $SCHEMAS; do |
|
87 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
88 |
done |
|
89 |
||
90 |
%clean |
|
91 |
rm -rf $RPM_BUILD_ROOT |
|
92 |
||
93 |
%files |
|
94 |
%defattr(-,root,root) |
|
95 |
%doc AUTHORS COPYING ChangeLog NEWS README |
|
96 |
%{_sysconfdir}/gconf/schemas/ggv.schemas |
|
172 | 97 |
%{_datadir}/omf/ggv/*.omf |
98 |
%{_datadir}/pixmaps/*.png |
|
99 |
%{_datadir}/pixmaps/ggv/* |
|
100 |
%{_datadir}/applications/ggv.desktop |
|
101 |
%{_datadir}/idl/Ggv.idl |
|
7 | 102 |
%{_prefix}/bin/* |
311 | 103 |
%{_libexecdir}/ggv/* |
172 | 104 |
%{_libdir}/bonobo/servers/*.server |
105 |
%{_datadir}/gnome-2.0/ui/*.xml |
|
106 |
%{_datadir}/gnome/help/ggv/*/* |
|
107 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
1463 | 108 |
%{_mandir}/man1/* |
7 | 109 |
|
110 |
%changelog |
|
6299 | 111 |
* Tue Nov 29 2005 - laca.com |
112 |
- remove javahelp stuff |
|
113 |
||
5895 | 114 |
* Sat Sep 17 2005 - [email protected] |
115 |
- Bump to 2.12.0 |
|
116 |
||
5528
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
117 |
* Mon Aug 15 2005 - [email protected] |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
118 |
- Bump to 2.11.1. |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
119 |
|
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
120 |
* Fri May 06 2005 - [email protected] |
5518 | 121 |
- Updated ggv-05-convert-uri-to-display-name.diff |
122 |
use utf-8 encoded file, instead of uri name, Fixed 5053231. |
|
123 |
||
5384 | 124 |
* Mon May 02 2005 - [email protected] |
125 |
- Added ggv-07-orientation.diff to fix the issue with |
|
126 |
'Document Orientation'. Fixes bug #6259272. |
|
127 |
||
4930
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4918
diff
changeset
|
128 |
* Tue Jan 25 2005 - [email protected] |
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4918
diff
changeset
|
129 |
- Update docs with Linux specific tarball from [email protected]. |
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4918
diff
changeset
|
130 |
|
4844 | 131 |
* Fri Jan 14 2005 - [email protected] |
132 |
- Updated l10n help tarball for cinnabar-linux |
|
5518 | 133 |
|
4462 | 134 |
* Fri Nov 05 2004 [email protected] |
135 |
- needless emitting of changed signal in combobox |
|
136 |
when the widget is getting populated. Also |
|
137 |
don't update gconf if the value that we get |
|
138 |
is same as what gconf already has. |
|
139 |
Fixes #5072172 |
|
140 |
||
4423
d0b64a68e338
use utf-8 encoded file, instead of uri name, Fixed 5053231.
tajima
parents:
4409
diff
changeset
|
141 |
* Wed Nov 02 2004 [email protected] |
d0b64a68e338
use utf-8 encoded file, instead of uri name, Fixed 5053231.
tajima
parents:
4409
diff
changeset
|
142 |
- Added ggv-05-convert-uri-to-display-name.diff |
d0b64a68e338
use utf-8 encoded file, instead of uri name, Fixed 5053231.
tajima
parents:
4409
diff
changeset
|
143 |
use utf-8 encoded file, instead of uri name, Fixed 5053231. |
d0b64a68e338
use utf-8 encoded file, instead of uri name, Fixed 5053231.
tajima
parents:
4409
diff
changeset
|
144 |
|
3734 | 145 |
* Wed Aug 25 2004 [email protected] |
146 |
- Added l10n online help with patch |
|
147 |
||
3591 | 148 |
* Tue Aug 17 2004 [email protected] |
149 |
- Added patch ggv-03-disconnect-sm-connection.diff to disable the |
|
150 |
session manager connection for ggv-postscript-viewer. |
|
151 |
Fix for bugtraq bug #5072112. |
|
3577
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3519
diff
changeset
|
152 |
|
3487 | 153 |
* Thu Aug 05 2004 [email protected] |
154 |
- Incorporate new docs tarball from [email protected]. |
|
155 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
156 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
157 |
- Updated l10n content to ggv-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
158 |
|
3263 | 159 |
* Wed Jul 07 2004 - [email protected] |
160 |
- added "-j $CPUS" to make to speed up builds |
|
161 |
||
3207 | 162 |
* Fri Jun 25 2004 - [email protected] |
163 |
- Added patch ggv-02-solaris-print-path-issue.diff to fix ggv crash while |
|
164 |
printing in Solaris. Fix for bugtraq bug:5061197. |
|
165 |
||
3051
b2a31638c06a
Incorporate new docs tarball from [email protected].
dc144907
parents:
2958
diff
changeset
|
166 |
* Wed Jun 02 2004 [email protected] |
b2a31638c06a
Incorporate new docs tarball from [email protected].
dc144907
parents:
2958
diff
changeset
|
167 |
- Incorporate new docs tarball from [email protected]. |
b2a31638c06a
Incorporate new docs tarball from [email protected].
dc144907
parents:
2958
diff
changeset
|
168 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
169 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
170 |
- Updated l10n content to ggv-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
171 |
|
2501 | 172 |
* Mon Apr 19 2004 - [email protected] |
173 |
- Bump to 2.6.1 |
|
174 |
||
2485 | 175 |
* Sun Apr 18 2004 - [email protected] |
176 |
- enable javahelp conversion on Solaris |
|
177 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
178 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
179 |
- javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
180 |
|
2350 | 181 |
* Mon Mar 29 2004 - [email protected] |
182 |
- Updated l10n content to ggv-l10n-po-1.0.tar.bz2 |
|
183 |
||
2316 | 184 |
* Wed Mar 24 2004 - [email protected] |
185 |
- Bump to 2.6.0 |
|
186 |
||
2255 | 187 |
* Fri Mar 19 2004 - [email protected] |
188 |
- Bump to 2.5.99.1 and remove duplicate sources solaris |
|
189 |
build patch as it's now upstream. |
|
190 |
||
1591 | 191 |
* Fri Feb 06 2004 - <[email protected]> |
192 |
- Bump to 2.5.3, remove ggv-02-intltool-merge.diff |
|
193 |
||
1556 | 194 |
* Thu Jan 29 2004 - <[email protected]> |
195 |
- patch 02 for intltool-merge and dep. on intltool |
|
1591 | 196 |
|
1517 | 197 |
* Fri Jan 09 2004 - <[email protected]> |
198 |
- new version: 2.5.1 |
|
199 |
||
1463 | 200 |
* Wed Dec 17 2003 - <[email protected]> |
201 |
- Bump to 2.5.0 |
|
202 |
||
1370 | 203 |
* Fri Oct 31 2003 - <[email protected]> |
204 |
- Remove the Sun Supported part of the menu |
|
205 |
entry patch. |
|
206 |
||
1169 | 207 |
* Fri Sep 26 2003 - <[email protected]> |
208 |
- Intergate Sun docs |
|
209 |
||
873 | 210 |
* Wed Jul 31 2003 - <[email protected]> |
211 |
- Add recent files support. |
|
212 |
||
866 | 213 |
* Wed Jul 30 2003 - <[email protected]> |
214 |
- New tarball. Bump version, reset release. |
|
215 |
||
707 | 216 |
* Tue Jul 21 2003 - <[email protected]> |
217 |
- Update menu entry to something a little nicer. |
|
218 |
||
510 | 219 |
* Wed Jul 09 2003 - <[email protected]> |
220 |
- add in sun po files |
|
221 |
||
7 | 222 |
* Thu May 08 2003 - [email protected] |
223 |
- Created new spec file for ggv |
|
224 |