base-specs/gqview.spec
author bewitche
Tue, 22 Jul 2008 05:24:38 +0000
changeset 12874 b50509d81b3b
parent 12845 f1d3a2c66ccc
child 12954 b44ca3be4962
permissions -rw-r--r--
2008-07-22 Chris Wang <[email protected]> * base-specs/gqview.spec: add bugdb and bugid
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
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    21
BuildRoot: %{_tmppath}/%{name}-%{version}-root
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    22
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    23
URL: http://gqview.sourceforge.net
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    24
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    25
Requires: gtk2 >= 2.4.0
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
%description
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    28
GQview is a browser for graphics files.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    29
Offering single click viewing of your graphics files.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    30
Includes thumbnail view, zoom and filtering features.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    31
And external editor support.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    32
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    33
%prep
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    34
%setup -q -n gqview-%version
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    35
%patch1 -p1
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
%build
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    38
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    39
if test "x$CPUS" = "x" -o $CPUS = 0; then
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    40
    CPUS=1
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    41
fi
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
./configure --prefix=%{_prefix} --mandir=%{_mandir} 
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    44
make -j$CPUS 
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    45
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    46
#mkdir html
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    47
#cp doc/*.html doc/*.txt html/.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    48
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    49
%install
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    50
rm -rf $RPM_BUILD_ROOT
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    51
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    52
make mandir=$RPM_BUILD_ROOT%{_mandir} bindir=$RPM_BUILD_ROOT%{_bindir} \
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    53
 prefix=$RPM_BUILD_ROOT%{_prefix} install
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    54
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    55
%clean
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    56
rm -rf $RPM_BUILD_ROOT
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    57
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    58
%files
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    59
%defattr(-, root, root)
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    60
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    61
%doc README COPYING TODO html
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    62
%{_bindir}/gqview
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    63
%{_datadir}/locale/*/*/*
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    64
%{_datadir}/applications/gqview.desktop
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    65
%{_datadir}/pixmaps/gqview.png
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    66
%{_mandir}/man?/*
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    67
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    68
%changelog
12874
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
    69
* Tue Jul 22 2008  [email protected]
b50509d81b3b 2008-07-22 Chris Wang <[email protected]>
bewitche
parents: 12845
diff changeset
    70
- Add bugdb and bugid
12845
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    71
* Thu Jul 17 2008  [email protected]
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    72
- Add patch gqview-01-editor.diff, the default editor can be selected 
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    73
  while configure.
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    74
* Tue Jul  7 2008  [email protected] 
f1d3a2c66ccc 2008-07-18 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    75
- Initial build.