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 |
#
|
|
8 |
#Owner: bewitche
|
|
9 |
#bugdb: https://sourceforge.net/tracker/index.php?func=detail&group_id=4050&atid=104050&aid=
|
|
10 |
#
|
|
11 |
|
12845
|
12 |
Summary: Graphics file browser utility.
|
|
13 |
Name: gqview
|
|
14 |
Version: 2.0.4
|
|
15 |
Release: 1
|
|
16 |
License: GPL
|
|
17 |
Group: Applications/Multimedia
|
|
18 |
Source: http://prdownloads.sourceforge.net/gqview/gqview-%{version}.tar.gz
|
12874
|
19 |
#owner:bewitche date:2008-07-07 bugid:2024250 type:feature
|
12845
|
20 |
Patch1: gqview-01-editor.diff
|
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
22 |
|
|
23 |
URL: http://gqview.sourceforge.net
|
|
24 |
|
|
25 |
Requires: gtk2 >= 2.4.0
|
|
26 |
|
|
27 |
%description
|
|
28 |
GQview is a browser for graphics files.
|
|
29 |
Offering single click viewing of your graphics files.
|
|
30 |
Includes thumbnail view, zoom and filtering features.
|
|
31 |
And external editor support.
|
|
32 |
|
|
33 |
%prep
|
|
34 |
%setup -q -n gqview-%version
|
|
35 |
%patch1 -p1
|
|
36 |
|
|
37 |
%build
|
|
38 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
39 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
40 |
CPUS=1
|
|
41 |
fi
|
|
42 |
|
|
43 |
./configure --prefix=%{_prefix} --mandir=%{_mandir}
|
|
44 |
make -j$CPUS
|
|
45 |
|
|
46 |
#mkdir html
|
|
47 |
#cp doc/*.html doc/*.txt html/.
|
|
48 |
|
|
49 |
%install
|
|
50 |
rm -rf $RPM_BUILD_ROOT
|
|
51 |
|
|
52 |
make mandir=$RPM_BUILD_ROOT%{_mandir} bindir=$RPM_BUILD_ROOT%{_bindir} \
|
|
53 |
prefix=$RPM_BUILD_ROOT%{_prefix} install
|
|
54 |
|
|
55 |
%clean
|
|
56 |
rm -rf $RPM_BUILD_ROOT
|
|
57 |
|
|
58 |
%files
|
|
59 |
%defattr(-, root, root)
|
|
60 |
|
|
61 |
%doc README COPYING TODO html
|
|
62 |
%{_bindir}/gqview
|
|
63 |
%{_datadir}/locale/*/*/*
|
|
64 |
%{_datadir}/applications/gqview.desktop
|
|
65 |
%{_datadir}/pixmaps/gqview.png
|
|
66 |
%{_mandir}/man?/*
|
|
67 |
|
|
68 |
%changelog
|
12874
|
69 |
* Tue Jul 22 2008 [email protected]
|
|
70 |
- Add bugdb and bugid
|
12845
|
71 |
* Thu Jul 17 2008 [email protected]
|
|
72 |
- Add patch gqview-01-editor.diff, the default editor can be selected
|
|
73 |
while configure.
|
|
74 |
* Tue Jul 7 2008 [email protected]
|
|
75 |
- Initial build.
|