File gnome-media.spec of Package gnome-media
#
# spec file for package gnome-media (Version 2.24.0.1)
#
# 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
Name: gnome-media
%define DISTRIBUTABLE 1
BuildRequires: docbook-utils fdupes gail-devel gnome-common
BuildRequires: gnome-desktop-devel gnome-doc-utils-devel gnutls-devel
BuildRequires: gstreamer-0_10-plugins-base-devel
BuildRequires: gstreamer-0_10-plugins-good gstreamer-0_10-utils intltool
BuildRequires: libcddb-devel libglade2-devel libidl-devel
BuildRequires: nautilus-cd-burner-devel notification-daemon
BuildRequires: perl-XML-Parser scrollkeeper update-desktop-files
License: GPL v2 or later
Group: System/GUI/GNOME
Requires: control-center2 gstreamer010-plugins-good
# For sound recorder:
%if %suse_version > 1000
Recommends: gstreamer-0_10-plugins-base
%else
Requires: gstreamer-0_10-plugins-base
%endif
Requires: hal
Provides: gnome-media2
Obsoletes: gnome-media2
Version: 2.24.0.1
Release: 3
Summary: GNOME Multimedia (Media)
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
# PATCH-FEATURE-OPENSUSE gnome-media-lame.patch -- Add an audio profile for lame
Patch7: gnome-media-lame.patch
# PATCH-FIX-UPSTREAM gnome-media-stringcompare.patch bgo559017
Patch13: gnome-media-stringcompare.patch
Url: http://www.gnome.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-lang = %{version}
DocDir: %{_defaultdocdir}
Provides: %{name}-cd = %{version}
Obsoletes: %{name}-cd <= %{version}
%gconf_schemas_prereq
%description
This package contains multimedia programs for GNOME.
Documentation:
GNOME online help /usr/share/doc/packages/gnome
Authors:
--------
Iain Holmes <iain@ximian.com>
Tim P. Gerla <timg@rrv.net>
Jens Ch. Restemeier <jchrr@hrz.uni-bielefeld.de>
Gregory McLean <gregm@comstar.net>
Andreas Hyden <a.hyden@cyberpoint.se>
Seth Nickell <snickell@stanford.edu>
Balamurali Viswanathan <balamurali.viswanathan@wipro.com>
%package devel
License: GPL v2 or later; LGPL v2.1 or later
Summary: GNOME Multimedia (Media)
Group: System/GUI/GNOME
Requires: %{name} = %{version} dbus-1-devel hal-devel gconf2-devel gtk2-devel libglade2-devel libgnome-devel libgnomeui-devel
%description devel
This package contains multimedia programs for GNOME.
Authors:
--------
Iain Holmes <iain@ximian.com>
Tim P. Gerla <timg@rrv.net>
Jens Ch. Restemeier <jchrr@hrz.uni-bielefeld.de>
Gregory McLean <gregm@comstar.net>
Andreas Hyden <a.hyden@cyberpoint.se>
Seth Nickell <snickell@stanford.edu>
Balamurali Viswanathan <balamurali.viswanathan@wipro.com>
%lang_package
%prep
%setup -q
%patch3 -p1
%if ! %DISTRIBUTABLE
%patch7
%endif
%patch13
%build
#autoreconf -f -i
# needed for gnome-media-2.16.1:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
# FIXME: Build as root modifies system!
# gnome-media-2.16.1: --disable-scrollkeeper does not work properly.
%configure\
--libexecdir=%{_prefix}/lib/gnome-media\
--disable-static\
--disable-schemas-install\
--disable-scrollkeeper
make %{?jobs:-j%jobs}
%install
%makeinstall
rm -rf $RPM_BUILD_ROOT/%{_prefix}/%{_lib}/*.la
%suse_update_desktop_file gnome-volume-control AudioVideo Mixer
%suse_update_desktop_file gnome-sound-recorder AudioVideo Recorder
%suse_update_desktop_file -N "GStreamer Properties" -G "Multimedia Systems Selector" gstreamer-properties System SystemSetup X-SuSE-ControlCenter-System
%find_lang %{name}-2.0
%find_lang gnome-sound-recorder %{name}-2.0.lang
%find_lang gnome-volume-control %{name}-2.0.lang
%find_lang gstreamer-properties %{name}-2.0.lang
# desktop file is not marked OnlyShowIn=GNOME, icon must be public (GNOME#478100):
(
cd %{_datadir}/icons/gnome
for ICON in */apps/multimedia-volume-control.* ; do
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${ICON%/*}
ln -s ../../../gnome/$ICON $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$ICON
done
)
%def_gconf_schemas %{name}
%add_gconf_schemas gnome-audio-profiles
%add_gconf_schemas gnome-sound-recorder
%add_gconf_schemas gnome-volume-control
%def_gconf_schemas %{name}-cd
%end_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
cat %{name}-cd.schemas_list >%{name}-cd.lst
rm $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.*a
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%post -p /sbin/ldconfig
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%postun -p /sbin/ldconfig
%files -f %{name}.lst
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%defattr (-, root, root)
%{_bindir}/gnome-audio-profiles-properties
%{_bindir}/gnome-sound-recorder
%{_bindir}/gnome-volume-control
%{_bindir}/gstreamer-properties
%{_datadir}/applications/gnome-sound-recorder.desktop
%{_datadir}/applications/gnome-volume-control.desktop
%{_datadir}/applications/gstreamer-properties.desktop
%{_datadir}/gnome-media
%{_datadir}/gnome-sound-recorder
%{_datadir}/gstreamer-properties
%{_datadir}/icons/hicolor/*/apps/*.*
%{_datadir}/icons/hicolor/16x16/*/*.png
%{_libdir}/*.so.*
%{_libdir}/libglade/2.0/*.so
%{_datadir}/omf/gnome-sound-recorder
%{_datadir}/omf/gnome-volume-control
%{_datadir}/omf/gstreamer-properties
%files lang -f %{name}-2.0.lang
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%changelog
* Mon Nov 03 2008 vuntz@novell.com
- Remove gnome-media-void.patch: fixed another way upstream.
- Remove gnome-media-configure-args.patch, grecord-args.patch,
gst-mixer-args.patch: really unneeded, it was only useful when we
couldn't depend on a recent enough libgnome/libgnomeui.
- Tag patches.
* Mon Oct 13 2008 sreeves@suse.de
- Fix for BNC #389502 - dont show gstreamer-properties
* Wed Oct 01 2008 mboman@suse.de
- Update to version 2.24.0.1:
* bgo#552445: do not include GPLv3 COPYING in dist, clarify the
license information for each project
* bgo#552047: add audio to categories of gnome-sound-recorder
* Translation updates
* Wed Sep 17 2008 mboman@novell.com
- Update to version 2.23.92:
+ Minor fixes
+ Translation updates
* Tue Sep 02 2008 mboman@novell.com
- Update to version 2.23.91:
+ Removed GnomeVFS and EggRecent dependencies
+ Updated translations
+ Bugs fixed: bgo#516090, bgo#404877, bgo#537028, bgo#543306
- Removed gnome-media-64bit.patch. Uses GIO now.
* Fri Jun 27 2008 maw@suse.de
- Update to version 2.23.3:
+ Starting with 2.23.1.1, gnome-cd, cddb-slave-2, and vumeter
are disabled by default; there are other, more capable,
alternatives available
+ gnome-volume-control received some love with a new UI: it's
like a capplet, now
+ Initial porting to GIO: bgo#516090 and bgo#404877
* 524364: GtkBuilder
+ Bugs fixed: bgo#341021, bgo#462164, bgo#535058, bgo#441641,
bgo#349951, bgo#534090, bgo#528064, and bgo#529083.
* Thu May 22 2008 jpr@suse.de
- Drop gnome-cd-args.patch it was required only to work around a
version update on SLE 10
* Fri Mar 14 2008 maw@suse.de
- Update to version 2.22.0:
+ Bug fixes
+ Updated translations.
* Fri Feb 01 2008 jpr@suse.de
- Add gstreamer-0_10-utils to BuildRequires for gst-inspect
- Move requires/recommends to new gstreamer packaging layout
* Thu Sep 20 2007 maw@suse.de
- Update to version 2.20.1:
+ Fix a number of icons on buttons that were not showing up
properly
- Remove an "exit" which was inexplicably found in %%prep.
* Wed Sep 19 2007 sbrabec@suse.cz
- Fixed gnome-volume-control icon reference (GNOME#478100).
* Tue Sep 18 2007 mauro@suse.de
- Update to 2.20.0 version:
* Fix build of gstreamer-properties against an uninstalled GStreamer
* Convert French documentation to gnome-doc-utils
* Update Ukrainian documentation
* Mon Aug 27 2007 sreeves@suse.de
- Change gstreamer-properties desktop file to show for #280338
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage
- s#%%run_ldconfig#/sbin/ldconfig/ in %%post and %%postun.
* Mon Jun 11 2007 ro@suse.de
- avoid string compare with char literal
* Thu May 24 2007 stbinner@suse.de
- remove X-SuSE-translate from .desktop file patches
* Fri Apr 27 2007 sbrabec@suse.cz
- Do not call meinproc (#227624).
* Fri Mar 30 2007 maw@suse.de
- Update to version 2.18.0
- Invalid (not part of the freedesktop.org spec) entries removed
from various .desktop files
- b.g.o 413736 and 408292.
* Mon Mar 12 2007 maw@suse.de
- Don't package .a and .la files.
* Fri Mar 09 2007 maw@suse.de
- Update to version 2.17.91.
- changes include:
* rename polypaudio to pulse audio in media system preferences.
* fix regression in 2.17.90 where for some users, the mouse wheel
could no longer adapt the volume.
* fix potential crash-on-startup in gnome-volume-control.
* remove Application as category for gnome-volume-control desktop
file.
* accessibility bug fixes in gnome-sound-recorder.
* Fix a segfault in gnome-cd when changing theme while not being
displayed
* Add GStreamer Properties to the system settings, and hide the menu
entry by default since most is autodetected with auto/gconf elements
* Hide cddbslave2 menu entry also
* Fix for a segfault in Gnome Volume Control
* Gnome Sound Recorder will no longer hide toolbar icons if the text
does not fit on the screen
* Change profile dialog to better fit screen
* Add AAC/MP3 default audio profiles
* Do not show profiles in the selection box if the plugins
are not available
* Some fixes for strings wrongly marked or not marked for i18n
* Add explicit compile dependency on libxml2
* Fixes to gnome-volume-control and gnome-sound-recorder to not crash
after closing
* Change OK/cancel buttons into a single close button in profile
editor (which was already instant-apply)
* Better display of tracks that have separate playback and record
volume controls, which occurs on e.g. the Audigy
* Allow resizing of the vu-meter
* Default speex profile extension changed from .ogg to .spx
* Audio profile editor dialogs are no longer modal
* Removed save-as button from gnome-sound-recorder toolbar, and made
the save button behave as save-as when no filename has been given
* Fix for false extension hint if the profile selection is changed
in between recording and saving in gnome-sound-recorder
* HIGify profiles dialog
* Use Record instead of Capture in the mixer
* Add icon to profiles dialog
* Wed Feb 07 2007 sbrabec@suse.cz
- Do not build unusable static libraries (#238552).
* Thu Jan 04 2007 sbrabec@suse.cz
- Reflect gstreamer010-plugins-base merge.
* Mon Dec 18 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Tue Nov 21 2006 sbrabec@suse.cz
- Do not explicitly require mDNSResponder-lib blocking avahi compat
package.
* Thu Sep 14 2006 jhargadon@suse.de
- update to version 2.16.1
- install vumeter.desktop file correctly
- make full row of checkboxes clickeable in gnome-volume-control
- .desktop fixes for bug-buddy and for category of FDO spec
- macro fixes in header files
- cygwin build fixes
- translation updates
- many bugfixes
* Fri Aug 11 2006 jhargadon@suse.de
- update to version 2.14.2
- fix muting issues in gnome sound recorder
- add more tracks to default whitelist in gnome volume control
- po/intltool updates
- use GOption instead of popt
* Wed May 17 2006 gekker@suse.de
- Move other cddb files to -cd as appropriate (#76375)
* Tue Apr 25 2006 sbrabec@suse.cz
- Fixed reject in optional additional profile patch.
* Tue Apr 18 2006 sbrabec@suse.cz
- Use Suggests for gstreamer010-plugins-base-oil.
* Wed Apr 12 2006 sbrabec@suse.cz
- Added X-SuSE-ControlCenter-System to gstreamer-properties
(#118960).
- Removed DocPath stuff (now in update-desktop-files).
- Fixed gstreamer-properties I18N support (GNOME#338251).
* Tue Apr 11 2006 sbrabec@suse.cz
- Build with gstreamer010-plugins-base-oil to build sound-recorder.
- Moved gnome-cd icon to main package (needed for cddb-slave).
- Enabled icon for sound recorder.
- Fixed scriptlets.
* Sat Apr 08 2006 aj@suse.de
- Fix specfile to build again.
* Mon Apr 03 2006 jpr@suse.de
- Update to 2.14.0, the only upstream change being for gstreamer 0.10
support
- Back patch to remove goption requirement so we don't need a new
libbonobo/libgnomeui
* Thu Mar 30 2006 gekker@suse.de
- Split out gnome-cd to subpackage gnome-media-cd (#161585)
* Wed Mar 22 2006 sbrabec@suse.cz
- Added optional additional profile.
* Fri Feb 17 2006 sreeves@suse.de
- Update .desktop file (Name, GenericName, Comment, DocPath)
* Mon Feb 13 2006 gekker@suse.de
- Remove requirement on gstreamer-plugins-extra gst plugin for
cdparanoia is now in gstreamer-plugins-default, partial (#148339)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Sep 05 2005 mmj@suse.de
- Update to version 2.12.0 (GNOME 2.12)
* Thu Aug 11 2005 gekker@suse.de
- Update to version 2.11.91
* Fri Jul 22 2005 gekker@suse.de
- Update to version 2.11.5
* Mon Jun 27 2005 sbrabec@suse.cz
- Fixed neededforbuild.
- Build documentation.
- Build gnome-sound-recorder.
- Fixed devel requirements (#8283).
- Removed unneeded static modules and .la files for modules.
* Mon Jun 20 2005 gekker@suse.de
- Update to version 2.11.3
- Add patch to make 64-bit clean
- Add dbus-1 and hal to nfb and requires
* Tue Mar 22 2005 sbrabec@suse.cz
- Require gstreamer-plugins-default for gstreamer-properties and
gstreamer-plugins-extra for gnome-cd (#74146).
* Fri Mar 18 2005 sbrabec@suse.cz
- Removed X-Ximian-Settings (#73047).
* Wed Mar 16 2005 sbrabec@suse.cz
- Added X-Ximian-Settings to gstreamer-properties and cddb-slave
(#73047).
* Wed Mar 09 2005 gekker@suse.de
- Update to version 2.10.0 (GNOME 2.10).
* Thu Mar 03 2005 gekker@suse.de
- Updated to 2.9.92
* Thu Jan 27 2005 gekker@suse.de
- Updated to 2.9.90
* Wed Nov 24 2004 hvogel@suse.de
- fix desktop files and categories
* Fri Nov 19 2004 ro@suse.de
- postfix is in neededforbuild, so skip sendmail
* Tue Nov 02 2004 ro@suse.de
- locale rename: no -> nb
* Tue Oct 12 2004 sbrabec@suse.cz
- Fixed libexecdir for bi-arch (#47050).
* Mon Sep 20 2004 joeshaw@suse.de
- Remove gnome-sound-recorder from the build, as the gstreamer
alsasrc doesn't work at all. Ximian #64893.
* Fri Sep 10 2004 ro@suse.de
- added shared-mime-info to neededforbuild
* Tue Aug 31 2004 clahey@suse.de
- Don't --check since some of the docs don't validate.
* Thu Aug 26 2004 clahey@suse.de
- Cache gnome-meida help and make gnome-media show up in khelpcenter.
* Wed Jun 02 2004 sbrabec@suse.cz
- Fixed CD previous button.
http://bugzilla.gnome.org/show_bug.cgi?id=123301
* Thu May 06 2004 sbrabec@suse.cz
- Updated to version 2.6.1 (GNOME 2.6).
* Thu Mar 25 2004 mmj@suse.de
- Add postfix to # neededforbuild
* Wed Mar 10 2004 sbrabec@suse.cz
- Fixed gconf schemas installation (#33114).
* Sat Feb 21 2004 ro@suse.de
- adapted categories
* Fri Feb 20 2004 sbrabec@suse.cz
- Package renamed to gnome-media.
* Thu Feb 12 2004 hhetter@suse.de
- gconf schema (de-)installation in %%post and %%postun
* Sat Jan 10 2004 adrian@suse.de
- add %%defattr
* Mon Oct 27 2003 sbrabec@suse.cz
- Updated to version 2.4.1.1.
* Tue Oct 07 2003 sbrabec@suse.cz
- Updated to version 2.4.0 (GNOME 2.4).
* Sun Sep 14 2003 adrian@suse.de
- add more Categories
* Mon Aug 18 2003 sbrabec@suse.cz
- Updated to version 2.2.2.
* Mon Jul 14 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Fri Jun 27 2003 sbrabec@suse.cz
- Updated neededforbuild.
- Use %%find_lang.
- Require control-center2.
* Thu Mar 13 2003 hhetter@suse.de
- fix build (use autoreconf)
* Tue Mar 04 2003 hhetter@suse.de
- fix filelist for the audiorecorder UI
* Mon Mar 03 2003 sbrabec@suse.cz
- Included and enabled missing gstreamer-properties desktop file.
* Fri Feb 28 2003 hhetter@suse.de
- fix missing glade files for gstreamer-properties
* Fri Feb 07 2003 hhetter@suse.de
- updated to version 2.2.1.1 [GNOME 2.2.0]
- build with gstreamer support
- build the gstreamer control applet
* Tue Jan 28 2003 hhetter@suse.de
- updated to 2.2.0 revision
- enable gstreamer support
* Thu Jan 16 2003 sbrabec@suse.cz
- Added libjpeg to neededforbuild.
* Thu Nov 28 2002 hhetter@suse.de
- updated to version 2.0.3 [GNOME 2.0.3]
* Thu Oct 24 2002 sbrabec@suse.cz
- FHS fix.
* Thu Oct 17 2002 sbrabec@suse.cz
- Update to version 2.0.2.5.
- Added sox to Requires.
- Update %%files.
* Tue Sep 24 2002 sbrabec@suse.cz
- Added alsa-devel to neededforbuild, because esound-devel can require it.
* Thu Sep 19 2002 sbrabec@suse.cz
- Added alsa to neededforbuild, because esound can depend on it.
* Tue Aug 20 2002 hhetter@suse.de
- added PreReq: filesystem
* Tue Aug 13 2002 ro@suse.de
- removed control-center from neededforbuild
* Sat Jul 27 2002 adrian@suse.de
- add %%run_ldconfig
* Thu Jun 20 2002 hhetter@suse.de
- don't install schemas while make install
* Thu Jun 20 2002 ro@suse.de
- fix libdir usage
* Mon Jun 17 2002 jordi@suse.de
- initial SuSE package for GNOME 2.0 platform