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