base-specs/gqview.spec
author Jon Tibble <meths@btinternet.com>
Thu, 15 Mar 2012 09:58:35 +0000
branchs11express-2010-11
changeset 22104 cde243cbe3f6
parent 17864 337913e88a9d
permissions -rw-r--r--
Added tag oi_151a_prestable2 for changeset 47b3f775541a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12874
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
     1
#
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
     2
# spec file for package gqview
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
     3
#
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
     4
# Copyright (c) 2008 Sun Microsystems, Inc.
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
     5
# This file and all modifications and additions to the pristine
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
     6
# package are under the same license as the package itself.
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
     7
#
15967
499fd19cada8 2009-06-26 Chris Wang <[email protected]
bewitche
parents: 15713
diff changeset
     8
#Owner: jouby
12874
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
     9
#bugdb: https://sourceforge.net/tracker/index.php?func=detail&group_id=4050&atid=104050&aid=
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
    10
#
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
    11
16429
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16288
diff changeset
    12
%define OSR 9348:2.x
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16288
diff changeset
    13
12845
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    14
Summary: Graphics file browser utility.
17864
337913e88a9d 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17243
diff changeset
    15
Vendor: Sourceforge
12845
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    16
Name: gqview
16288
88ced7bb5071 2009-08-15 Christian Kelly <[email protected]>
chrisk
parents: 15967
diff changeset
    17
Version: 2.1.5
12845
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    18
Release: 1
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    19
License: GPL
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    20
Group: Applications/Multimedia
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    21
Source: http://prdownloads.sourceforge.net/gqview/gqview-%{version}.tar.gz
15967
499fd19cada8 2009-06-26 Chris Wang <[email protected]
bewitche
parents: 15713
diff changeset
    22
#owner:jouby date:2008-07-07 bugid:2024250 type:feature
12845
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    23
Patch1:       gqview-01-editor.diff
15967
499fd19cada8 2009-06-26 Chris Wang <[email protected]
bewitche
parents: 15713
diff changeset
    24
#owner:jouby date:2008-07-29 type:branding
12954
b44ca3be4962 2008-07-30 Chris Wnag <[email protected]>
bewitche
parents: 12874
diff changeset
    25
Patch2:       gqview-02-manpage.diff
15967
499fd19cada8 2009-06-26 Chris Wang <[email protected]
bewitche
parents: 15713
diff changeset
    26
#owner:jouby date:2008-08-21 bugid:2063964 type:bug
13214
c3cfbc5a70de 2008-08-21 Chris Wang <[email protected]>
bewitche
parents: 13142
diff changeset
    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
b1ca43f3139f add patch qview-05-man.diff branding type
jouby
parents: 17176
diff changeset
    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
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    32
BuildRoot: %{_tmppath}/%{name}-%{version}-root
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    33
URL: http://gqview.sourceforge.net
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    34
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    35
Requires: gtk2 >= 2.4.0
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    36
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    37
%description
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    38
GQview is a browser for graphics files.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    39
Offering single click viewing of your graphics files.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    40
Includes thumbnail view, zoom and filtering features.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    41
And external editor support.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    42
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    43
%prep
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    44
%setup -q -n gqview-%version
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    45
%patch1 -p1
12954
b44ca3be4962 2008-07-30 Chris Wnag <[email protected]>
bewitche
parents: 12874
diff changeset
    46
