Mathieu Bridon 8f6dc44
Name:          gnome-music
Mathieu Bridon 8f6dc44
Summary:       Music player and management application for GNOME
8e5e23e
Version:       3.13.2
Richard Hughes 5d84800
Release:       1%{?dist}
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
# The sources are under the GPLv2+ license, except for:
Mathieu Bridon 8f6dc44
# - the bundled libgd which is LGPLv2+,
Mathieu Bridon 8f6dc44
# - the gnome-music icon which is CC-BY-SA
Mathieu Bridon 8f6dc44
#
Mathieu Bridon 8f6dc44
# Also: https://bugzilla.gnome.org/show_bug.cgi?id=706457
Mathieu Bridon 3843e1c
License:       (GPLv2+ with exceptions) and LGPLv2+ and CC-BY-SA
Mathieu Bridon c0eb7bb
URL:           http://wiki.gnome.org/Apps/Music
Richard Hughes 8648239
Source0:       http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.13/%{name}-%{version}.tar.xz
Mathieu Bridon 8f6dc44
Mathieu Bridon 2c4baf6
BuildRequires: desktop-file-utils
Mathieu Bridon 8f6dc44
BuildRequires: intltool
Mathieu Bridon 8f6dc44
BuildRequires: pkgconfig(gio-2.0)
Mathieu Bridon 8f6dc44
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.35.9
Mathieu Bridon 8f6dc44
BuildRequires: pkgconfig(grilo-0.2) >= 0.2.6
Mathieu Bridon 8f6dc44
BuildRequires: pkgconfig(gtk+-3.0) >= 3.8.0
Mathieu Bridon 8f6dc44
BuildRequires: python3-devel
Richard Hughes ceb89df
BuildRequires: itstool
Richard Hughes 8c471e2
BuildRequires: libmediaart-devel
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
Requires:      gdk-pixbuf2
Mathieu Bridon 8f6dc44
Requires:      gobject-introspection
Mathieu Bridon 8f6dc44
Requires:      grilo
Mathieu Bridon 8f6dc44
Requires:      gstreamer1
Mathieu Bridon 8f6dc44
Requires:      gstreamer1-plugins-base
Mathieu Bridon 8f6dc44
Requires:      gtk3
Mathieu Bridon 2601711
Requires:      libnotify >= 0.7.6
Mathieu Bridon 8f6dc44
Requires:      pango
Mathieu Bridon 8f6dc44
Requires:      python3-gobject
Mathieu Bridon 8f6dc44
Requires:      tracker
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
# Can't migrate to GDBus, the server-side support is not implemented yet:
Mathieu Bridon 8f6dc44
#     https://bugzilla.gnome.org/show_bug.cgi?id=656330
Mathieu Bridon 8f6dc44
Requires:      python3-dbus
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
# libgd is not meant to be installed as a system-wide shared library.
Mathieu Bridon 8f6dc44
# It is just a way for GNOME applications to share widgets and other common
Mathieu Bridon 8f6dc44
# code on an ad-hoc basis.
Mathieu Bridon 8f6dc44
Provides:      bundled(libgd)
Mathieu Bridon 8f6dc44
%global __provides_exclude_from ^%{_libdir}/%{name}/libgd\.so$
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
%description
Mathieu Bridon 8f6dc44
Music player and management application for GNOME.
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
%prep
Mathieu Bridon 8f6dc44
%setup -q
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
%build
Mathieu Bridon 2655ca4
%configure --disable-silent-rules
Mathieu Bridon 8f6dc44
make %{?_smp_mflags}
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
%install
Mathieu Bridon 8f6dc44
make install DESTDIR=%{buildroot} INSTALL="/usr/bin/install -p"
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
find %{buildroot} -name '*.la' -exec rm -f '{}' \;
Mathieu Bridon 8f6dc44
Mathieu Bridon e76f62d
%find_lang %{name} --with-gnome
Mathieu Bridon 8f6dc44
Mathieu Bridon 2c4baf6
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
Mathieu Bridon 2c4baf6
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
%post
Mathieu Bridon 8f6dc44
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
%postun
Mathieu Bridon 8f6dc44
if [ $1 -eq 0 ] ; then
Mathieu Bridon 8f6dc44
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
Mathieu Bridon 8f6dc44
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Mathieu Bridon 8f6dc44
    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
