|
|
35993b1 |
%global __cargo_skip_build 0
|
|
|
35993b1 |
|
|
|
8f9f57d |
Name: newsflash
|
|
|
65c8b34 |
Version: 1.1.1
|
|
|
050445e |
Release: 2%{?dist}
|
|
|
8f9f57d |
Summary: Modern feed reader
|
|
|
35993b1 |
|
|
|
65c8b34 |
# 0BSD or MIT or ASL 2.0
|
|
|
35993b1 |
# ASL 2.0
|
|
|
35993b1 |
# ASL 2.0 or Boost
|
|
|
35993b1 |
# ASL 2.0 or MIT or MPLv2.0
|
|
|
35993b1 |
# BSD
|
|
|
35993b1 |
# GPLv3+
|
|
|
35993b1 |
# MIT
|
|
|
35993b1 |
# MIT or ASL 2.0
|
|
|
65c8b34 |
# MIT or ASL 2.0 or zlib
|
|
|
35993b1 |
# Unlicense
|
|
|
35993b1 |
# Unlicense or MIT
|
|
|
35993b1 |
# zlib
|
|
|
8f9f57d |
License: GPLv3+ and BSD and ASL 2.0 and MIT and Unlicense and zlib
|
|
|
8f9f57d |
URL: https://gitlab.com/news-flash/news_flash_gtk
|
|
|
f3e04d5 |
Source0: https://gitlab.com/news-flash/news_flash_gtk/-/archive/%{version_no_tilde}/news_flash_gtk-%{version_no_tilde}.tar.bz2
|
|
|
35993b1 |
|
|
|
35993b1 |
ExclusiveArch: %{rust_arches}
|
|
|
35993b1 |
|
|
|
35993b1 |
BuildRequires: rust-packaging
|
|
|
35993b1 |
BuildRequires: meson
|
|
|
35993b1 |
BuildRequires: /usr/bin/appstream-util
|
|
|
35993b1 |
BuildRequires: /usr/bin/desktop-file-validate
|
|
|
35993b1 |
|
|
|
35993b1 |
%description
|
|
|
35993b1 |
A modern feed reader designed for the GNOME desktop. NewsFlash is a program
|
|
|
35993b1 |
designed to complement an already existing web-based RSS reader account.
|
|
|
35993b1 |
|
|
|
35993b1 |
It combines all the advantages of web based services like syncing across all
|
|
|
35993b1 |
your devices with everything you expect from a modern desktop program:
|
|
|
35993b1 |
Desktop notifications, fast search and filtering, tagging, handy keyboard
|
|
|
35993b1 |
shortcuts and having access to all your articles as long as you like.
|
|
|
35993b1 |
|
|
|
35993b1 |
%prep
|
|
|
35993b1 |
%autosetup -n news_flash_gtk-%{version_no_tilde} -p1
|
|
|
35993b1 |
# Use packaged crates with proper versions
|
|
|
35993b1 |
sed -i \
|
|
|
35993b1 |
-e '/tokio/s/=0.2/0.2/' \
|
|
|
65c8b34 |
-e '/log4rs/s/0\.13/1.0/' \
|
|
|
35993b1 |
Cargo.toml
|
|
|
35993b1 |
# We will build by cargo ourselves
|
|
|
35993b1 |
sed -i -e '/\(build_by_default\|install\)/s/true/false/' src/meson.build
|
|
|
35993b1 |
sed -i -e '/dependency/d' meson.build
|
|
|
35993b1 |
%cargo_prep
|
|
|
35993b1 |
|
|
|
35993b1 |
%generate_buildrequires
|
|
|
35993b1 |
%cargo_generate_buildrequires
|
|
|
35993b1 |
|
|
|
35993b1 |
%build
|
|
|
35993b1 |
%meson
|
|
|
35993b1 |
%meson_build
|
|
|
039a713 |
export FEEDLY_CLIENT_ID="boutroue"
|
|
|
039a713 |
export FEEDLY_CLIENT_SECRET="FE012EGICU4ZOBDRBEOVAJA1JZYH"
|
|
|
039a713 |
export PASSWORD_CRYPT_KEY="ypsSXCLhJngks9qGUAqShd8JjRaZ824wT3e"
|
|
|
039a713 |
export MERCURY_PARSER_USER="newsflash"
|
|
|
039a713 |
export MERCURY_PARSER_KEY="R4qcKEHpr9RTq6YuRAPkm9kMhjp4GuxiWG44VDk3Na4ZsN7F"
|
|
|
35993b1 |
%cargo_build
|
|
|
35993b1 |
|
|
|
35993b1 |
%install
|
|
|
35993b1 |
%meson_install
|
|
|
35993b1 |
%cargo_install
|
|
|
35993b1 |
mv %{buildroot}%{_bindir}/{news_flash_gtk,com.gitlab.newsflash}
|
|
|
35993b1 |
|
|
|
35993b1 |
%check
|
|
|
35993b1 |
desktop-file-validate %{buildroot}%{_datadir}/applications/com.gitlab.newsflash.desktop
|
|
|
35993b1 |
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/com.gitlab.newsflash.appdata.xml
|
|
|
35993b1 |
|
|
|
35993b1 |
%files
|
|
|
35993b1 |
%license LICENSE
|
|
|
35993b1 |
%doc README.md
|
|
|
35993b1 |
%{_bindir}/com.gitlab.newsflash
|
|
|
35993b1 |
%{_datadir}/applications/com.gitlab.newsflash.desktop
|
|
|
35993b1 |
%{_datadir}/icons/hicolor/*/apps/com.gitlab.newsflash*
|
|
|
35993b1 |
%{_datadir}/metainfo/com.gitlab.newsflash.appdata.xml
|
|
|
35993b1 |
|
|
|
35993b1 |
%changelog
|
|
|
050445e |
* Mon Dec 28 13:26:28 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.1-2
|
|
|
050445e |
- Rebuild
|
|
|
050445e |
|
|
|
65c8b34 |
* Sat Dec 26 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.1-1
|
|
|
65c8b34 |
- Update to 1.1.1
|
|
|
65c8b34 |
|
|
|
a907356 |
* Fri Oct 09 2020 Jan Staněk <jstanek@redhat.com> - 1.0.5-3
|
|
|
a907356 |
- Bump gettext-rs dependency to 0.5
|
|
|
a907356 |
|
|
|
f3e04d5 |
* Fri Sep 11 2020 Josh Stone <jistone@redhat.com> - 1.0.5-2
|
|
|
f3e04d5 |
- Update to
|
|
|
f3e04d5 |
|
|
|
670999c |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0~rc1-8
|
|
|
670999c |
- Second attempt - Rebuilt for
|
|
|
670999c |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
670999c |
|
|
|
1e95c26 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0~rc1-7
|
|
|
1e95c26 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
1e95c26 |
|
|
|
2e43942 |
* Mon Jul 20 2020 Josh Stone <jistone@redhat.com> - 1.0~rc1-6
|
|
|
2e43942 |
- Update gtk-rs
|
|
|
2e43942 |
|
|
|
039a713 |
* Sat Jun 13 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0~rc1-5
|
|
|
039a713 |
- Add secrets for various services
|
|
|
039a713 |
|
|
|
d833ef7 |
* Sat Jun 13 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0~rc1-4
|
|
|
d833ef7 |
- Make copying text with keyboard possible
|
|
|
d833ef7 |
|
|
|
72a6936 |
* Fri Jun 12 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0~rc1-3
|
|
|
72a6936 |
- Backport fix for 32bit platforms
|
|
|
72a6936 |
- Update fix for missing icon in GNOME Shell
|
|
|
72a6936 |
|
|
|
8f9f57d |
* Fri Jun 12 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0~rc1-2
|
|
|
8f9f57d |
- Fixup showing icon
|
|
|
8f9f57d |
|
|
|
35993b1 |
* Sun Jun 07 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0~rc1-1
|
|
|
35993b1 |
- Initial package
|