commit a7789bd70822245ff3a1f9b73f15c7ef5ff075cda8e79c656e547ae6b28c1bb6 Author: Richard Rahl Date: Thu Jun 6 08:50:52 2024 +0000 Accepting request 1178966 from X11:COSMIC:Next OBS-URL: https://build.opensuse.org/request/show/1178966 OBS-URL: https://build.opensuse.org/package/show/X11:COSMIC:Apps/cosmic-reader?expand=0&rev=1 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..fb9181b --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + + https://github.com/pop-os/cosmic-reader.git + git + master + 0.1.0+git%cd.%h + yes + + + + *.tar + zstd + + + cosmic-reader + false + + + diff --git a/cosmic-reader-0.1.0+git20240605.3f5815e.obscpio b/cosmic-reader-0.1.0+git20240605.3f5815e.obscpio new file mode 100644 index 0000000..5ebed00 --- /dev/null +++ b/cosmic-reader-0.1.0+git20240605.3f5815e.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db627fba7504dc84aad9bb79a73b46b503fab0cef1caa66402a4aa84ae0b747a +size 355851 diff --git a/cosmic-reader.changes b/cosmic-reader.changes new file mode 100644 index 0000000..fa0e8c4 --- /dev/null +++ b/cosmic-reader.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed May 22 20:59:01 UTC 2024 - Richard Rahl + +- initial packaging diff --git a/cosmic-reader.obsinfo b/cosmic-reader.obsinfo new file mode 100644 index 0000000..8877d73 --- /dev/null +++ b/cosmic-reader.obsinfo @@ -0,0 +1,4 @@ +name: cosmic-reader +version: 0.1.0+git20240605.3f5815e +mtime: 1717593421 +commit: 3f5815e99f1f9bda1edcb223465e26320cf22171 diff --git a/cosmic-reader.spec b/cosmic-reader.spec new file mode 100644 index 0000000..068722e --- /dev/null +++ b/cosmic-reader.spec @@ -0,0 +1,50 @@ +# +# spec file for package cosmic-reader +# +# 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/ +# + + +Name: cosmic-reader +Version: 0.1.0+git20240605.3f5815e +Release: 0 +Summary: COSMIC PDF reader +License: GPL-3.0-only +URL: https://github.com/pop-os/cosmic-reader +Source0: %{name}-%{version}.tar.zst +Source1: vendor.tar.zst +BuildRequires: cargo-packaging +BuildRequires: pkgconfig +BuildRequires: pkgconfig(xkbcommon) + +%description +%{summary}. + +%prep +%autosetup -a1 + +%build +%{cargo_build} + +%install +install -Dm0755 ./target/release/%{name} %{buildroot}%{_bindir}/%{name} + +%check +%{cargo_test} + +%files +%license LICENSE +%{_bindir}/%{name} + +%changelog diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..1770a31 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2843dd49eebcf3c540fc8f736785e52f22092b8359e03fd5fc28ee83f9c508a7 +size 73019566