Last active
December 16, 2015 13:38
-
-
Save vrutkovs/5442833 to your computer and use it in GitHub Desktop.
Gnome Music Spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: gnome-music | |
Summary: Music is the new GNOME music playing application | |
Version: 0.2 | |
Release: 1%{?dist} | |
URL: https://live.gnome.org/Music | |
# GNOME Music itself is GPLv2+, but the bundled libgd is LGPLv2+ | |
License: GPLv2+ and LGPLv2+ | |
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.8/%{name}-%{version}.tar.xz | |
BuildRequires: desktop-file-utils | |
BuildRequires: intltool | |
BuildRequires: gtk3-devel >= 3.4.0 | |
BuildRequires: grilo-devel | |
BuildRequires: tracker-devel | |
BuildRequires: gnome-common | |
# libgd is not meant to be installed as a system-wide shared library. | |
# It is just a way for GNOME applications to share widgets and other common | |
# code on an ad-hoc basis. | |
Provides: bundled(libgd) | |
%description | |
Music is the new GNOME music playing application | |
%prep | |
%setup -q | |
%build | |
%configure | |
make %{?_smp_mflags} | |
%install | |
make install DESTDIR=%{buildroot} INSTALL="/usr/bin/install -p" | |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' | |
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop | |
%find_lang %{name} | |
%post | |
/usr/bin/update-desktop-database &> /dev/null || : | |
%postun | |
/usr/bin/update-desktop-database &> /dev/null || : | |
if [ $1 -eq 0 ] ; then | |
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : | |
fi | |
%posttrans | |
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : | |
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : | |
%files -f %{name}.lang | |
%{_bindir}/%{name} | |
%{_datadir}/%{name} | |
%{_datadir}/applications/%{name}.desktop | |
%{_libdir}/gnome-music/ | |
%changelog | |
* Mon Apr 22 2013 Vadim Rutkovsky <vrutkovs@redhat.com> - 0.2-1 | |
- Initial package for Fedora. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment