File gpicview.spec of Package gpicview

# spec file for package gpicview (Version 0.2.1)
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           gpicview
Summary:        LXDE Photo Viewer
Version:        0.2.1
Release:        7
License:        GPLv2
Group:          Productivity/Graphics/Viewers
Source0:        %name-%version.tar.bz2
Patch0:         gpicview-add-mime-types.patch
Patch1:         no-return-in-nonvoid-function.patch 
Patch2:         implicit-fortify-decl.patch 
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  autoconf automake gcc gcc-c++ make update-desktop-files
BuildRequires:  gettext-runtime gettext-tools gtk2-devel pkg-config
BuildRequires:  fdupes intltool libjpeg-devel perl perl-XML-Parser

An extremly fast, lightweight, yet feature-rich photo viewer
This software is part of the LXDE Desktop Enviroment

%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p2

%__make %{?jobs:-j%{jobs}}

%__rm -rf %{buildroot}/%{_datadir}/locale/ur_PK
%suse_update_desktop_file -r gpicview GTK Graphics Viewer
%fdupes -s %{buildroot}
%find_lang %name

rm -fr %buildroot

%files -f %name.lang
%dir %_datadir/gpicview
%dir %_datadir/gpicview/pixmaps
%dir %_datadir/gpicview/ui

openSUSE Build Service is sponsored by