File gnome-media.spec of Package gnome-media
#
# spec file for package gnome-media
#
# 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-media
Version: 2.91.2
Release: 1
License: LGPLv2+
Summary: GNOME Multimedia (Media)
Url: http://www.gnome.org/
Group: System/GUI/GNOME
Source: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-media/2.16/%{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE gnome-media-desktop.patch -- Use GenericName instead of Comment
Patch3: %name-desktop.patch
BuildRequires: fdupes
BuildRequires: gnome-doc-utils-devel
BuildRequires: intltool
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gstreamer-0.10)
BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(libgnome-media-profiles-3.0)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libxml-2.0)
Requires: gnome-icon-theme-symbolic
Requires: gstreamer010-plugins-good
Recommends: %{name}-lang
Recommends: gstreamer-0_10-plugins-base
Provides: gnome-media2
Obsoletes: gnome-media2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq
%description
This package contains multimedia programs for GNOME.
Documentation:
GNOME online help /usr/share/doc/packages/gnome
%lang_package
%prep
%setup -q
translation-update-upstream
%patch3 -p1
%build
#autoreconf -f -i
%configure\
--libexecdir=%{_prefix}/lib/gnome-media\
--disable-static\
--disable-schemas-install\
--disable-scrollkeeper
make %{?_smp_mflags}
%install
%makeinstall
%suse_update_desktop_file gnome-sound-recorder
%suse_update_desktop_file -N "GStreamer Properties" -G "Multimedia Systems Selector" gstreamer-properties
%find_lang %{name}-2.0 %{?no_lang_C}
%find_lang gnome-sound-recorder %{?no_lang_C} %{name}-2.0.lang
%find_lang gstreamer-properties %{?no_lang_C} %{name}-2.0.lang
%find_gconf_schemas
find %{buildroot} -type f -name "*.la" -delete -print
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%pre -f %{name}.schemas_pre
%post
/sbin/ldconfig
%desktop_database_post
%icon_theme_cache_post
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%postun
/sbin/ldconfig
%desktop_database_postun
%icon_theme_cache_postun
%files -f %{name}.schemas_list
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%defattr (-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/gnome-sound-recorder/
%doc %{_datadir}/gnome/help/gnome-sound-recorder/C/
%dir %{_datadir}/gnome/help/gstreamer-properties/
%doc %{_datadir}/gnome/help/gstreamer-properties/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/gnome-sound-recorder/
%doc %{_datadir}/omf/gnome-sound-recorder/gnome-sound-recorder-C.omf
%dir %{_datadir}/omf/gstreamer-properties/
%doc %{_datadir}/omf/gstreamer-properties/gstreamer-properties-C.omf
%{_bindir}/gnome-sound-recorder
%{_bindir}/gstreamer-properties
%{_datadir}/applications/gnome-sound-recorder.desktop
%{_datadir}/applications/gstreamer-properties.desktop
%{_datadir}/gnome-media/
%{_datadir}/gnome-sound-recorder/
%{_datadir}/gstreamer-properties/
%{_datadir}/icons/hicolor/*/apps/*.*
%{_datadir}/sounds/gnome/
%files lang -f %{name}-2.0.lang
%changelog