]>
Commit | Line | Data |
---|---|---|
7b3a522b | 1 | Summary: Music player for GNOME |
f50590c9 | 2 | Summary(pl.UTF-8): Odtwarzacz muzyki dla GNOME |
7b3a522b | 3 | Name: gnome-music |
87c5b4e9 | 4 | Version: 41.0 |
f6f4b0aa | 5 | Release: 2 |
3b644899 | 6 | License: GPL v2 with GStreamer plugins exceptions |
7b3a522b | 7 | Group: X11/Applications/Multimedia |
87c5b4e9 JB |
8 | Source0: https://download.gnome.org/sources/gnome-music/41/%{name}-%{version}.tar.xz |
9 | # Source0-md5: db3228b6ce214e98740229b13e2dd4f8 | |
3b644899 | 10 | Patch0: %{name}-deps.patch |
5a7a3e5e | 11 | URL: https://wiki.gnome.org/Apps/Music |
8215772b | 12 | BuildRequires: gettext-tools |
87c5b4e9 | 13 | BuildRequires: glib2-devel >= 1:2.67.1 |
4439a8e8 | 14 | BuildRequires: gnome-online-accounts-devel >= 3.36.0 |
7b3a522b | 15 | BuildRequires: gobject-introspection-devel >= 1.36.0 |
b109af51 | 16 | BuildRequires: grilo-devel >= 0.3.13 |
87c5b4e9 | 17 | BuildRequires: gtk+3-devel >= 3.24.14 |
3b644899 | 18 | BuildRequires: libdazzle-devel >= 3.28.0 |
87c5b4e9 | 19 | BuildRequires: libhandy1-devel >= 1.2.0 |
e2846261 | 20 | BuildRequires: libmediaart2-devel >= 1.9.1 |
3b644899 | 21 | BuildRequires: libsoup-devel >= 2.4 |
b109af51 | 22 | BuildRequires: meson >= 0.49.0 |
3b644899 | 23 | BuildRequires: ninja >= 1.5 |
b109af51 | 24 | BuildRequires: pango-devel >= 1:1.44.0 |
7b3a522b | 25 | BuildRequires: pkgconfig >= 1:0.22 |
87c5b4e9 | 26 | BuildRequires: python3-devel >= 1:3.7 |
0e01e194 | 27 | BuildRequires: python3-pycairo-devel >= 1.14.0 |
b109af51 | 28 | BuildRequires: python3-pygobject3-devel >= 3.36.1 |
3b644899 | 29 | BuildRequires: rpmbuild(macros) >= 1.736 |
f50590c9 | 30 | BuildRequires: sed >= 4.0 |
7b3a522b | 31 | BuildRequires: tar >= 1:1.22 |
b109af51 | 32 | BuildRequires: tracker3-devel >= 3.0.0 |
7b3a522b | 33 | BuildRequires: xz |
f50590c9 | 34 | BuildRequires: yelp-tools |
87c5b4e9 | 35 | Requires(post,postun): glib2 >= 1:2.67.1 |
7b3a522b | 36 | Requires(post,postun): gtk-update-icon-cache |
b109af51 | 37 | Requires: gdk-pixbuf2 >= 2.0 |
87c5b4e9 | 38 | Requires: glib2 >= 1:2.67.1 |
4439a8e8 | 39 | Requires: gnome-online-accounts >= 3.36.0 |
3b644899 | 40 | Requires: gobject-introspection >= 1.36.0 |
b109af51 JB |
41 | Requires: grilo >= 0.3.13 |
42 | Requires: grilo-plugins >= 0.3.12 | |
7b3a522b MB |
43 | Requires: gstreamer >= 1.0.0 |
44 | Requires: gstreamer-plugins-base >= 1.0.0 | |
87c5b4e9 | 45 | Requires: gtk+3 >= 3.24.14 |
7b3a522b | 46 | Requires: hicolor-icon-theme |
3b644899 | 47 | Requires: libdazzle >= 3.28.0 |
87c5b4e9 | 48 | Requires: libhandy1 >= 1.2.0 |
e2846261 | 49 | Requires: libmediaart2 >= 1.9.1 |
7b3a522b | 50 | Requires: libnotify |
b109af51 | 51 | Requires: pango >= 1:1.44.0 |
7b3a522b | 52 | Requires: python3-dbus |
3b644899 | 53 | Requires: python3-pycairo >= 1.14.0 |
b109af51 | 54 | Requires: python3-pygobject3 >= 3.36.1 |
3ccdd989 | 55 | Requires: python3-requests |
b109af51 | 56 | Requires: tracker3-libs >= 3.0.0 |
7b3a522b MB |
57 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
58 | ||
59 | %description | |
60 | GNOME Music is a music player for GNOME. | |
61 | ||
f50590c9 JB |
62 | %description -l pl.UTF-8 |
63 | GNOME Music to odtwarzacz muzyki dla GNOME. | |
64 | ||
7b3a522b MB |
65 | %prep |
66 | %setup -q | |
3b644899 | 67 | %patch0 -p1 |
7b3a522b | 68 | |
3b644899 | 69 | %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' gnome-music.in |
f50590c9 | 70 | |
7b3a522b | 71 | %build |
0e01e194 | 72 | %meson build |
3b644899 JB |
73 | |
74 | %ninja_build -C build | |
7b3a522b MB |
75 | |
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
3b644899 | 79 | %ninja_install -C build |
7b3a522b | 80 | |
0e01e194 | 81 | %find_lang org.gnome.Music --with-gnome --all-name |
7b3a522b MB |
82 | |
83 | %clean | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %post | |
87 | %glib_compile_schemas | |
88 | %update_icon_cache hicolor | |
89 | ||
90 | %postun | |
91 | %glib_compile_schemas | |
92 | %update_icon_cache hicolor | |
93 | ||
0e01e194 | 94 | %files -f org.gnome.Music.lang |
7b3a522b | 95 | %defattr(644,root,root,755) |
3b644899 | 96 | %doc LICENSE NEWS README.md |
7b3a522b | 97 | %attr(755,root,root) %{_bindir}/gnome-music |
0e01e194 | 98 | %dir %{_libdir}/org.gnome.Music |
3b644899 | 99 | %attr(755,root,root) %{_libdir}/org.gnome.Music/libgfm-0.1.so |
0e01e194 | 100 | %dir %{_libdir}/org.gnome.Music/girepository-1.0 |
3b644899 JB |
101 | %{_libdir}/org.gnome.Music/girepository-1.0/Gfm-0.1.typelib |
102 | %dir %{_libdir}/org.gnome.Music/pkgconfig | |
103 | %{_libdir}/org.gnome.Music/pkgconfig/gfm-0.1.pc | |
7b3a522b | 104 | %{_datadir}/glib-2.0/schemas/org.gnome.Music.gschema.xml |
3b644899 | 105 | %{_datadir}/metainfo/org.gnome.Music.appdata.xml |
0e01e194 MB |
106 | %{_datadir}/org.gnome.Music |
107 | %{_desktopdir}/org.gnome.Music.desktop | |
108 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Music-symbolic.svg | |
bda74803 | 109 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Music.svg |
0e01e194 | 110 | %{py3_sitedir}/gnomemusic |