2024-03-23 13:01:35 +00:00
|
|
|
#
|
|
|
|
# spec file for package cozy
|
|
|
|
#
|
2024-08-09 04:49:47 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2024-03-23 13:01:35 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-11-17 20:45:36 +00:00
|
|
|
%define appid com.github.geigi.cozy
|
2024-03-23 13:01:35 +00:00
|
|
|
Name: cozy
|
|
|
|
Version: 1.3.0
|
|
|
|
Release: 0
|
|
|
|
Summary: Audio Book Player
|
|
|
|
License: GPL-3.0-only
|
2024-11-17 20:45:36 +00:00
|
|
|
URL: https://github.com/geigi/cozy
|
|
|
|
Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: desktop-file-utils
|
2024-03-23 13:01:35 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: pkgconfig
|
2024-11-17 20:45:36 +00:00
|
|
|
BuildRequires: python3-distro
|
2024-03-23 13:01:35 +00:00
|
|
|
BuildRequires: python3-gobject
|
2024-11-17 20:45:36 +00:00
|
|
|
BuildRequires: python3-mutagen
|
|
|
|
BuildRequires: python3-peewee
|
|
|
|
BuildRequires: pkgconfig(gtk4)
|
|
|
|
BuildRequires: pkgconfig(libadwaita-1) >= 1.5.0
|
|
|
|
BuildRequires: pkgconfig(python3)
|
2024-03-23 13:01:35 +00:00
|
|
|
Requires: python3-distro
|
2024-11-17 20:45:36 +00:00
|
|
|
Requires: python3-injector
|
2024-03-23 13:01:35 +00:00
|
|
|
Requires: python3-mutagen
|
2024-11-17 20:45:36 +00:00
|
|
|
Requires: python3-peewee
|
2024-03-23 13:01:35 +00:00
|
|
|
Requires: python3-pytz
|
|
|
|
Requires: python3-requests
|
|
|
|
Recommends: gstreamer-plugins-base
|
|
|
|
Recommends: gstreamer-plugins-good
|
|
|
|
Recommends: gstreamer-plugins-ugly
|
2024-11-17 20:45:36 +00:00
|
|
|
Provides: %{appid} = %{version}
|
|
|
|
Obsoletes: %{appid} < %{version}
|
2024-03-23 13:01:35 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Play and organize your audio book collection.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
2024-11-17 20:45:36 +00:00
|
|
|
%autosetup
|
2024-03-23 13:01:35 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
2024-11-17 20:45:36 +00:00
|
|
|
%find_lang %{appid}
|
|
|
|
%fdupes %{buildroot}
|
2024-03-23 13:01:35 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
2024-08-09 04:49:47 +00:00
|
|
|
%doc AUTHORS.md README.md
|
2024-11-17 20:45:36 +00:00
|
|
|
%attr(0755,root,root) %{_bindir}/%{appid}
|
|
|
|
%{_datadir}/applications/%{appid}.desktop
|
|
|
|
%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml
|
|
|
|
%{_datadir}/metainfo/%{appid}.appdata.xml
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{appid}.svg
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{appid}{.Devel,-symbolic}.svg
|
|
|
|
%{_datadir}/icons/hicolor/*/actions/*.svg
|
|
|
|
%{_datadir}/%{appid}
|
|
|
|
%{python3_sitelib}/%{name}
|
2024-03-23 13:01:35 +00:00
|
|
|
|
2024-11-17 20:45:36 +00:00
|
|
|
%files lang -f %{appid}.lang
|
2024-03-23 13:01:35 +00:00
|
|
|
|
|
|
|
%changelog
|