Mathieu Bridon 8f6dc44
fi
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
%posttrans
Mathieu Bridon 8f6dc44
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Mathieu Bridon 8f6dc44
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
%files -f %{name}.lang
Mathieu Bridon 8f6dc44
%doc AUTHORS COPYING
Mathieu Bridon 8f6dc44
%{_bindir}/%{name}
Mathieu Bridon 8f6dc44
%{_datadir}/%{name}
5648aca
%{_datadir}/appdata/
Mathieu Bridon 8f6dc44
%{_datadir}/applications/%{name}.desktop
Mathieu Bridon 8f6dc44
%{_datadir}/glib-2.0/schemas/org.gnome.Music.gschema.xml
Mathieu Bridon 8f6dc44
%{_datadir}/icons/hicolor/*/apps/%{name}.png
Mathieu Bridon 8f6dc44
%{_libdir}/%{name}
Mathieu Bridon 8f6dc44
%{python3_sitelib}/gnomemusic
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
Mathieu Bridon 8f6dc44
%changelog
8e5e23e
* Tue May 27 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.2-1
8e5e23e
- Update to 3.13.2
8e5e23e
Richard Hughes 8648239
* Mon Apr 28 2014 Richard Hughes <rhughes@redhat.com> - 3.13.1-1
Richard Hughes 8648239
- Update to 3.13.1
Richard Hughes 8648239
cf8c158
* Tue Apr 15 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.1-1
cf8c158
- Update to 3.12.1
cf8c158
Richard Hughes db114d8
* Mon Mar 24 2014 Richard Hughes <rhughes@redhat.com> - 3.12.0-1
Richard Hughes db114d8
- Update to 3.12.0
Richard Hughes db114d8
Richard Hughes 5d84800
* Tue Mar 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.92-1
Richard Hughes 5d84800
- Update to 3.11.92
Richard Hughes 5d84800
Mathieu Bridon e76f62d
* Wed Mar 05 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 3.11.91-2
Mathieu Bridon e76f62d
- Fix handling of the help files.
Mathieu Bridon e76f62d
Richard Hughes 019a067
* Tue Mar 04 2014 Richard Hughes <rhughes@redhat.com> - 3.11.91-1
Richard Hughes 019a067
- Update to 3.11.91
Richard Hughes 019a067
Richard Hughes b76aff4
* Mon Feb 17 2014 Richard Hughes <rhughes@redhat.com> - 3.11.90-1
Richard Hughes b76aff4
- Update to 3.11.90
Richard Hughes b76aff4
Richard Hughes 1cdf25e
* Mon Nov 25 2013 Richard Hughes <rhughes@redhat.com> - 3.11.2-1
Richard Hughes 1cdf25e
- Update to 3.11.2
Richard Hughes 1cdf25e
Richard Hughes b892274
* Tue Oct 29 2013 Richard Hughes <rhughes@redhat.com> - 3.10.1-1
Richard Hughes b892274
- Update to 3.10.1
Richard Hughes b892274
61cbf23
* Wed Sep 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.10.0-1
61cbf23
- Update to 3.10.0
61cbf23
5648aca
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.92-1
5648aca
- Update to 3.9.92
5648aca
- Include the appdata file
5648aca
93840c0
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.91-1
93840c0
- Update to 3.9.91
93840c0
Mathieu Bridon d8687b7
* Wed Aug 21 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 3.9.90-2
Mathieu Bridon d8687b7
- A couple of fixes, based on Ankur's feedback:
Mathieu Bridon c0eb7bb
  - Fix the upstream URL
Mathieu Bridon 3843e1c
  - Fix the license tag
Mathieu Bridon 2c4baf6
  - Validate the desktop file
Mathieu Bridon 2655ca4
  - Make the build verbose
Mathieu Bridon c0eb7bb
Mathieu Bridon 8f6dc44
* Wed Aug 21 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 3.9.90-1
Mathieu Bridon 8f6dc44
- Initial package for Fedora.