author | Jon Tibble <meths@btinternet.com> |
Thu, 15 Mar 2012 09:58:35 +0000 | |
branch | s11express-2010-11 |
changeset 22104 | cde243cbe3f6 |
parent 17864 | 337913e88a9d |
permissions | -rw-r--r-- |
12874 | 1 |
# |
2 |
# spec file for package gqview |
|
3 |
# |
|
4 |
# Copyright (c) 2008 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 |
# |
|
15967 | 8 |
#Owner: jouby |
12874 | 9 |
#bugdb: https://sourceforge.net/tracker/index.php?func=detail&group_id=4050&atid=104050&aid= |
10 |
# |
|
11 |
||
16429 | 12 |
%define OSR 9348:2.x |
13 |
||
12845 | 14 |
Summary: Graphics file browser utility. |
17864 | 15 |
Vendor: Sourceforge |
12845 | 16 |
Name: gqview |
16288 | 17 |
Version: 2.1.5 |
12845 | 18 |
Release: 1 |
19 |
License: GPL |
|
20 |
Group: Applications/Multimedia |
|
21 |
Source: http://prdownloads.sourceforge.net/gqview/gqview-%{version}.tar.gz |
|
15967 | 22 |
#owner:jouby date:2008-07-07 bugid:2024250 type:feature |
12845 | 23 |
Patch1: gqview-01-editor.diff |
15967 | 24 |
#owner:jouby date:2008-07-29 type:branding |
12954 | 25 |
Patch2: gqview-02-manpage.diff |
15967 | 26 |
#owner:jouby date:2008-08-21 bugid:2063964 type:bug |
13214 | 27 |
Patch3: gqview-03-remote.diff |
17176
b02f30b50465
fixed doo 13308 : 'man qview' does not give me the explanation bout the option '-r
jouby
parents:
17170
diff
changeset
|
28 |
#owner:jouby date:2009-12-11 doo:12956 type:bug |
17170
0870c8cd0e93
fix bug 12956 GQview can not properly display images in Evolution
jouby
parents:
16429
diff
changeset
|
29 |
Patch4: gqview-04-desktop.diff |
17243 | 30 |
#owner:jouby date:2009-12-14 doo:13308 type:branding |
17176
b02f30b50465
fixed doo 13308 : 'man qview' does not give me the explanation bout the option '-r
jouby
parents:
17170
diff
changeset
|
31 |
Patch5: gqview-05-man.diff |
12845 | 32 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
33 |
URL: http://gqview.sourceforge.net |
|
34 |
||
35 |
Requires: gtk2 >= 2.4.0 |
|
36 |
||
37 |
%description |
|
38 |
GQview is a browser for graphics files. |
|
39 |
Offering single click viewing of your graphics files. |
|
40 |
Includes thumbnail view, zoom and filtering features. |
|
41 |
And external editor support. |
|
42 |
||
43 |
%prep |
|
44 |
%setup -q -n gqview-%version |
|
45 |
%patch1 -p1 |
|
12954 | 46 |
%patch2 -p1 |
13214 | 47 |
%patch3 -p1 |
17170
0870c8cd0e93
fix bug 12956 GQview can not properly display images in Evolution
jouby
parents:
16429
diff
changeset
|
48 |
%patch4 -p1 |
17176
b02f30b50465
fixed doo 13308 : 'man qview' does not give me the explanation bout the option '-r
jouby
parents:
17170
diff
changeset
|
49 |
%patch5 -p1 |
b02f30b50465
fixed doo 13308 : 'man qview' does not give me the explanation bout the option '-r
jouby
parents:
17170
diff
changeset
|
50 |
|
12845 | 51 |
%build |
52 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
53 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
54 |
CPUS=1 |
|
55 |
fi |
|
56 |
||
57 |
./configure --prefix=%{_prefix} --mandir=%{_mandir} |
|
58 |
make -j$CPUS |
|
59 |
||
60 |
#mkdir html |
|
61 |
#cp doc/*.html doc/*.txt html/. |
|
62 |
||
63 |
%install |
|
64 |
rm -rf $RPM_BUILD_ROOT |
|
65 |
||
66 |
make mandir=$RPM_BUILD_ROOT%{_mandir} bindir=$RPM_BUILD_ROOT%{_bindir} \ |
|
67 |
prefix=$RPM_BUILD_ROOT%{_prefix} install |
|
68 |
||
69 |
%clean |
|
70 |
rm -rf $RPM_BUILD_ROOT |
|
71 |
||
72 |
%files |
|
73 |
%defattr(-, root, root) |
|
74 |
||
75 |
%doc README COPYING TODO html |
|
76 |
%{_bindir}/gqview |
|
77 |
%{_datadir}/locale/*/*/* |
|
78 |
%{_datadir}/applications/gqview.desktop |
|
79 |
%{_datadir}/pixmaps/gqview.png |
|
80 |
%{_mandir}/man?/* |
|
81 |
||
82 |
%changelog |
|
17176
b02f30b50465
fixed doo 13308 : 'man qview' does not give me the explanation bout the option '-r
jouby
parents:
17170
diff
changeset
|
83 |
* Mon Dec 14 2009 - [email protected] |
b02f30b50465
fixed doo 13308 : 'man qview' does not give me the explanation bout the option '-r
jouby
parents:
17170
diff
changeset
|
84 |
-fixed doo 13308 : 'man qview' does not give me the explanation bout the option '-r |
17170
0870c8cd0e93
fix bug 12956 GQview can not properly display images in Evolution
jouby
parents:
16429
diff
changeset
|
85 |
* Fri Dec 11 2009 - [email protected] |
0870c8cd0e93
fix bug 12956 GQview can not properly display images in Evolution
jouby
parents:
16429
diff
changeset
|
86 |
- fix bug 12956 GQview can not properly display images in Evolution |
16288 | 87 |
* Sat Aug 15 2009 - [email protected] |
88 |
- Bump to 2.1.5. |
|
15967 | 89 |
* Fri Jun 26 2009 [email protected] |
90 |
- Change owner to jouby |
|
13387 | 91 |
* Wed Sep 03 2008 [email protected] |
92 |
- Remove gqview-04-desktop.diff - menu entry required for OpenSolaris |
|
13338 | 93 |
* Mon Sep 01 2008 [email protected] |
94 |
- Add gqview-04-desktop.diff to remove from Launch menu |
|
13214 | 95 |
* Wed Aug 21 2008 [email protected] |
96 |
- Move harry's change to Solaris spec |
|
97 |
* Wed Aug 21 2008 [email protected] |
|
98 |
- Add patch 03-remote to fix bug 6734746, gqview hang will -r option |
|
13142 | 99 |
* Fri Aug 15 2008 [email protected] |
100 |
- Move zh_CN.GB2312 dir to zh_CN dir to fix #6734879 |
|
12954 | 101 |
* Wed Jul 30 2008 [email protected] |
102 |
- Add patch gqview-02-manpage.diff to add ARC number and Attributes to manpage |
|
12874 | 103 |
* Tue Jul 22 2008 [email protected] |
104 |
- Add bugdb and bugid |
|
12845 | 105 |
* Thu Jul 17 2008 [email protected] |
106 |
- Add patch gqview-01-editor.diff, the default editor can be selected |
|
107 |
while configure. |
|
108 |
* Tue Jul 7 2008 [email protected] |
|
109 |
- Initial build. |