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