]>
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 |
8790b083 | 4 | Version: 45.0 |
25a049b7 | 5 | Release: 1 |
3b644899 | 6 | License: GPL v2 with GStreamer plugins exceptions |
7b3a522b | 7 | Group: X11/Applications/Multimedia |
8790b083 JB |
8 | Source0: https://download.gnome.org/sources/gnome-music/45/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 683093425a2fba516356005eff3b7a18 | |
3b644899 | 10 | Patch0: %{name}-deps.patch |
662466b2 | 11 | Patch1: %{name}-no-update.patch |
5a7a3e5e | 12 | URL: https://wiki.gnome.org/Apps/Music |
8215772b | 13 | BuildRequires: gettext-tools |
87c5b4e9 | 14 | BuildRequires: glib2-devel >= 1:2.67.1 |
4439a8e8 | 15 | BuildRequires: gnome-online-accounts-devel >= 3.36.0 |
7b3a522b | 16 | BuildRequires: gobject-introspection-devel >= 1.36.0 |
b109af51 | 17 | BuildRequires: grilo-devel >= 0.3.13 |
21cbabbf JB |
18 | BuildRequires: gtk4-devel >= 4.5.0 |
19 | BuildRequires: libadwaita-devel >= 1.2 | |
e2846261 | 20 | BuildRequires: libmediaart2-devel >= 1.9.1 |
21cbabbf JB |
21 | BuildRequires: libsoup3-devel >= 3.0 |
22 | BuildRequires: meson >= 0.59.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 | |
21cbabbf | 45 | Requires: gtk4 >= 4.5.0 |
7b3a522b | 46 | Requires: hicolor-icon-theme |
21cbabbf | 47 | Requires: libadwaita >= 1.2 |
e2846261 | 48 | Requires: libmediaart2 >= 1.9.1 |
7b3a522b | 49 | Requires: libnotify |
b109af51 | 50 | Requires: pango >= 1:1.44.0 |
7b3a522b | 51 | Requires: python3-dbus |
3b644899 | 52 | Requires: python3-pycairo >= 1.14.0 |
b109af51 | 53 | Requires: python3-pygobject3 >= 3.36.1 |
3ccdd989 | 54 | Requires: python3-requests |
b109af51 | 55 | Requires: tracker3-libs >= 3.0.0 |
7c7ce045 | 56 | BuildArch: noarch |
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 |
1900d96c | 68 | %patch1 -p1 |
7b3a522b | 69 | |
3b644899 | 70 | %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' gnome-music.in |
f50590c9 | 71 | |
7b3a522b | 72 | %build |
0e01e194 | 73 | %meson build |
3b644899 JB |
74 | |
75 | %ninja_build -C build | |
7b3a522b MB |
76 | |
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
3b644899 | 80 | %ninja_install -C build |
7b3a522b | 81 | |
0e01e194 | 82 | %find_lang org.gnome.Music --with-gnome --all-name |
7b3a522b MB |
83 | |
84 | %clean | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
87 | %post | |
88 | %glib_compile_schemas | |
89 | %update_icon_cache hicolor | |
90 | ||
91 | %postun | |
92 | %glib_compile_schemas | |
93 | %update_icon_cache hicolor | |
94 | ||
0e01e194 | 95 | %files -f org.gnome.Music.lang |
7b3a522b | 96 | %defattr(644,root,root,755) |
3b644899 | 97 | %doc LICENSE NEWS README.md |
7b3a522b | 98 | %attr(755,root,root) %{_bindir}/gnome-music |
7b3a522b | 99 | %{_datadir}/glib-2.0/schemas/org.gnome.Music.gschema.xml |
3b644899 | 100 | %{_datadir}/metainfo/org.gnome.Music.appdata.xml |
0e01e194 MB |
101 | %{_datadir}/org.gnome.Music |
102 | %{_desktopdir}/org.gnome.Music.desktop | |
103 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Music-symbolic.svg | |
bda74803 | 104 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Music.svg |
1900d96c | 105 | %{py3_sitescriptdir}/gnomemusic |