File cheese.spec of Package cheese

#
# spec file for package cheese (Version 2.27.3)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           cheese
BuildRequires:  dbus-1-devel
BuildRequires:  evolution-data-server-devel
BuildRequires:  fdupes
BuildRequires:  gnome-desktop-devel
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gstreamer-0_10-plugins-base-devel
BuildRequires:  intltool
BuildRequires:  libglade2-devel
BuildRequires:  librsvg-devel
BuildRequires:  python-gobject2
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
Summary:        Cheese uses your webcam to take photos and videos
Version:        2.27.3
Release:        1
License:        GPL v2 or later
Group:          Productivity/Graphics/Other
Source0:        %{name}-%{version}.tar.bz2
Url:            http://www.gnome.org/projects/cheese
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       %{name}-lang = %{version}
# won't start without that one:
Requires:       gstreamer-0_10-plugins-good
Requires:       yelp
%gconf_schemas_prereq

%description
Cheese is a Photobooth-inspired GNOME application for taking pictures
and videos from a webcam. It also includes fancy graphical effects
based on the gstreamer-backend.



Authors:
--------
    daniel g. siegel <dgsiegel@gmail.com>
    Jaap Haitsma <jaap@haitsma.org>

%lang_package
%prep
%setup -q
translation-update-upstream

%build
%configure \
    --disable-scrollkeeper
make %{?jobs:-j%jobs}

%install
%makeinstall
%find_gconf_schemas
%find_lang %{name}
%suse_update_desktop_file -r -C "Webcam application" -G "Webcam Application" -N "Cheese" cheese Graphics Photography GNOME GTK
%fdupes -s $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre

%preun -f %{name}.schemas_preun

%posttrans -f %{name}.schemas_posttrans

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.schemas_list
%defattr(-, root, root)
%doc AUTHORS README COPYING ChangeLog
%{_bindir}/cheese
%{_libexecdir}/cheese
%{_datadir}/applications/cheese.desktop
%{_datadir}/cheese
%{_datadir}/icons/hicolor/16x16/apps/cheese.png
%{_datadir}/icons/hicolor/22x22/apps/cheese.png
%{_datadir}/icons/hicolor/24x24/apps/cheese.png
%{_datadir}/icons/hicolor/32x32/apps/cheese.png
%{_datadir}/icons/hicolor/48x48/apps/cheese.png
%{_datadir}/icons/hicolor/scalable/apps/cheese.svg
%{_datadir}/dbus-1/services/org.gnome.Cheese.service

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by