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