public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/retext] f45: Remove scriptlets (now handled by triggers)
Date: Fri, 23 Oct 2026 17:05:01 GMT [thread overview]
Message-ID: <179277510167.1.3367978212822524413.rpms-retext-512375ceeddb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/retext
Branch : f45
Commit : 512375ceeddb18267f4116e1cfdae54c28862067
Author : José Matos <jamatos@fedoraproject.org>
Date : 2020-07-09T18:57:17+01:00
Stats : +42/-282 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/retext/c/512375ceeddb18267f4116e1cfdae54c28862067?branch=f45
Log:
Remove scriptlets (now handled by triggers)
Remove /usr/bin/env from shebang headers
---
diff --git a/.gitignore b/.gitignore
index 2c735fd..4f4da29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,12 +1,2 @@
-/ReText-5.0.1.tar.gz
-/ReText-5.0.2.tar.gz
-/ReText-5.1.0.tar.gz
-/ReText-5.2.1.tar.gz
-/ReText-5.3.0.tar.gz
-/ReText-6.0.0.tar.gz
-/ReText-6.0.1.tar.gz
-/ReText-6.0.2.tar.gz
-/ReText-7.0.0.tar.gz
-/ReText-7.0.1.tar.gz
-/7.0.1.tar.gz
-/7.0.3.tar.gz
+clog
+/retext-7.1.0.tar.gz
diff --git a/0001-Update-references-to-the-screenshot.patch b/0001-Update-references-to-the-screenshot.patch
deleted file mode 100644
index a13a655..0000000
--- a/0001-Update-references-to-the-screenshot.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 66fa5604b499a4892eaff68294bc5280263bbaf8 Mon Sep 17 00:00:00 2001
-From: Dmitry Shachnev <mitya57@gmail.com>
-Date: Thu, 5 Oct 2017 11:58:34 +0700
-Subject: [PATCH] Update references to the screenshot
-
----
- README.md | 2 +-
- data/me.mitya57.ReText.appdata.xml | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/README.md b/README.md
-index 4a8be3d..b6e4e21 100644
---- a/README.md
-+++ b/README.md
-@@ -8,7 +8,7 @@ ReText is a simple but powerful editor for Markdown and reStructuredText markup
- languages. ReText is written in Python language and works on Linux and other
- POSIX-compatible platforms. To install ReText, use `setup.py install` command.
-
--
-+
-
- You can read more about ReText in the [wiki].
-
-diff --git a/data/me.mitya57.ReText.appdata.xml b/data/me.mitya57.ReText.appdata.xml
-index 8d37fdf..2a7d189 100644
---- a/data/me.mitya57.ReText.appdata.xml
-+++ b/data/me.mitya57.ReText.appdata.xml
-@@ -37,7 +37,7 @@
- </provides>
- <screenshots>
- <screenshot type="default">
-- <image width="1116" height="650">https://a.fsdn.com/con/app/proj/retext/screenshots/retext-kde5.png</image>
-+ <image width="1116" height="650">https://raw.githubusercontent.com/retext-project/retext/master/data/retext-kde5.png</image>
- </screenshot>
- </screenshots>
- <developer_name>Dmitry Shachnev</developer_name>
---
-2.17.0
-
diff --git a/retext-man-de.po b/retext-man-de.po
deleted file mode 100644
index 0d7f5f9..0000000
--- a/retext-man-de.po
+++ /dev/null
@@ -1,166 +0,0 @@
-# German translation of the ReText man pages
-# Copyright (C) 2014 Free Software Foundation, Inc.
-# This file is distributed under the same license as the retext package.
-# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: retext 5.0.1\n"
-"POT-Creation-Date: 2014-12-01 10:58+0100\n"
-"PO-Revision-Date: 2014-12-01 11:07+0100\n"
-"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
-"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
-"Language: de\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 1.5.4\n"
-
-#. type: TH
-#: retext.1:1
-#, no-wrap
-msgid "RETEXT"
-msgstr "RETEXT"
-
-#. type: SH
-#: retext.1:3 wpgen.1:3
-#, no-wrap
-msgid "NAME"
-msgstr "BEZEICHNUNG"
-
-#. type: Plain text
-#: retext.1:5
-msgid "ReText - Text editor for Markdown and ReStructuredText"
-msgstr "ReText - Texteditor für Markdown und ReStructuredText"
-
-#. type: SH
-#: retext.1:6 wpgen.1:6
-#, no-wrap
-msgid "SYNOPSIS"
-msgstr "ÜBERSICHT"
-
-#. type: Plain text
-#: retext.1:9
-msgid "B<retext> I<FILE>"
-msgstr "B<retext> I<DATEI>"
-
-#. type: SH
-#: retext.1:10 wpgen.1:24
-#, no-wrap
-msgid "DESCRIPTION"
-msgstr "BESCHREIBUNG"
-
-#. type: Plain text
-#: retext.1:13
-msgid ""
-"ReText is a simple editor for Markdown and ReStructuredText markup languages."
-msgstr ""
-"ReText ist ein einfacher Editor für die Markup-Sprachen Markdown und "
-"ReStructuredText."
-
-#. type: Plain text
-#: retext.1:16
-msgid ""
-"Supported output formats: Plain text, HTML, ODT, PDF. Also, ReText can "
-"upload documents to Google Docs."
-msgstr ""
-"Die folgenden Ausgabeformate werden unterstützt: einfacher Text, HTML, ODT "
-"und PDF. ReText ist außerdem in der Lage, Dokumente zu Google Docs zu "
-"übertragen."
-
-#. type: Plain text
-#: retext.1:18
-msgid "It is written in Python using Qt libraries."
-msgstr "Das Programm ist in Python geschrieben und nutzt die Qt-Bibliotheken."
-
-#. type: SH
-#: retext.1:19 wpgen.1:30
-#, no-wrap
-msgid "AUTHOR"
-msgstr "AUTOR"
-
-#. type: Plain text
-#: wpgen.1:1 wpgen.1:31
-msgid ""
-"This manual page was written by Dmitry Shachnev E<lt>mitya57@gmail.comE<gt>."
-msgstr ""
-"Diese Handbuchseite wurde von Dmitry Shachnev E<lt>mitya57@gmail.comE<gt> "
-"geschrieben."
-
-#. type: TH
-#: wpgen.1:1
-#, no-wrap
-msgid "WPGEN"
-msgstr "WPGEN"
-
-#. type: Plain text
-#: wpgen.1:5
-msgid "WpGen - Webpages generation tool that comes with ReText"
-msgstr "WpGen - Werkzeug zum Erstellen von Webseiten (in ReText enthalten)"
-
-#. type: Plain text
-#: wpgen.1:9
-msgid "B<wpgen> I<COMMAND>"
-msgstr "B<wpgen> I<BEFEHL>"
-
-#. type: SH
-#: wpgen.1:10
-#, no-wrap
-msgid "COMMANDS"
-msgstr "BEFEHLE"
-
-#. type: TP
-#: wpgen.1:11
-#, no-wrap
-msgid "B<init>"
-msgstr "B<init>"
-
-#. type: Plain text
-#: wpgen.1:14
-msgid "create new web library"
-msgstr "erstellt eine neue Web-Bibliothek."
-
-#. type: TP
-#: wpgen.1:14
-#, no-wrap
-msgid "B<updateall>"
-msgstr "B<updateall>"
-
-#. type: Plain text
-#: wpgen.1:17
-msgid "generate html files from all pages"
-msgstr "erzeugt HTML-Dateien aus allen Seiten."
-
-#. type: TP
-#: wpgen.1:17
-#, no-wrap
-msgid "B<update> I<file-names>"
-msgstr "B<update> I<Dateinamen>"
-
-#. type: Plain text
-#: wpgen.1:20
-msgid "generate html files from given pages"
-msgstr "erzeugt HTML-Dateien aus den angegebenen Seiten."
-
-#. type: TP
-#: wpgen.1:20
-#, no-wrap
-msgid "B<usestyle> I<style-name>"
-msgstr "B<usestyle> I<Stilname>"
-
-#. type: Plain text
-#: wpgen.1:23
-msgid "use the given style (example: Default, Simple)"
-msgstr "verwendet den angegebenen Stil (Beispiele: Default, Simple)."
-
-#. type: Plain text
-#: wpgen.1:29
-msgid ""
-"WpGen allows you to generate webpages from Markdown, ReStructuredText "
-"documents and HTML body files. You can use different templates and styles, "
-"either standard or created by yourself."
-msgstr ""
-"WpGen ermöglicht Ihnen die Erstellung von Webseiten aus Markdown- und "
-"ReStructuredText-Dokumenten sowie HTML-Rumpfdateien. Sie können verschiedene "
-"- entweder vorgegebene oder von Ihnen selbst erstellte - Vorlagen und Stile "
-"verwenden."
diff --git a/retext.spec b/retext.spec
index 5d44b9b..17f575e 100644
--- a/retext.spec
+++ b/retext.spec
@@ -1,78 +1,62 @@
%global with_tests 0
Name: retext
-Version: 7.0.3
-Release: 3%{?dist}
+Version: 7.1.0
+Release: 2%{?dist}
+Summary: Simple editor for Markdown and reStructuredText
+
License: GPLv3+
-Summary: Text editor for Markdown and reStructuredText
-Summary(de): Texteditor für Markdown und reStructuredText
URL: https://github.com/retext-project/retext
-Source0: https://github.com/retext-project/retext/archive/%{version}.tar.gz
-
-# The template for man page translations can be created with this command:
-# po4a-updatepo -v -M utf-8 -f man -m retext.1 -p retext-man.pot
-# English man pages are taken from the Debian package.
-Source1: %{name}-man-de.po
-Source2: %{name}.1
-
+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
-# For autosetup -S git
-BuildRequires: git
BuildRequires: libappstream-glib
-BuildRequires: libpng-devel
-BuildRequires: librsvg2-devel
BuildRequires: librsvg2-tools
BuildRequires: ImageMagick
BuildRequires: python3-devel
-BuildRequires: python3-markups
-BuildRequires: po4a
+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: python3-qt5
+BuildRequires: python3dist(pyqt5)
BuildRequires: qt5-qtbase-gui
-%endif # with_tests
+%endif
Requires: hicolor-icon-theme
-Requires: python3-docutils
-Requires: python3-enchant
-Requires: python3-markdown
-Requires: python3-markups >= 2.0.0
-Requires: python3-qt5
Requires: python3-qt5-webkit
Requires: qt5-qtlocation
Requires: qt5-qtwebkit
%description
-ReText is a simple but powerful text editor for Markdown and reStructuredText.
-
-%description -l de
-ReText ist ein einfacher, aber leistungsfähiger Texteditor
-für Markdown und reStructuredText.
+ReText is simple text editor that supports Markdown and reStructuredText markup
+languages. It is written in Python using PyQt libraries. It supports live
+preview, tabs, math formulas, export to various formats including PDF and
+HTML.
%prep
-%autosetup -S git
+%autosetup
+sed \
+ -i.python \
+ -e "s|^#!/usr/bin/env python3$|#!%{__python3}|g" \
+ retext.py ReText/__main__.py ReText/converterprocess.py
%build
-%{__python3} setup.py build
+%py3_build
%install
-%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
+%py3_install
mkdir -p %{buildroot}/%{_mandir}/man1
-install -p -m 0644 %SOURCE2 %{buildroot}/%{_mandir}/man1
-
-# Generate and install localized man pages
-mkdir -p man/de
-po4a-translate -M utf-8 -f man \
- --option groff_code=verbatim \
- -m %SOURCE2 -p %SOURCE1 \
- -l man/de/%{name}.1
-
-mkdir -p %{buildroot}/%{_mandir}/de/man1
-install -p -m 0644 man/de/%{name}.1 %{buildroot}/%{_mandir}/de/man1
+install -p -m 0644 %SOURCE1 %{buildroot}/%{_mandir}/man1
# Generate resized icons
pushd icons
@@ -88,32 +72,15 @@ desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
%{_builddir}/%{name}-%{version}/data/*.desktop
-%find_lang retext --with-man
-
%check
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml || :
%if 0%{?with_tests}
%{__python3} setup.py test
-%endif # with_tests
+%endif
-%post
-/usr/bin/update-desktop-database &> /dev/null || :
-/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-
-%postun
-/usr/bin/update-desktop-database &> /dev/null || :
-if [ $1 -eq 0 ] ; then
- /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
-
-%posttrans
-/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
-
-%files -f retext.lang
+%files
%doc changelog.md configuration.md README.md
%license LICENSE_GPL
%{_bindir}/%{name}
@@ -126,6 +93,14 @@ fi
%{python3_sitelib}/*egg-info
%changelog
+* Mon Jul 6 2020 José Matos <jamatos@fedoraproject.org> - 7.1.0-2
+- Remove scriptlets (now handled by triggers)
+- Remove /usr/bin/env from shebang headers
+
+* Sun May 3 2020 José Matos <jamatos@fedoraproject.org> - 7.1.0-1
+- Update to latest stable release
+- Clean the build requirements
+
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -205,7 +180,7 @@ fi
- Fix file permissions
- Add update-desktop-database scripts
- Fix download location
-- Extended description in appdata file, fix license declaration
+- Extended description in appdata file, fix license declaration
* Thu Jan 15 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 5.0.1-6
- Fix URLs of extra sources
diff --git a/sources b/sources
index 45c8cdf..a186595 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (7.0.3.tar.gz) = b17e27bab19f938ed9da93b1ec5235c9add1d4129a247490827077bf521844855ef5266881e2eccc7f606dc44c7aab7e589432c55766aae303f04daca0f3d5bd
+SHA512 (retext-7.1.0.tar.gz) = 17e168d03e659ac3530cfb553f9ac817ce1917b7c57697de9b0590850c52b9f1cbc156d6ba2c26e7cd80b4f9de0696c2e9df8154986e15a0207eb3b5d7cf2a80
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=179277510167.1.3367978212822524413.rpms-retext-512375ceeddb@fedoraproject.org \
--to=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