LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File goobox.spec of Package goobox (Project GNOME:Apps)

#
# spec file for package goobox
#
# Copyright (c) 2012 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
Version:        3.0.1
Release:        0
Summary:        CD Player and Ripper for GNOME
License:        GPL-2.0+
Group:          Productivity/Multimedia/CD/Grabbers
Url:            http://www.gnome.org
Source:         http://download.gnome.org/sources/goobox/3.0/%{name}-%{version}.tar.xz
BuildRequires:  fdupes
BuildRequires:  gcc-c++
# Needed for gconftool-2
BuildRequires:  gconf2
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  intltool
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(glib-2.0) >= 2.30
BuildRequires:  pkgconfig(gstreamer-0.10) >= 0.10.12
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.2.0
BuildRequires:  pkgconfig(ice)
BuildRequires:  pkgconfig(libbrasero-media3)
BuildRequires:  pkgconfig(libdiscid)
BuildRequires:  pkgconfig(libmusicbrainz3) >= 3.0.0
BuildRequires:  pkgconfig(libnotify) >= 0.4.3
BuildRequires:  pkgconfig(sm)
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires

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

%lang_package
%prep
%setup -q
translation-update-upstream

%build
%configure \
        --disable-scrollkeeper
make %{?jobs:-j%jobs}

%install
%makeinstall
%suse_update_desktop_file goobox AudioVideo Player CD
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}

%clean
rm -rf %{buildroot}

%if 0%{?suse_version} > 1130

%post
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%endif

%if 0%{?suse_version} > 1130

%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%endif

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%{_bindir}/goobox
%{_datadir}/applications/goobox.desktop
%{_datadir}/GConf/gsettings/goobox.convert
%{_datadir}/glib-2.0/schemas/org.gnome.Goobox.gschema.xml
%{_datadir}/goobox/
%{_datadir}/icons/hicolor/*/apps/goobox.png

%files lang -f %{name}.lang

%changelog