File gnome-web-photo.spec of Package gnome-web-photo
#
# spec file for package gnome-web-photo
#
# 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 http://bugs.opensuse.org/
#
Name: gnome-web-photo
Version: 0.10
Release: 1.<RELEASE2>
License: GPLv2+
Summary: GNOME Web Photographer
Url: http://www.gnome.org
Group: Productivity/Graphics/Viewers
Source: %{name}-%{version}.tar.bz2
BuildRequires: gconf2-devel
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: libwebkit-devel
BuildRequires: translation-update-upstream
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq
%description
GNOME Web Photographer is a tool to generate full-size image files and
thumbnails from HTML files and web pages.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure --with-gtk=2.0
make %{?_smp_mflags}
%install
%make_install
%find_lang %{name} %{?no_lang_C}
%find_gconf_schemas
%clean
rm -rf %{buildroot}
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%files -f %{name}.schemas_list
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/gnome-web-photo
%{_bindir}/gnome-web-print
%{_bindir}/gnome-web-thumbnail
%{_datadir}/gnome-web-photo/
%files lang -f %{name}.lang
%changelog