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