File swfdec-gnome.spec of Package swfdec-gnome

#
# spec file for package swfdec-gnome (Version 2.24.0)
#
# Copyright (c) 2008 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

%if %suse_version <= 1020
%define _prefix   /opt/gnome
%define _sysconfdir /etc/%_prefix
BuildRequires:  extra-rpm-macros
BuildRequires:  gconf2-rpm-macros
%endif
BuildRequires:  gconf2-devel
BuildRequires:  gnome-common
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  perl-XML-Parser
BuildRequires:  swfdec-devel
BuildRequires:  update-desktop-files

Name:           swfdec-gnome
Summary:        A decoder/renderer for Macromedia Flash animations
Version:        2.24.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
AutoReqProv:    on
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 -n %{name}-%{version}

%build
%configure
CFLAGS=$RPM_OPT_FLAGS make

%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
* Fri Oct 03 2008 vuntz@novell.com
- Fix build: do not rename the icon in the .desktop file (it was
  done upstream).
* Tue Sep 23 2008 maw@suse.de
- Update to version 2.24.0:
  + Updated translations.
* Fri Sep 12 2008 maw@suse.de
- Update to version 2.23.4:
  + Port to the swfdef 0.7 API
  + Make thumbnails have the same aspect ratio as the flash file
  in question.
* Thu Aug 28 2008 ro@suse.de
- fix icon name in desktop file
* Sat Aug 09 2008 maw@suse.de
- Update to versin 2.23.2:
  + Port to the swfdec 0.7 API
  + Make thumbnails have the same aspect ratio as flash files.
* Fri Apr 11 2008 maw@suse.de
- Update to version 2.22.2:
  + Fixed error messages not showing up
  + Updated translations
- Drop swfdec-gnome-uninitialized-var.patch.
* Fri Mar 14 2008 maw@suse.de
- Update to version 2.22.0:
  + Updated translations.
* Wed Mar 05 2008 maw@suse.de
- Initial package, version 2.21.91.
openSUSE Build Service is sponsored by