base-specs/gqview.spec
author dermot
Wed, 03 Sep 2008 12:35:36 +0000
changeset 13387 f83337a11e39
parent 13338 a4e7fc5c1b9c
child 15713 07fe157598b4
permissions -rw-r--r--
2008-09-03 Dermot McCluskey <[email protected]> * base-specs/gqview.spec: Modify * patches/gnome-commander-01-desktop-menu.diff: Modify * patches/gqview-04-desktop.diff: Remove Undo previous changes to remove new apps from Launch menu
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
#
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
     8
#Owner: bewitche
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
12845
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    12
Summary: Graphics file browser utility.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    13
Name: gqview
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    14
Version: 2.0.4
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    15
Release: 1
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    16
License: GPL
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    17
Group: Applications/Multimedia
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    18
Source: http://prdownloads.sourceforge.net/gqview/gqview-%{version}.tar.gz
12874
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
    19
#owner:bewitche date:2008-07-07 bugid:2024250 type:feature
12845
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    20
Patch1:       gqview-01-editor.diff
12954
b44ca3be4962 2008-07-30 Chris Wnag <[email protected]>
bewitche
parents: 12874
diff changeset
    21
#owner:bewitche date:2008-07-29 type:branding
b44ca3be4962 2008-07-30 Chris Wnag <[email protected]>
bewitche
parents: 12874
diff changeset
    22
Patch2:       gqview-02-manpage.diff
13214
c3cfbc5a70de 2008-08-21 Chris Wang <[email protected]>
bewitche
parents: 13142
diff changeset
    23
#owner:bewitche data:2008-08-21 bugid:2063964 type:bug
c3cfbc5a70de 2008-08-21 Chris Wang <[email protected]>
bewitche
parents: 13142
diff changeset
    24
Patch3:	      gqview-03-remote.diff
12845
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    25
BuildRoot: %{_tmppath}/%{name}-%{version}-root
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    26
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    27
URL: http://gqview.sourceforge.net
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    28
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    29
Requires: gtk2 >= 2.4.0
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    30
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    31
%description
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    32
GQview is a browser for graphics files.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    33
Offering single click viewing of your graphics files.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    34
Includes thumbnail view, zoom and filtering features.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    35
And external editor support.
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
%prep
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    38
%setup -q -n gqview-%version
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    39
%patch1 -p1
12954
b44ca3be4962 2008-07-30 Chris Wnag <[email protected]>
bewitche
parents: 12874
diff changeset
    40
%patch2 -p1
13214
c3cfbc5a70de 2008-08-21 Chris Wang <[email protected]>
bewitche
parents: 13142
diff changeset
    41
%patch3 -p1
12845
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    42
%build
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    43
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    44
if test "x$CPUS" = "x" -o $CPUS = 0; then
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    45
    CPUS=1
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    46
fi
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    47
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    48
./configure --prefix=%{_prefix} --mandir=%{_mandir} 
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    49
make -j$CPUS 
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    50
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    51
#mkdir html
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    52
#cp doc/*.html doc/*.txt html/.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    53
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    54
%install
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    55
rm -rf $RPM_BUILD_ROOT
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
make mandir=$RPM_BUILD_ROOT%{_mandir} bindir=$RPM_BUILD_ROOT%{_bindir} \
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    58
 prefix=$RPM_BUILD_ROOT%{_prefix} install
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
%clean
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    61
rm -rf $RPM_BUILD_ROOT
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
%files
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    64
%defattr(-, root, 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
%doc README COPYING TODO html
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    67
%{_bindir}/gqview
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    68
%{_datadir}/locale/*/*/*
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    69
%{_datadir}/applications/gqview.desktop
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    70
%{_datadir}/pixmaps/gqview.png
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    71
%{_mandir}/man?/*
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    72
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    73
%changelog
13387
f83337a11e39 2008-09-03 Dermot McCluskey <[email protected]>
dermot
parents: 13338
diff changeset
    74
* Wed Sep 03 2008  [email protected]
f83337a11e39 2008-09-03 Dermot McCluskey <[email protected]>
dermot
parents: 13338
diff changeset
    75
- Remove gqview-04-desktop.diff - menu entry required for OpenSolaris
13338
a4e7fc5c1b9c 2008-09-01 Dermot McCluskey <[email protected]>
dermot
parents: 13214
diff changeset
    76
* Mon Sep 01 2008  [email protected]
a4e7fc5c1b9c 2008-09-01 Dermot McCluskey <[email protected]>
dermot
parents: 13214
diff changeset
    77
- Add gqview-04-desktop.diff to remove from Launch menu
13214
c3cfbc5a70de 2008-08-21 Chris Wang <[email protected]>
bewitche
parents: 13142
diff changeset
    78
* Wed Aug 21 2008  [email protected]
c3cfbc5a70de 2008-08-21 Chris Wang <[email protected]>
bewitche
parents: 13142
diff changeset
    79
- Move harry's change to Solaris spec
c3cfbc5a70de 2008-08-21 Chris Wang <[email protected]>
bewitche
parents: 13142
diff changeset
    80
* Wed Aug 21 2008  [email protected]
c3cfbc5a70de 2008-08-21 Chris Wang <[email protected]>
bewitche
parents: 13142
diff changeset
    81
- 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
    82
* Fri Aug 15 2008  [email protected]
7818408da5b8 2008-08-13 Harry Fu <[email protected]>
funix
parents: 12954
diff changeset
    83
- 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
    84
* Wed Jul 30 2008  [email protected]
b44ca3be4962 2008-07-30 Chris Wnag <[email protected]>
bewitche
parents: 12874
diff changeset
    85
- 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
    86
* Tue Jul 22 2008  [email protected]
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
    87
- Add bugdb and bugid
12845
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    88
* Thu Jul 17 2008  [email protected]
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    89
- Add patch gqview-01-editor.diff, the default editor can be selected 
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    90
  while configure.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    91
* Tue Jul  7 2008  [email protected] 
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    92
- Initial build.