From f3ef58977bae7e9cbdc273b375d0b9cd54bd6341e732643c74b2d0e3155caac2 Mon Sep 17 00:00:00 2001 From: Alexei Podvalsky Date: Sun, 1 Jul 2018 19:34:05 +0000 Subject: [PATCH] Accepting request 619413 from home:awissu:branches:X11:Pantheon:Apps - Initial package OBS-URL: https://build.opensuse.org/request/show/619413 OBS-URL: https://build.opensuse.org/package/show/X11:Pantheon:Apps/cozy?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + cozy-0.6.0.tar.gz | 3 ++ cozy.changes | 5 +++ cozy.spec | 95 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 127 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 cozy-0.6.0.tar.gz create mode 100644 cozy.changes create mode 100644 cozy.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/cozy-0.6.0.tar.gz b/cozy-0.6.0.tar.gz new file mode 100644 index 0000000..44661b7 --- /dev/null +++ b/cozy-0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c664546244c182204f1db23fc677b56146315c89a1f7a116d35de5d9d94cf1b6 +size 590892 diff --git a/cozy.changes b/cozy.changes new file mode 100644 index 0000000..8c3d79b --- /dev/null +++ b/cozy.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat Jun 23 20:52:01 UTC 2018 - avvissu@yandex.by + +- Initial package + diff --git a/cozy.spec b/cozy.spec new file mode 100644 index 0000000..e68fd97 --- /dev/null +++ b/cozy.spec @@ -0,0 +1,95 @@ +# +# spec file for package cozy +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +Name: cozy +Version: 0.6.0 +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: meson +BuildRequires: pkgconfig +BuildRequires: python3-base +BuildRequires: python3-gobject +BuildRequires: python3-setuptools +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(granite) +BuildRequires: pkgconfig(gtk+-3.0) +Requires: python3-cairo +Requires: python3-gst +Requires: python3-magic +Requires: python3-mutagen +Requires: python3-peewee +Requires: python3-pytaglib +Recommends: %{name}-lang +Recommends: gstreamer-plugins-base +Recommends: gstreamer-plugins-good +Recommends: gstreamer-plugins-ugly +Conflicts: otherproviders(com.github.geigi.cozy) +Provides: com.github.geigi.cozy = %{version} +BuildArch: noarch +# SECTION test requirements +BuildRequires: python3-cairo +BuildRequires: python3-gst +BuildRequires: python3-magic +BuildRequires: python3-mutagen +BuildRequires: python3-peewee +BuildRequires: python3-pytaglib +# /SECTION + +%description +Play and organize your audio book collection. + +%lang_package + +%prep +%setup -q + +sed -i 's/\bmetainfo\b/appdata/' $(grep -rwl 'metainfo') + +%build +%meson +%meson_build + +%install +%meson_install +%suse_update_desktop_file com.github.geigi.cozy +%find_lang %{name} +%fdupes %{buildroot}%{_datadir} +%fdupes %{buildroot}%{python3_sitelib} + +%files +%defattr(0644,root,root,0755) +%license COPYING +%doc AUTHORS README.md +%attr(0755,root,root) %{_bindir}/com.github.geigi.cozy +%{_datadir}/appdata/com.github.geigi.cozy.appdata.xml +%{_datadir}/applications/com.github.geigi.cozy.desktop +%{_datadir}/glib-2.0/schemas/com.github.geigi.cozy.gschema.xml +%{_datadir}/icons/hicolor/*/*/*.??g +%{_datadir}/cozy/ +%{python3_sitelib}/cozy/ + +%files lang -f %{name}.lang + +%changelog