public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/novelwriter] rawhide: Update tp 26.1.1 bz#2395099
@ 2026-06-29  8:58 Benson Muite
  0 siblings, 0 replies; only message in thread
From: Benson Muite @ 2026-06-29  8:58 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/novelwriter
Branch : rawhide
Commit : d4eb9c08d5341488582586b165cd22d5d841d3f6
Author : Benson Muite <fed500@fedoraproject.org>
Date   : 2026-06-29T11:57:47+03:00
Stats  : +12/-33 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/novelwriter/c/d4eb9c08d5341488582586b165cd22d5d841d3f6?branch=rawhide

Log:
Update tp 26.1.1 bz#2395099

---
diff --git a/.gitignore b/.gitignore
index 9f0a5ea..4ad3b43 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /novelwriter-2.7.tar.gz
 /novelwriter-2.7.1.tar.gz
 /novelwriter-2.7.4.tar.gz
+/novelwriter-26.1.1.tar.gz

diff --git a/novelwriter.spec b/novelwriter.spec
index 985a2d2..7698ccb 100644
--- a/novelwriter.spec
+++ b/novelwriter.spec
@@ -1,5 +1,5 @@
 Name:           novelwriter
-Version:        2.7.4
+Version:        26.1.1
 Release:        %autorelease
 Summary:        Plain text editor designed for writing novels
 
@@ -10,15 +10,17 @@ Source:         https://github.com/vkbo/novelwriter/archive/v%{version}/novelwri
 
 BuildArch:      noarch
 BuildRequires:  adobe-source-sans-pro-fonts
+BuildRequires:  enchant2-devel
+BuildRequires:  google-noto-sans-fonts
 BuildRequires:  hunspell-en
 BuildRequires:  hunspell-en-GB
 BuildRequires:  hunspell-en-US
-BuildRequires:  enchant2-devel
 BuildRequires:  hunspell-devel
 BuildRequires:  python3-enchant
 BuildRequires:  python3-zlib-ng
 BuildRequires:  qt6-qttools-devel
 BuildRequires:  qt6-qtsvg-devel
+
 BuildRequires:  python3-devel
 
 BuildRequires: libappstream-glib
@@ -39,6 +41,9 @@ BuildRequires:  texinfo
 Requires:       hicolor-icon-theme
 # Bundles svg material design icons
 Provides:       bundled(material-design-icons)
+# Recommends
+Recommends:  adobe-source-sans-pro-fonts
+Recommends:  google-noto-sans-fonts
 
 %description
 novelWriter is a plain text editor designed for writing novels assembled from
@@ -63,9 +68,6 @@ Documentation for novelWriter in docbook format.
 
 %prep
 %autosetup -n novelWriter-%{version} -p1
-# https://github.com/vkbo/novelWriter/issues/2276
-sed -i 's/self.spellLanguage = "en"/self.spellLanguage = "en_US"/g' novelwriter/config.py
-sed -i 's/spellcheck = en/spellcheck = en_US/g' tests/reference/baseConfig_novelwriter.conf
 # Use Fedora specific variant for qt6
 sed -i 's/"lrelease"/"lrelease-qt6"/g' utils/assets.py
 
@@ -89,8 +91,7 @@ popd
 
 %install
 %pyproject_install
-# Do not include this for now as .qm language files are not automatically marked
-#pyproject_save_files novelwriter
+%pyproject_save_files -L novelwriter
 
 desktop-file-install --dir=%{buildroot}%{_datadir}/applications setup/data/novelwriter.desktop
 mkdir -p %{buildroot}%{_metainfodir}/
@@ -108,35 +109,12 @@ done
 %find_lang nw --with-qt
 
 %check
-QT_QPA_PLATFORM=offscreen %pytest
+QT_QPA_PLATFORM=offscreen %pytest -k 'not (test_theme and testGuiTheme_LoadDecorations)'
 appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/novelwriter.appdata.xml
 
-# Include once qm files get marked as language files
-#files -n novelwriter -f %%{pyproject_files} -f nw.lang
-%files -n novelwriter -f nw.lang
-%license LICENSE.md
+%files -n novelwriter -f %{pyproject_files} -f nw.lang
 %doc README.md
 %{_bindir}/novelwriter
-%{python3_sitelib}/novelwriter-%{version}.dist-info/
-%dir %{python3_sitelib}/novelwriter
-%dir %{python3_sitelib}/novelwriter/assets
-%dir %{python3_sitelib}/novelwriter/assets/i18n
-%{python3_sitelib}/novelwriter/assets/i18n/*.json
-%{python3_sitelib}/novelwriter/assets/icons/
-%{python3_sitelib}/novelwriter/assets/images/
-%{python3_sitelib}/novelwriter/assets/sample.zip
-%{python3_sitelib}/novelwriter/assets/syntax/
-%{python3_sitelib}/novelwriter/assets/text/
-%{python3_sitelib}/novelwriter/assets/themes/
-%pycached %{python3_sitelib}/novelwriter/*.py
-%dir  %{python3_sitelib}/novelwriter/__pycache__
-%{python3_sitelib}/novelwriter/core/
-%{python3_sitelib}/novelwriter/dialogs/
-%{python3_sitelib}/novelwriter/extensions/
-%{python3_sitelib}/novelwriter/formats/
-%{python3_sitelib}/novelwriter/gui/
-%{python3_sitelib}/novelwriter/text/
-%{python3_sitelib}/novelwriter/tools/
 %{_datadir}/applications/novelwriter.desktop
 %{_metainfodir}/novelwriter.appdata.xml
 %{_datadir}/icons/hicolor/*/apps/*.png

diff --git a/sources b/sources
index 78deb24..cfbaaa9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (novelwriter-2.7.4.tar.gz) = f2051a635bdca4e453548298dc3d485f488e99f50f2d6fe36e2559faf73139938d7ac3839919636f166e380526cd00c02278c90ed097ecc0761ce4661b6a9b80
+SHA512 (novelwriter-26.1.1.tar.gz) = d7f3c8075fb10713648e22ce0c58cf442fcf6989182317d4fb8f67c1350b2ae3bce7e7a2bd1c06a10a6fe30ee60dc7d4247e8b233d1059f5fdf471fedabf2e42

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-29  8:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29  8:58 [rpms/novelwriter] rawhide: Update tp 26.1.1 bz#2395099 Benson Muite

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox