File sound-juicer.spec of Package sound-juicer
#
# spec file for package sound-juicer
#
# Copyright (c) 2014 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: sound-juicer
Version: 3.12.0
Release: 0
Summary: Clean and Lean GNOME CD Ripper
License: GPL-2.0+
Group: Productivity/Multimedia/CD/Grabbers
Url: http://www.burtonini.com/blog/computers/sound-juicer/
Source0: http://download.gnome.org/sources/sound-juicer/3.12/%{name}-%{version}.tar.xz
BuildRequires: brasero-devel
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: libcanberra-devel
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.2.0
BuildRequires: pkgconfig(iso-codes)
BuildRequires: pkgconfig(libdiscid)
BuildRequires: pkgconfig(libmusicbrainz5)
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires
%description
GStreamer-based CD ripping tool. Saves audio CDs to Ogg/vorbis.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure\
--disable-schemas-install\
--disable-scrollkeeper
make %{?_smp_mflags}
%install
%make_install
%if 0%{?suse_version} <= 1120
rm %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
%suse_update_desktop_file %{name} AudioVideo Player Audio
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%post
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%doc %{_datadir}/help/C/%{name}/
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/GConf/gsettings/sound-juicer.convert
%{_datadir}/glib-2.0/schemas/org.gnome.sound-juicer.gschema.xml
%{_datadir}/icons/hicolor/*/apps/*.*
%{_datadir}/sound-juicer
%doc %{_mandir}/man1/sound-juicer.1.gz
%files lang -f %{name}.lang
%changelog