From 557298218b6f51a1557b2d8f583be4e7433bdd327aaff371c1fa00127da5d76b Mon Sep 17 00:00:00 2001 From: Richard Rahl Date: Thu, 6 Jun 2024 08:55:21 +0000 Subject: [PATCH] Accepting request 1178970 from X11:COSMIC:Next OBS-URL: https://build.opensuse.org/request/show/1178970 OBS-URL: https://build.opensuse.org/package/show/X11:COSMIC:Apps/cosmic-player?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + _service | 20 ++++++ ...c-player-0.1.0+git20240605.721f784.obscpio | 3 + cosmic-player.changes | 4 ++ cosmic-player.obsinfo | 4 ++ cosmic-player.spec | 62 +++++++++++++++++++ vendor.tar.zst | 3 + 8 files changed, 120 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 cosmic-player-0.1.0+git20240605.721f784.obscpio create mode 100644 cosmic-player.changes create mode 100644 cosmic-player.obsinfo create mode 100644 cosmic-player.spec create mode 100644 vendor.tar.zst 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/_service b/_service new file mode 100644 index 0000000..6d4a750 --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + + https://github.com/pop-os/cosmic-player.git + git + master + 0.1.0+git%cd.%h + yes + + + + *.tar + zstd + + + cosmic-player + false + + + diff --git a/cosmic-player-0.1.0+git20240605.721f784.obscpio b/cosmic-player-0.1.0+git20240605.721f784.obscpio new file mode 100644 index 0000000..ff28012 --- /dev/null +++ b/cosmic-player-0.1.0+git20240605.721f784.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3dc3cb8d553ddc1689456b6328cad23de486174068efa6ed6e7acc306807cbdb +size 409611 diff --git a/cosmic-player.changes b/cosmic-player.changes new file mode 100644 index 0000000..93d44a5 --- /dev/null +++ b/cosmic-player.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Mar 14 04:52:26 UTC 2024 - Richard Rahl + +- initial packaging diff --git a/cosmic-player.obsinfo b/cosmic-player.obsinfo new file mode 100644 index 0000000..329f282 --- /dev/null +++ b/cosmic-player.obsinfo @@ -0,0 +1,4 @@ +name: cosmic-player +version: 0.1.0+git20240605.721f784 +mtime: 1717593406 +commit: 721f7846dbf83889efe17058dea9cc92bfa0ce09 diff --git a/cosmic-player.spec b/cosmic-player.spec new file mode 100644 index 0000000..217ed69 --- /dev/null +++ b/cosmic-player.spec @@ -0,0 +1,62 @@ +# +# spec file for package cosmic-player +# +# Copyright (c) 2024 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/ +# + + +%define appname com.system76.CosmicPlayer +Name: cosmic-player +Version: 0.1.0+git20240605.721f784 +Release: 0 +Summary: COSMIC media player +License: GPL-3.0-only +URL: https://github.com/pop-os/cosmic-player +Source0: %{name}-%{version}.tar.zst +Source1: vendor.tar.zst +BuildRequires: cargo-packaging +BuildRequires: clang-devel +BuildRequires: just +BuildRequires: pkgconfig +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(libavcodec) +BuildRequires: pkgconfig(libavdevice) +BuildRequires: pkgconfig(libavfilter) +BuildRequires: pkgconfig(libavformat) +BuildRequires: pkgconfig(xkbcommon) + +%description +%{summary}. + +%prep +%autosetup -a1 + +%build +just build-release + +%install +just rootdir=%{buildroot} prefix=%{_prefix} install +%suse_update_desktop_file %{appname} + +%check +%{cargo_test} + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_datadir}/applications/%{appname}.desktop + +%changelog diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..1a06709 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3df3c061fa4a2179904620e62465fc97ce4b838bff7cfcdea1f6b3014d703e8a +size 80465362