1 |
Summary: A Simple and Fast Image Viewer for X |
2 |
Name: gpicview |
3 |
Version: 0.2.4 |
4 |
Release: %mkrel 1 |
5 |
License: GPLv2+ |
6 |
Group: Graphics/Viewers |
7 |
Source0: http://downloads.sourceforge.net/lxde/%name-%version.tar.gz |
8 |
URL: http://www.lxde.org/ |
9 |
BuildRequires: pkgconfig(gtk+-2.0) >= 2.12.0 |
10 |
BuildRequires: pkgconfig(x11) |
11 |
BuildRequires: jpeg-devel |
12 |
BuildRequires: desktop-file-utils |
13 |
BuildRequires: intltool >= 0.40.0 |
14 |
|
15 |
%description |
16 |
GPicView is a simple and fast image viewer for X. |
17 |
It features: |
18 |
. Extremely lightweight and fast with low memory usage |
19 |
. Very suitable for default image viewer of desktop system |
20 |
. Simple and intuitive interface |
21 |
. Minimal lib dependency: Only pure GTK+ is used |
22 |
. Desktop independent: Doesn't require any specific desktop environment |
23 |
|
24 |
%prep |
25 |
%setup -q |
26 |
|
27 |
%build |
28 |
%configure2_5x |
29 |
%make |
30 |
|
31 |
%install |
32 |
%makeinstall_std |
33 |
|
34 |
%{find_lang} %{name} |
35 |
|
36 |
desktop-file-install --vendor='' \ |
37 |
--dir=%buildroot%_datadir/applications \ |
38 |
--remove-category='Application' \ |
39 |
--remove-category='Core' \ |
40 |
--remove-category='Utility' \ |
41 |
--remove-category='Photography' \ |
42 |
--remove-category='RasterGraphics' \ |
43 |
%buildroot%_datadir/applications/*.desktop |
44 |
|
45 |
%files -f %{name}.lang |
46 |
%{_bindir}/%name |
47 |
%{_datadir}/applications/*.desktop |
48 |
%{_datadir}/%name |
49 |
%{_iconsdir}/*/*/*/* |