[packages/moe] - new - info patch to adjust direntry to PLD formatting

qboosh qboosh at pld-linux.org
Fri Jan 8 18:43:13 CET 2021


commit d622b043cae94a9dfd933af807fa93e3d96ba1c0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jan 8 18:43:05 2021 +0100

    - new
    - info patch to adjust direntry to PLD formatting

 moe-info.patch | 14 ++++++++++++
 moe.spec       | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 83 insertions(+)
---
diff --git a/moe.spec b/moe.spec
new file mode 100644
index 0000000..ccb1e48
--- /dev/null
+++ b/moe.spec
@@ -0,0 +1,69 @@
+Summary:	Powerful and user-friendly text editor
+Summary(pl.UTF-8):	Funkcjonalny i przyjazny edytor tekstu
+Name:		moe
+Version:	1.11
+Release:	1
+License:	GPL v2+
+Group:		Applications/Editors
+Source0:	https://ftp.gnu.org/gnu/moe/%{name}-%{version}.tar.lz
+# Source0-md5:	ccd9326e87f28ad584d638910ab45a87
+Patch0:		%{name}-info.patch
+URL:		http://www.gnu.org/software/moe/
+BuildRequires:	libstdc++-devel >= 6:4.7
+BuildRequires:	ncurses-devel >= 5.6
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	texinfo
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GNU moe is a powerful, 8-bit clean, console text editor for ISO-8859-15
+and ASCII character encodings. It has a modeless, user-friendly
+interface, online help, multiple windows, unlimited undo/redo
+capability, unlimited line length, unlimited buffers, global
+search/replace (on all buffers at once), block operations, automatic
+indentation, word wrapping, file name completion, directory browser,
+duplicate removal from prompt histories, delimiter matching, text
+conversion from/to UTF-8, romanization, etc.
+
+%description -l pl.UTF-8
+GNU moe to funkcjonalny konsolowy edytor tekstu, obsługujący kodowania
+8-bitowe ISO-8859-15 i ASCII. Ma przyjazny interfejs użytkownika bez
+różnych trybów, pomoc online, wiele okien, nieograniczone undo/redo,
+nieograniczoną długość linii, nieograniczone bufory, globalne funkcje
+znajdź/zastąp (na wszystkich buforach jednocześnie), operacje blokowe,
+automatyczne wcięcia, zawijanie słów, dopełnianie nazw plików,
+przeglądarkę katalogów, usuwanie duplikatów z historii, dopasowywanie
+ograniczników, konwersję tekstu z/do UTF-8, sprowadzanie do alfabetu
+łacińskiego itp.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/moe
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/moerc
+%{_mandir}/man1/moe.1*
+%{_infodir}/moe.info*
diff --git a/moe-info.patch b/moe-info.patch
new file mode 100644
index 0000000..e30aa8d
--- /dev/null
+++ b/moe-info.patch
@@ -0,0 +1,14 @@
+--- moe-1.11/doc/moe.texi.orig	2021-01-02 18:38:45.000000000 +0100
++++ moe-1.11/doc/moe.texi	2021-01-08 18:33:53.339379089 +0100
+@@ -9,9 +9,9 @@
+ @set UPDATED 2 January 2021
+ @set VERSION 1.11
+ 
+- at dircategory Editors
++ at dircategory File utilities:
+ @direntry
+-* Moe: (moe).                   A powerful and user-friendly text editor
++* Moe: (moe).				A powerful and user-friendly text editor
+ @end direntry
+ 
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/moe.git/commitdiff/d622b043cae94a9dfd933af807fa93e3d96ba1c0



More information about the pld-cvs-commit mailing list