File swfdec-gnome.spec of Package swfdec-gnome

# spec file for package swfdec-gnome
# 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:           swfdec-gnome
Summary:        A decoder/renderer for Macromedia Flash animations
Version:        2.30.1
Release:        2
License:        GPLv2+
Group:          Productivity/Multimedia/Other
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  gconf2-devel
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  swfdec-devel
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Swfdec is a decoder/renderer for Macromedia Flash animations.  The
decoding and rendering engine is provided in a library that can be used
by other applications.

This package contains programs to integrate Flash functionality into
the GNOME desktop.  Its main application is swfdec-player, a
stand-alone viewer for Flash files.  It also contains
swfdec-thumbnailer, a program that provides screenshots for files to
display in the Nautilus file manager.

%setup -q

make %{?jobs:-j%jobs}

%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%suse_update_desktop_file -N "swfdec Player" -G "Shockwave Flash Player" swfdec-player
%find_lang %{name} %{?no_lang_C}

%pre -f %{name}.schemas_pre


%preun -f %{name}.schemas_preun


%posttrans -f %{name}.schemas_posttrans


%files -f %{name}.schemas_list
%defattr(-, root, root)

%files lang -f %{name}.lang