%patch2 -p1
13214
c3cfbc5a70de 2008-08-21 Chris Wang <[email protected]>
bewitche
parents: 13142
diff changeset
    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
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    51
%build
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    52
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    53
if test "x$CPUS" = "x" -o $CPUS = 0; then
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    54
    CPUS=1
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    55
fi
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    56
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    57
./configure --prefix=%{_prefix} --mandir=%{_mandir} 
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    58
make -j$CPUS 
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    59
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    60
#mkdir html
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    61
#cp doc/*.html doc/*.txt html/.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    62
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    63
%install
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    64
rm -rf $RPM_BUILD_ROOT
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    65
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    66
make mandir=$RPM_BUILD_ROOT%{_mandir} bindir=$RPM_BUILD_ROOT%{_bindir} \
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    67
 prefix=$RPM_BUILD_ROOT%{_prefix} install
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    68
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    69
%clean
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    70
rm -rf $RPM_BUILD_ROOT
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    71
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    72
%files
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    73
%defattr(-, root, root)
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    74
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    75
%doc README COPYING TODO html
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    76
%{_bindir}/gqview
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    77
%{_datadir}/locale/*/*/*
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    78
%{_datadir}/applications/gqview.desktop
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    79
%{_datadir}/pixmaps/gqview.png
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    80
%{_mandir}/man?/*
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    81
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    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
88ced7bb5071 2009-08-15 Christian Kelly <[email protected]>
chrisk
parents: 15967
diff changeset
    87
* Sat Aug 15 2009 - [email protected]
88ced7bb5071 2009-08-15 Christian Kelly <[email protected]>
chrisk
parents: 15967
diff changeset
    88
- Bump to 2.1.5.
15967
499fd19cada8 2009-06-26 Chris Wang <[email protected]
bewitche
parents: 15713
diff changeset
    89
* Fri Jun 26 2009  [email protected]
499fd19cada8 2009-06-26 Chris Wang <[email protected]
bewitche
parents: 15713
diff changeset
    90
- Change owner to jouby
13387
f83337a11e39 2008-09-03 Dermot McCluskey <[email protected]>
dermot
parents: 13338
diff changeset
    91
* Wed Sep 03 2008  [email protected]
f83337a11e39 2008-09-03 Dermot McCluskey <[email protected]>
dermot
parents: 13338
diff changeset
    92
- Remove gqview-04-desktop.diff - menu entry required for OpenSolaris
13338
a4e7fc5c1b9c 2008-09-01 Dermot McCluskey <[email protected]>
dermot
parents: 13214
diff changeset
    93
* Mon Sep 01 2008  [email protected]
a4e7fc5c1b9c 2008-09-01 Dermot McCluskey <[email protected]>
dermot
parents: 13214
diff changeset
    94
- Add gqview-04-desktop.diff to remove from Launch menu
13214
c3cfbc5a70de 2008-08-21 Chris Wang <[email protected]>
bewitche
parents: 13142
diff changeset
    95
* Wed Aug 21 2008  [email protected]
c3cfbc5a70de 2008-08-21 Chris Wang <[email protected]>
bewitche
parents: 13142
diff changeset
    96
- Move harry's change to Solaris spec
c3cfbc5a70de 2008-08-21 Chris Wang <[email protected]>
bewitche
parents: 13142
diff changeset
    97
* Wed Aug 21 2008  [email protected]
c3cfbc5a70de 2008-08-21 Chris Wang <[email protected]>
bewitche
parents: 13142
diff changeset
    98
- Add patch 03-remote to fix bug 6734746, gqview hang will -r option
13142
7818408da5b8 2008-08-13 Harry Fu <[email protected]>
funix
parents: 12954
diff changeset
    99
* Fri Aug 15 2008  [email protected]
7818408da5b8 2008-08-13 Harry Fu <[email protected]>
funix
parents: 12954
diff changeset
   100
- Move zh_CN.GB2312 dir to zh_CN dir to fix #6734879
12954
b44ca3be4962 2008-07-30 Chris Wnag <[email protected]>
bewitche
parents: 12874
diff changeset
   101
* Wed Jul 30 2008  [email protected]
b44ca3be4962 2008-07-30 Chris Wnag <[email protected]>
bewitche
parents: 12874
diff changeset
   102
- Add patch gqview-02-manpage.diff to add ARC number and Attributes to manpage
12874
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
   103
* Tue Jul 22 2008  [email protected]
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
   104
- Add bugdb and bugid
12845
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   105
* Thu Jul 17 2008  [email protected]
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   106
- Add patch gqview-01-editor.diff, the default editor can be selected 
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   107
  while configure.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   108
* Tue Jul  7 2008  [email protected] 
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   109
- Initial build.