commit 96abd26fc15660de4fde21297e34d1abcf6517942c2048aaf10a21010d5be2c7 Author: Dirk Mueller Date: Sun Dec 17 08:55:43 2023 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ad3a268 --- /dev/null +++ b/.gitattributes @@ -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 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..db47b3c --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + + git + https://gitlab.com/news-flash/news_flash_gtk.git + refs/tags/v.3.0.2 + @PARENT_TAG@ + v.(.*) + disable + + + news_flash_gtk + zst + false + + + + diff --git a/news_flash_gtk-3.0.2.tar b/news_flash_gtk-3.0.2.tar new file mode 100644 index 0000000..f9c19db --- /dev/null +++ b/news_flash_gtk-3.0.2.tar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f412f15b157fecf08e481e0f44e8e146e94bbe8eabb59358c937d9213e92e486 +size 14069760 diff --git a/newsflash.changes b/newsflash.changes new file mode 100644 index 0000000..18a8fb6 --- /dev/null +++ b/newsflash.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Dec 8 21:13:16 UTC 2023 - Richard Rahl + +- initial packaging for openSUSE_Tumbleweed diff --git a/newsflash.spec b/newsflash.spec new file mode 100644 index 0000000..a1054c1 --- /dev/null +++ b/newsflash.spec @@ -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 diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..5d8ca1a --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a8cb832a73a6171128fe6fa0cd9fa15fb99be87a6b28c2393c6ba8c4ae126b6 +size 53195505