Accepting request 1132750 from home:rrahl0

I want to maintain NewsFlash in Factory, and want to use network:utilities as the develproject for that

OBS-URL: https://build.opensuse.org/request/show/1132750
OBS-URL: https://build.opensuse.org/package/show/network:utilities/newsflash?expand=0&rev=1
This commit is contained in:
Dirk Mueller 2023-12-17 08:55:43 +00:00 committed by Git OBS Bridge
commit 96abd26fc1
7 changed files with 134 additions and 0 deletions

25
.gitattributes vendored Normal file
View File

@ -0,0 +1,25 @@
## 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
## Specific LFS patterns
news_flash_gtk-3.0.2.tar filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

18
_service Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.com/news-flash/news_flash_gtk.git</param>
<param name="revision">refs/tags/v.3.0.2</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v.(.*)</param>
<param name="changesgenerate">disable</param>
</service>
<service name="cargo_vendor" mode="manual">
<param name="srcdir">news_flash_gtk</param>
<param name="compression">zst</param>
<param name="update">false</param>
</service>
<service name="tar" mode="manual" />
<service name="set_version" mode="manual" />
</services>

3
news_flash_gtk-3.0.2.tar Normal file
View File

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

4
newsflash.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Dec 8 21:13:16 UTC 2023 - Richard Rahl <rrahl0@proton.me>
- initial packaging for openSUSE_Tumbleweed

80
newsflash.spec Normal file
View File

@ -0,0 +1,80 @@
#
# spec file for package newsflash
#
# 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/
#
%define _lto_cflags %{nil}
Name: newsflash
Version: 3.0.2
Release: 0
Summary: The spiritual successor to FeedReader
License: GPL-3.0-only
URL: https://gitlab.com/news-flash/news_flash_gtk
Source0: news_flash_gtk-%{version}.tar
Source1: vendor.tar.zst
BuildRequires: glib-networking
BuildRequires: cargo-packaging
BuildRequires: meson
BuildRequires: desktop-file-utils
BuildRequires: xdg-utils
BuildRequires: blueprint-compiler
BuildRequires: python3-gobject
BuildRequires: appstream-glib
BuildRequires: webkit2gtk4-devel
BuildRequires: sqlite3-devel
BuildRequires: gettext-tools
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(webkitgtk-6.0)
BuildRequires: pkgconfig(libxml-2.0)
%description
NewsFlash is a program designed to complement an already existing web-based RSS reader account.
It combines all the advantages of web based services like syncing across all your devices with everything you expect
from a modern desktop program: Desktop notifications, fast search and filtering, tagging, handy keyboard shortcuts
and having access to all your articles as long as you like.
%lang_package
%prep
%autosetup -p1 -a1 -n news_flash_gtk-%{version}
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%files
%license LICENSE
%doc README.md
%{_bindir}/io.gitlab.news_flash.NewsFlash
%{_datadir}/applications/io.gitlab.news_flash.NewsFlash.desktop
%{_datadir}/icons/hicolor/*
%{_datadir}/metainfo/io.gitlab.news_flash.NewsFlash.appdata.xml
%files lang -f %{name}.lang
%changelog

3
vendor.tar.zst Normal file
View File

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