File swfdec-gnome.spec of Package swfdec-gnome

#
# spec file for package swfdec-gnome (Version 2.28.0)
#
# 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

BuildRequires:  gconf2-devel
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  swfdec-devel
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files

Name:           swfdec-gnome
Summary:        A decoder/renderer for Macromedia Flash animations
Version:        2.28.0
Release:        1
License:        GPL v2 or later
Group:          Productivity/Multimedia/Other
Source0:        %{name}-%{version}.tar.bz2
Url:            http://swfdec.freedesktop.org
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       %{name}-lang = %{version}
%gconf_schemas_prereq

%description
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.



Authors:
--------
    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.

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

%build
%configure
make %{?jobs:-j%jobs}

%install
%makeinstall
%suse_update_desktop_file -N "swfdec Player" -G "Shockwave Flash Player" swfdec-player
%find_gconf_schemas
%find_lang %{name}

%pre -f %{name}.schemas_pre

%preun -f %{name}.schemas_preun

%posttrans -f %{name}.schemas_posttrans

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.schemas_list
%defattr(-, root, root)
%doc AUTHORS NEWS README 
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/swfdec-gnome
%{_mandir}/man1/swfdec-*.1.gz

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by