Accepting request 1178910 from home:rrahl0:COSMIC

OBS-URL: https://build.opensuse.org/request/show/1178910
OBS-URL: https://build.opensuse.org/package/show/X11:COSMIC:Apps/quick-webapps?expand=0&rev=1
This commit is contained in:
Richard Rahl 2024-06-06 07:29:08 +00:00 committed by Git OBS Bridge
commit 59147bbe68
7 changed files with 119 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

20
_service Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<services>
<service name="tar_scm" mode="manual">
<param name="url">https://github.com/elevenhsoft/WebApps.git</param>
<param name="scm">git</param>
<param name="revision">master</param>
<param name="versionformat">0.4.6+git%cd.%h</param>
<param name="package-meta">yes</param>
<param name="filename">quick-webapps</param>
</service>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">zstd</param>
</service>
<service name="cargo_vendor" mode="manual">
<param name="src">WebApps</param>
<param name="update">false</param>
</service>
<service name="set_version" mode="manual" />
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:22cb21d8ca1d9f0ee1a7f4024591a19278d7dfb9d39c4e09c007c466c8993fb8
size 755362

4
quick-webapps.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Apr 18 12:24:10 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
- initial packaging

65
quick-webapps.spec Normal file
View File

@ -0,0 +1,65 @@
#
# spec file for package cosmic-webapps
#
# 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 io.github.elevenhsoft.WebApps
Name: quick-webapps
Version: 0.4.6+git20240605.d4dec57
Release: 0
Summary: Web App Manager written with love and libcosmic
License: GPL-3.0-only
URL: https://github.com/elevenhsoft/WebApps
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
BuildRequires: git-core
BuildRequires: hicolor-icon-theme
BuildRequires: just
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(xkbcommon)
Requires: papirus-icon-theme
%description
Web App Manager for the COSMIC DE written with love and libcosmic.
Allows you to simply create web applications from given url working
inside separate window of your browser of choice.
%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
%{_iconsdir}/hicolor/??x??/apps/%{appname}.svg
%{_iconsdir}/hicolor/???x???/apps/%{appname}.svg
%{_datadir}/metainfo/%{appname}.metainfo.xml
%changelog

3
vendor.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3dfce72cd3b56475036c4e087b76c2cbec59adbec75c3bb68f5d19411e50cef
size 84125379