Created
August 17, 2018 17:45
-
-
Save kai4785/4c7e86d92470778298d6a3ac9fb05683 to your computer and use it in GitHub Desktop.
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
%define __python /usr/bin/python3 | |
Name: pithos | |
Version: 1.4.1 | |
Release: 1%{?dist} | |
Summary: A native Pandora Radio client for Linux | |
Group: Applications/Multimedia | |
License: ASL 2.0 | |
URL: https://pithos.github.io/ | |
Source0: https://github.com/pithos/pithos/archive/%{version}.tar.gz | |
BuildRequires: python34, meson, ninja-build | |
Requires: python34, python34-cairo, python34-gobject | |
Requires: gstreamer,gstreamer1,gstreamer1-plugins-bad-free,gstreamer1-plugins-base,gstreamer1-plugins-good,gstreamer1-plugins-ugly-free,gstreamer-plugins-bad-free,gstreamer-plugins-base,gstreamer-plugins-good,PackageKit-gstreamer-plugin | |
%description | |
Pithos is a native Pandora Radio client for Linux. It’s much more lightweight | |
than the Pandora.com web client, and integrates with desktop features such as | |
media keys, notifications, and the sound menu. | |
%prep | |
%setup -q | |
%build | |
%define _vpath_srcdir . | |
%define _vpath_builddir build | |
%{meson} | |
%{meson_build} | |
%install | |
DESTDIR=%{buildroot} ninja-build -C build install | |
%post | |
update-desktop-database >&/dev/null || : | |
touch --no-create /usr/share/icons/hicolor >&/dev/null || : | |
%postun | |
update-desktop-database >&/dev/null || : | |
if [ $1 -eq 0 ]; then | |
touch --no-create /usr/share/icons/hicolor >&/dev/null || : | |
gtk-update-icon-cache /usr/share/icons/hicolor >&/dev/null || : | |
glib-compile-schemas /usr/share/glib-2.0/schemas >&/dev/null || : | |
fi | |
%posttrans | |
gtk-update-icon-cache /usr/share/icons/hicolor >&/dev/null || : | |
glib-compile-schemas /usr/share/glib-2.0/schemas >&/dev/null || : | |
%files | |
%{_bindir}/pithos | |
%{_datadir}/pithos | |
%{_datadir}/icons | |
%{_datadir}/appdata | |
%{_datadir}/applications | |
%{_datadir}/glib-2.0/schemas/io.github.Pithos.gschema.xml | |
%{_datadir}/dbus-1/services/io.github.Pithos.service | |
%{_mandir} | |
%doc | |
%changelog | |
* Fri Aug 17 2018 Kai Meyer <kaignukai.com> 1.4.1-1 | |
- Initial RPM release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment