]>
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 |
6eebe49c JK |
4 | Version: 3.30.2 |
5 | Release: 1 | |
7b3a522b MB |
6 | License: GPL v2 with exceptions |
7 | Group: X11/Applications/Multimedia | |
6eebe49c JK |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-music/3.30/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 2f12c025cf5d2ca9a22704ba491f50aa | |
7b3a522b | 10 | URL: http://wiki.gnome.org/Apps/Music |
8215772b | 11 | BuildRequires: gettext-tools |
7b3a522b | 12 | BuildRequires: gobject-introspection-devel >= 1.36.0 |
0e01e194 | 13 | BuildRequires: grilo-devel >= 0.3.4 |
a7fb60df | 14 | BuildRequires: gtk+3-devel >= 3.20.0 |
7b3a522b | 15 | BuildRequires: intltool >= 0.40.0 |
e2846261 | 16 | BuildRequires: libmediaart2-devel >= 1.9.1 |
0e01e194 | 17 | BuildRequires: meson |
7b3a522b | 18 | BuildRequires: pkgconfig >= 1:0.22 |
f50590c9 | 19 | BuildRequires: python3-devel >= 1:3.3 |
0e01e194 | 20 | BuildRequires: python3-pycairo-devel >= 1.14.0 |
a7fb60df | 21 | BuildRequires: python3-pygobject3-devel >= 3.22 |
f50590c9 | 22 | BuildRequires: sed >= 4.0 |
7b3a522b | 23 | BuildRequires: tar >= 1:1.22 |
0e01e194 | 24 | BuildRequires: tracker-devel >= 2.0.0 |
7b3a522b | 25 | BuildRequires: xz |
f50590c9 | 26 | BuildRequires: yelp-tools |
7b3a522b MB |
27 | Requires(post,postun): glib2 >= 1:2.26.0 |
28 | Requires(post,postun): gtk-update-icon-cache | |
29 | Requires: gdk-pixbuf2 | |
30 | Requires: glib2 | |
0e01e194 | 31 | Requires: grilo >= 0.3.4 |
36950e99 | 32 | Requires: grilo-plugins >= 0.3.1 |
7b3a522b MB |
33 | Requires: gstreamer >= 1.0.0 |
34 | Requires: gstreamer-plugins-base >= 1.0.0 | |
a7fb60df | 35 | Requires: gtk+3 >= 3.20.0 |
7b3a522b | 36 | Requires: hicolor-icon-theme |
e2846261 | 37 | Requires: libmediaart2 >= 1.9.1 |
7b3a522b MB |
38 | Requires: libnotify |
39 | Requires: python3-dbus | |
40 | Requires: python3-pycairo | |
a7fb60df | 41 | Requires: python3-pygobject3 >= 3.22 |
3ccdd989 | 42 | Requires: python3-requests |
0e01e194 | 43 | Requires: tracker-libs >= 2.0.0 |
7b3a522b MB |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
45 | ||
46 | %description | |
47 | GNOME Music is a music player for GNOME. | |
48 | ||
f50590c9 JB |
49 | %description -l pl.UTF-8 |
50 | GNOME Music to odtwarzacz muzyki dla GNOME. | |
51 | ||
7b3a522b MB |
52 | %prep |
53 | %setup -q | |
54 | ||
f50590c9 JB |
55 | %{__sed} -i -e '1s,/usr/bin/env python3,/usr/bin/python3,' gnome-music.in |
56 | ||
7b3a522b | 57 | %build |
0e01e194 MB |
58 | %meson build |
59 | %meson_build -C build | |
7b3a522b MB |
60 | |
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
0e01e194 | 64 | %meson_install -C build |
7b3a522b | 65 | |
0e01e194 | 66 | %find_lang org.gnome.Music --with-gnome --all-name |
7b3a522b MB |
67 | |
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post | |
72 | %glib_compile_schemas | |
73 | %update_icon_cache hicolor | |
74 | ||
75 | %postun | |
76 | %glib_compile_schemas | |
77 | %update_icon_cache hicolor | |
78 | ||
0e01e194 | 79 | %files -f org.gnome.Music.lang |
7b3a522b | 80 | %defattr(644,root,root,755) |
0e01e194 | 81 | %doc NEWS README.md |
7b3a522b | 82 | %attr(755,root,root) %{_bindir}/gnome-music |
0e01e194 MB |
83 | %dir %{_libdir}/org.gnome.Music |
84 | %dir %{_libdir}/org.gnome.Music/girepository-1.0 | |
85 | %{_libdir}/org.gnome.Music/girepository-1.0/Gd-1.0.typelib | |
86 | %attr(755,root,root) %{_libdir}/org.gnome.Music/libgd.so | |
87 | %{_datadir}/metainfo/org.gnome.Music.appdata.xml | |
7b3a522b | 88 | %{_datadir}/glib-2.0/schemas/org.gnome.Music.gschema.xml |
0e01e194 MB |
89 | %{_datadir}/org.gnome.Music |
90 | %{_desktopdir}/org.gnome.Music.desktop | |
91 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Music-symbolic.svg | |
92 | %{_iconsdir}/hicolor/*x*/apps/org.gnome.Music.png | |
93 | %{py3_sitedir}/gnomemusic |