public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mattia Verga <mattia.verga@proton.me>
To: git-commits@fedoraproject.org
Subject: [rpms/retext] f45: Update to 8.0.0
Date: Fri, 23 Oct 2026 17:05:07 GMT [thread overview]
Message-ID: <179277510778.1.2058342498183271329.rpms-retext-bc1d3e160a1c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/retext
Branch : f45
Commit : bc1d3e160a1c3cf5d2391dac4fa74ded12c82f9c
Author : Mattia Verga <mattia.verga@proton.me>
Date : 2023-02-19T09:26:52+01:00
Stats : +52/-47 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/retext/c/bc1d3e160a1c3cf5d2391dac4fa74ded12c82f9c?branch=f45
Log:
Update to 8.0.0
---
diff --git a/.gitignore b/.gitignore
index 4c2ceba..77034e1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
clog
/retext-7.1.0.tar.gz
/retext-7.2.2.tar.gz
+/retext-8.0.0.tar.gz
diff --git a/retext.1 b/retext.1
index a731791..088a4e3 100644
--- a/retext.1
+++ b/retext.1
@@ -1,20 +1,39 @@
-.TH RETEXT 1
+.TH retext 1 "Feb 2021" "ReText"
.SH NAME
-ReText \- Text editor for Markdown and ReStructuredText
+ReText \- Text editor for Markdown and reStructuredText
.SH SYNOPSIS
.B retext
-\fIFILE\fR
+[\fIoptions\fP] [\fIfiles\fP...]
.SH DESCRIPTION
.PP
-ReText is a simple editor for Markdown and ReStructuredText markup languages.
+ReText is a simple editor for Markdown, reStructuredText and Textile with
+support for plugging other markups using the Python-Markups module.
.PP
-Supported output formats: Plain text, HTML, ODT, PDF. Also,
-ReText can upload documents to Google Docs.
+ReText supports tabs, live text preview and syntax highlighting. Supported
+export formats: HTML, ODT, PDF. It is also possible to write custom export
+extensions.
.PP
It is written in Python using Qt libraries.
+.SH OPTIONS
+.TP
+\fB\-h\fP, \fB\-\-help\fP
+Displays help on commandline options.
+.TP
+\fB\-\-help\-all\fP
+Displays help including Qt specific options.
+.TP
+\fB\-v\fP, \fB\-\-version\fP
+Displays version information.
+.TP
+\fB\-\-preview\fP
+Opens the files in preview mode (by default they are opened in edit mode).
+.TP
+\fB\-\-new\-window\fP
+Creates a new window even if there is an existing one.
+
.SH AUTHOR
-This manual page was written by Dmitry Shachnev <mitya57@gmail.com>.
+This manual page was written by Dmitry Shachnev <mitya57@debian.org>.
diff --git a/retext.spec b/retext.spec
index 9369bb2..a4e24b2 100644
--- a/retext.spec
+++ b/retext.spec
@@ -1,8 +1,8 @@
-%global with_tests 0
+%global modname ReText
Name: retext
-Version: 7.2.2
-Release: 5%{?dist}
+Version: 8.0.0
+Release: 1%{?dist}
Summary: Simple editor for Markdown and reStructuredText
License: GPLv3+
@@ -10,31 +10,15 @@ URL: https://github.com/retext-project/retext
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
# Man pages are taken from the Debian package.
Source1: %{name}.1
+
BuildArch: noarch
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
-BuildRequires: librsvg2-tools
BuildRequires: ImageMagick
BuildRequires: python3-devel
-BuildRequires: python3dist(chardet)
-BuildRequires: python3dist(docutils)
-BuildRequires: python3dist(markdown)
-BuildRequires: python3dist(markups)
-BuildRequires: python3dist(pyenchant)
-BuildRequires: python3dist(pygments)
-BuildRequires: python3dist(setuptools)
-BuildRequires: qt5-qttools-devel
-
-%if 0%{?with_tests}
-BuildRequires: python3dist(pyqt5)
-BuildRequires: qt5-qtbase-gui
-%endif
Requires: hicolor-icon-theme
-Requires: python3-qt5-webkit
-Requires: qt5-qtlocation
-Requires: qt5-qtwebkit
%description
ReText is simple text editor that supports Markdown and reStructuredText markup
@@ -44,22 +28,25 @@ HTML.
%prep
%autosetup
-sed \
- -i.python \
- -e "s|^#!/usr/bin/env python3$|#!%{__python3}|g" \
- retext.py ReText/__main__.py ReText/converterprocess.py
+
+
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
-%py3_build
+%pyproject_wheel
+
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files %{modname}
mkdir -p %{buildroot}/%{_mandir}/man1
install -p -m 0644 %SOURCE1 %{buildroot}/%{_mandir}/man1
# Generate resized icons
-pushd icons
+pushd ReText/icons
mkdir -p %{buildroot}/%{_datadir}/icons/hicolor/{16x16,22x22,24x24,32x32,48x48,64x64,72x72,96x96,128x128,scalable}/apps
for s in 16x16 22x22 24x24 32x32 48x48 64x64 72x72 96x96 128x128
do
@@ -69,30 +56,28 @@ install -p -m 0644 retext.svg %{buildroot}/%{_datadir}/icons/hicolor/scalable/ap
popd
desktop-file-install \
---dir=%{buildroot}%{_datadir}/applications \
-%{_builddir}/%{name}-%{version}/data/*.desktop
+ --dir=%{buildroot}%{_datadir}/applications \
+ %{_builddir}/%{name}-%{version}/data/*.desktop
-%check
-appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml || :
-%if 0%{?with_tests}
-%{__python3} setup.py test
-%endif
+%check
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
-%files
+%files -f %{pyproject_files}
%doc changelog.md configuration.md README.md
-%license LICENSE_GPL
+%license LICENSE_GPL
%{_bindir}/%{name}
%{_datadir}/metainfo/*.appdata.xml
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
-%{_datadir}/%{name}/
%{_mandir}/man1/*.1.*
-%{python3_sitelib}/ReText/
-%{python3_sitelib}/*egg-info
+
%changelog
+* Sun Feb 19 2023 Mattia Verga <mattia.verga@protonmail.com> - 8.0.0-1
+- Update to 8.0.0
+
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
diff --git a/sources b/sources
index 9ac45a8..f3f77f2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (retext-7.2.2.tar.gz) = c0d4cf9ddaf2608dc1f267c773173f96b1f67e29b1921189abe5e369dbe06139cb47fb304a92eb7d4de9a041a2b404d4f47aebf12b72792cc9ce59f86ccc75fe
+SHA512 (retext-8.0.0.tar.gz) = 1a91eb4da647deb39e434865f03f1dcdd19420be421f8d921606c1e685feefde2426f85cac2e78693bac6065c1dbfcb3dbb9cfa08b4dae9df0d89bfd0ac7b7bf
reply other threads:[~2026-10-23 17:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179277510778.1.2058342498183271329.rpms-retext-bc1d3e160a1c@fedoraproject.org \
--to=mattia.verga@proton.me \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox