File goobox.spec of Package goobox

#
# spec file for package goobox (Version 2.0.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/
#



Name:           goobox
BuildRequires:  docbook_4 fdupes gcc-c++ gnome-doc-utils-devel gstreamer010-plugins-base-devel intltool libglade2-devel libgnomeui-devel libidl libmusicbrainz-devel libxslt translation-update-upstream update-desktop-files
# FIXME: Build fails:
BuildConflicts: libnotify-devel
Version:        2.0.0
Release:        7
Url:            http://www.gnome.org
Group:          Productivity/Multimedia/CD/Grabbers
License:        GPL v2 or later
Summary:        CD Player and Ripper for GNOME
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/0.0/%{name}-%{version}.tar.bz2
Patch1:         goobox-1.9.2-enable_sk.patch
Patch2:         goobox-1.9.2-ac.patch
Patch4:         goobox-0.9.93-stringcompare.patch
PreReq:         filesystem gconf2
Requires:       %{name}-lang = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq

%description
Goobox is a CD player and ripper that always knows just what to do.



Authors:
--------
    Paolo Bacchilega <paobac@cvs.gnome.org>

%lang_package
%prep
%setup -q
translation-update-upstream
%patch1
%patch2
%patch4

%build
autoreconf -f -i
intltoolize --force
%configure\
	--disable-schemas-install
make %{?jobs:-j%jobs}

%install
%makeinstall
%suse_update_desktop_file goobox AudioVideo Player CD
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
# Obsolete GNOME mime-info MIME support:
rm -r $RPM_BUILD_ROOT%{_datadir}/application-registry
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.lst
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/goobox
%{_libdir}/bonobo/servers/GNOME_Goobox.server
%{_datadir}/applications/goobox.desktop
%{_datadir}/goobox
%{_datadir}/omf/goobox
%{_datadir}/icons/hicolor/48x48/apps/goobox.png

%files lang -f %{name}.lang

%changelog
* Mon Feb 16 2009 sbrabec@suse.cz
- Added support for translation-update-upstream (FATE#301344).
* Wed Sep 03 2008 mboman@novell.com
- Update to version 2.0.0:
  + Fixed bug bgo#478435 – several memory leaks.
  + Open the 'copy cd' dialog on the same screen of the main window.
  + Updated translations
* Tue Apr 15 2008 schwab@suse.de
- Fix configure script.
* Wed Apr 02 2008 maw@suse.de
- Update to version 1.9.2:
  + New features
  + Many, many bugfixes.
- Drop goobox-0.9.2-no_nb.patch
* Tue Aug 07 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Mon Jun 18 2007 ro@suse.de
- avoid string compare with char literal
* Mon Mar 26 2007 sbrabec@suse.cz
- Fixed gconf scriptlets.
- Reduced BuildRequires.
* Thu Jan 25 2007 aj@suse.de
- GNOME moves to /usr.
* Fri Oct 13 2006 aj@suse.de
- Add gnome-doc-utils-devel to BuildRequires.
- Cleanup BuildRequires.
- Use RPM_OPT_FLAGS.
* Sun Apr 09 2006 jpr@suse.de
- Port to gstreamer 0.10
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 18 2006 lmichnovic@suse.cz
- updated to version 0.9.93
- libxslt, gnome-doc-utils added into NFB
- added patch fixing makefile (enable_sk.patch)
- added patch fixing uninitialized variable
* Thu Aug 04 2005 anicka@suse.cz
- update to 0.9.92
- add patch removing no locale
* Thu Feb 10 2005 sbrabec@suse.cz
- Require libsigc++12 in neededforbuild.
* Mon Jan 24 2005 ro@suse.de
- fix lib64 build
* Mon Jan 24 2005 clahey@suse.de
- Initial package.
openSUSE Build Service is sponsored by