SHA256
1
0
forked from pool/cozy
cozy/cozy.spec
Dominique Leuenberger ee6daa75ec Accepting request 1075198 from home:favogt:branches:X11:Pantheon:Apps
- Drop unnecessary python3-magic dependency

  * Support for GTK style manager (thanks A6GibKm)
  * Use natural sorting for chapter titles
  * Redesigned preference window
  * Preferences can now be searched
  * Fix: position slider did not update the time correctly after an import scan
  * Fix: after an import scan the library did not display the currently playing book correctly
  * Multiple small bug fixes
  * Fix: in version 1.1.1 the mobile library switcher was not displayed when Cozy started with a narrow window
  * Display an error banner if an error occurs while importing new files
  * The audiobook directory selector in the empty state has been replaced by a button to allow a narrow window even with long directory names
  * Fix: multiple small UI issues
  * Fix: the welcome screen now works properly on a mobile device
  * Fix: don't display the mobile library switcher when no files are imported
  * Fix: in the book detail view the pause icon for a chapter remained even when the next chapter already started playing
  * Display an error banner if an error occurs while importing new files
  * The audiobook directory selector in the empty state has been replaced by a button to allow a narrow window even with long directory names
  * Fix: multiple small UI issues
  * Fix: the welcome screen now works properly on a mobile device
  * Fix: don't display the mobile library switcher when no files are imported
  * Fix: in the book detail view the pause icon for a chapter remained even when the next chapter already started playing
  * Redesigned library
  * Redesigned start screen
  * Redesigned book detail screen
  * Responsive design for the main window
  * Introducing a welcome screen for new installations
  * Fix: a rare bug where Cozy's volume was muted at first start
  * Fix: long book names or author names will be truncated properly
  * Chapters in the book detail view will now be loaded lazily (thanks chris-kobrzak!)

OBS-URL: https://build.opensuse.org/request/show/1075198
OBS-URL: https://build.opensuse.org/package/show/X11:Pantheon:Apps/cozy?expand=0&rev=92
2023-04-14 15:00:18 +00:00

106 lines
3.1 KiB
RPMSpec

#
# spec file for package cozy
#
# Copyright (c) 2023 SUSE LLC
#
# 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/
#
Name: cozy
Version: 1.2.1
Release: 0
Summary: Audio Book Player
License: GPL-3.0-only
Group: Productivity/Multimedia/Sound/Players
URL: https://github.com/geigi
Source0: https://github.com/geigi/cozy/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: gobject-introspection
BuildRequires: hicolor-icon-theme
BuildRequires: libhandy-devel
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: python3-gobject
BuildRequires: python3-setuptools
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(granite) >= 5.3.0
BuildRequires: pkgconfig(gtk+-3.0)
Requires: granite
Requires: libhandy-1-0
Requires: python3-apsw
Requires: python3-cairo
Requires: python3-distro
Requires: python3-gst
Requires: python3-mutagen
Requires: python3-packaging
Requires: python3-peewee >= 3.9.6
Requires: python3-pytaglib
Requires: python3-pytz
Requires: python3-requests
Requires: pkgconfig(libdazzle-1.0)
Recommends: %{name}-lang
Recommends: gstreamer-plugins-base
Recommends: gstreamer-plugins-good
Recommends: gstreamer-plugins-ugly
Conflicts: com.github.geigi.cozy
Provides: com.github.geigi.cozy = %{version}
BuildArch: noarch
# SECTION test requirements
BuildRequires: python3-cairo
BuildRequires: libhandy-1-0
BuildRequires: python3-apsw
BuildRequires: python3-distro
BuildRequires: python3-gst
BuildRequires: python3-mutagen
BuildRequires: python3-packaging
BuildRequires: python3-peewee >= 3.9.6
BuildRequires: python3-pytaglib
BuildRequires: pkgconfig(libdazzle-1.0)
# /SECTION
%description
Play and organize your audio book collection.
%lang_package
%prep
%setup -q
%build
%meson
%meson_build
%install
%meson_install
%suse_update_desktop_file com.github.geigi.cozy
%find_lang com.github.geigi.cozy %{name}.lang
%fdupes %{buildroot}%{_datadir}
%fdupes %{buildroot}%{python3_sitelib}
%files
%defattr(0644,root,root,0755)
%license LICENSE
%doc AUTHORS README.md
%attr(0755,root,root) %{_bindir}/com.github.geigi.cozy
%{_datadir}/applications/com.github.geigi.cozy.desktop
%{_datadir}/glib-2.0/schemas/com.github.geigi.cozy.gschema.xml
%{_datadir}/metainfo/com.github.geigi.cozy.appdata.xml
%{_datadir}/icons/hicolor/*/*/*.??g
%{_datadir}/com.github.geigi.cozy/
%{python3_sitelib}/cozy/
%files lang -f %{name}.lang
%changelog