Import elementary-music-5.1.1-4.el9

This commit is contained in:
Sofia Boldyreva 2023-03-16 23:14:29 +01:00
commit 9aaa266e1e
4 changed files with 239 additions and 0 deletions

View File

@ -0,0 +1 @@
6665eaa192b93c4edab8deba38f4adb762e2bdd9 SOURCES/music-5.1.1.tar.gz

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/music-5.1.1.tar.gz

View File

@ -0,0 +1,33 @@
From 6a4ec827b0324c8e7a92f2621944697d311d4533 Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Wed, 13 Jul 2022 13:58:46 +0200
Subject: [PATCH] meson: remove deprecated positional arguments from
i18n.merge_file calls
---
data/meson.build | 2 --
1 file changed, 2 deletions(-)
diff --git a/data/meson.build b/data/meson.build
index 899be41..4afaf03 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -27,7 +27,6 @@ install_data(
i18n = import('i18n')
desktop_file = i18n.merge_file(
- 'desktop',
input: meson.project_name() + '.desktop.in',
output: meson.project_name() + '.desktop',
install: true,
@@ -37,7 +36,6 @@ desktop_file = i18n.merge_file(
)
appdata_file = i18n.merge_file(
- 'appdata',
input: meson.project_name() + '.appdata.xml.in',
output: meson.project_name() + '.appdata.xml',
install: true,
--
2.37.1

204
SPECS/elementary-music.spec Normal file
View File

@ -0,0 +1,204 @@
## START: Set by rpmautospec
## (rpmautospec version 0.2.6)
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
release_number = 4;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
## END: Set by rpmautospec
%global srcname music
%global appname io.elementary.music
%global __provides_exclude_from ^%{_libdir}/%{appname}/.*\\.so$
%global common_description %{expand:
Music is a fast and beautiful GTK3 audio player with a focus on music
and libraries. It handles external devices, CDs, and album art. Music
utilizes Granite for a consistent and slick UI.}
Name: elementary-music
Summary: Music player and library from elementary
Version: 5.1.1
Release: %autorelease
License: LGPLv2+
URL: https://github.com/elementary/%{srcname}
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
# meson: remove deprecated positional arguments from i18n.merge_file calls
Patch1: 0001-meson-remove-deprecated-positional-arguments-from-i1.patch
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: meson
BuildRequires: libappstream-glib
BuildRequires: vala >= 0.26
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.40
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(granite) >= 6.0.0
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
BuildRequires: pkgconfig(gstreamer-tag-1.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22
BuildRequires: pkgconfig(libgda-5.0)
BuildRequires: pkgconfig(libgpod-1.0)
BuildRequires: pkgconfig(libhandy-1) >= 0.83.0
BuildRequires: pkgconfig(libpeas-1.0)
BuildRequires: pkgconfig(libpeas-gtk-1.0)
BuildRequires: pkgconfig(taglib_c)
BuildRequires: pkgconfig(zeitgeist-2.0)
Requires: hicolor-icon-theme
# elementary-music explicitly requires the sqlite libgda database provider
Requires: libgda-sqlite%{?_isa}
# Last.FM plugin was dropped in Fedora 34
Obsoletes: elementary-music-plugin-lastfm < 5.0.5-5
# iPod plugin was merged into the main package in Fedora 34
Obsoletes: elementary-music-plugin-ipod < 5.0.5-5
Provides: elementary-music-plugin-ipod = %{version}-%{release}
%description %{common_description}
%package devel
Summary: The official elementary music player (development headers)
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %{common_description}
This package contains files needed for developing with Music.
%prep
%autosetup -n %{srcname}-%{version} -p1
%build
%meson -Dplugins=audioplayer,ipod
%meson_build
%install
%meson_install
%find_lang %{appname}
%check
desktop-file-validate \
%{buildroot}/%{_datadir}/applications/%{appname}.desktop
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
%files -f %{appname}.lang
%doc README.md
%license COPYING
%{_bindir}/%{appname}
%{_libdir}/lib%{appname}-core.so.0
%{_libdir}/lib%{appname}-core.so.0.1
%dir %{_libdir}/%{appname}
%dir %{_libdir}/%{appname}/plugins
%{_libdir}/%{appname}/plugins/audioplayer-device.plugin
%{_libdir}/%{appname}/plugins/libaudioplayer-device.so
%{_libdir}/%{appname}/plugins/ipod-device.plugin
%{_libdir}/%{appname}/plugins/libipod-device.so
%{_datadir}/applications/%{appname}.desktop
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
%{_datadir}/metainfo/%{appname}.appdata.xml
%files devel
%{_libdir}/lib%{appname}-core.so
%{_libdir}/pkgconfig/%{appname}-core.pc
%{_includedir}/%{appname}-core.h
%{_datadir}/vala/vapi/%{appname}-core.deps
%{_datadir}/vala/vapi/%{appname}-core.vapi
%changelog
* Wed Jul 13 2022 Fabio Valentini <decathorpe@gmail.com> 5.1.1-4
- Fix builds with meson >= 0.62
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> 5.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> 5.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 21 2021 Fabio Valentini <decathorpe@gmail.com> 5.1.1-1
- Update to version 5.1.1; Fixes RHBZ#1983299
* Thu Jul 15 2021 Fabio Valentini <decathorpe@gmail.com> 5.1.0-1
- Update to version 5.1.0; Fixes RHBZ#1982326
* Wed Mar 17 2021 Fabio Valentini <decathorpe@gmail.com> - 5.0.5-5.20210217gita3bc5f8
- Drop Last.FM plugin and merge iPod plugin into main package.
* Thu Feb 18 2021 Fabio Valentini <decathorpe@gmail.com> - 5.0.5-4.20210217gita3bc5f8
- Bump to commit a3bc5f8. Rebuilt for granite 6 soname bump.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Mar 06 2020 Fabio Valentini <decathorpe@gmail.com> - 5.0.5-1
- Update to version 5.0.5.
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Apr 18 2019 Fabio Valentini <decathorpe@gmail.com> - 5.0.4-1
- Update to version 5.0.4.
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 5.0.3-3
- Rebuild with Meson fix for #1699099
* Sat Mar 16 2019 Fabio Valentini <decathorpe@gmail.com> - 5.0.3-2
- Enable Last.FM plugin.
- Split off plugins with extra dependencies into optional sub-packages.
* Thu Feb 28 2019 Fabio Valentini <decathorpe@gmail.com> - 5.0.3-1
- Update to version 5.0.3.
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jan 25 2019 Fabio Valentini <decathorpe@gmail.com> - 5.0.2-3
- Include upstream patch to fix issue spotted by vala 0.43.4+.
* Fri Jan 25 2019 Fabio Valentini <decathorpe@gmail.com> - 5.0.2-2
- Include upstream patch to fix valac target GLib check.
* Tue Dec 18 2018 Fabio Valentini <decathorpe@gmail.com> - 5.0.2-1
- Update to version 5.0.2.
* Sun Dec 16 2018 Fabio Valentini <decathorpe@gmail.com> - 5.0.1-1
- Update to version 5.0.1.
* Thu Oct 18 2018 Fabio Valentini <decathorpe@gmail.com> - 5.0-1
- Update to version 5.0.
- Disable LastFM plugin.
* Tue Aug 28 2018 Fabio Valentini <decathorpe@gmail.com> - 0.4.2-9.20180822.git67265b0
- Initial package renamed from noise.