[packages/freetalk] - new; info patch to unify direntry with other PLD packages
qboosh
qboosh at pld-linux.org
Thu Jun 23 19:51:56 CEST 2022
commit 30a2d5b840941451dfae0190571a39755e5acf00
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jun 23 19:53:19 2022 +0200
- new; info patch to unify direntry with other PLD packages
freetalk-info.patch | 14 ++++++++++++
freetalk.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
---
diff --git a/freetalk.spec b/freetalk.spec
new file mode 100644
index 0000000..573d78d
--- /dev/null
+++ b/freetalk.spec
@@ -0,0 +1,64 @@
+Summary: Console based Jabber client
+Summary(pl.UTF-8): Konsolowy klient Jabbera
+Name: freetalk
+Version: 4.2
+Release: 1
+License: GPL v3+
+Group: Applications/Communications
+Source0: https://ftp.gnu.org/gnu/freetalk/%{name}-%{version}.tar.gz
+# Source0-md5: 98067ffdbcda9ec7f765fae4b7b23f79
+Patch0: %{name}-info.patch
+URL: http://www.gnu.org/software/freetalk/
+BuildRequires: glib2-devel >= 2.0
+# supported: 2.0, 2.2, 3.0
+BuildRequires: guile-devel >= 2.0
+BuildRequires: loudmouth-devel >= 1.0
+BuildRequires: ncurses-devel
+BuildRequires: pkgconfig
+BuildRequires: readline-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Freetalk is a console based Jabber client. It features a readline
+interface with completion of buddy names, commands, and even ordinary
+English words! Freetalk is extensible, configurable, and scriptable
+through a Guile interface.
+
+%description -l pl.UTF-8
+Freetalk to konsolowy klient Jabbera. Ma interfejs readline z
+dopełnianiem imion rozmówców, poleceń, a nawet zwykłych słów
+angielskich. Freetalk jest rozszerzalny, konfigurowalny i skryptowalny
+poprzez interfejs Guile.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure \
+ --disable-silent-rules
+%{__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}/freetalk
+%{_datadir}/freetalk
+%{_docdir}/freetalk
+%{_infodir}/freetalk.info*
+%{_mandir}/man1/freetalk.1*
diff --git a/freetalk-info.patch b/freetalk-info.patch
new file mode 100644
index 0000000..9c04df0
--- /dev/null
+++ b/freetalk-info.patch
@@ -0,0 +1,14 @@
+--- freetalk-4.2/doc/freetalk.texi.orig 2022-06-09 22:08:35.000000000 +0200
++++ freetalk-4.2/doc/freetalk.texi 2022-06-23 19:38:01.050233803 +0200
+@@ -7,9 +7,9 @@
+
+ @include version.texi
+
+- at dircategory Freetalk@!
++ at dircategory Net utilities:
+ @direntry
+-* freetalk: (freetalk). Freetalk user/developers guide
++* freetalk: (freetalk). Freetalk user/developers guide
+ @end direntry
+
+ @ifinfo
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/freetalk.git/commitdiff/30a2d5b840941451dfae0190571a39755e5acf00
More information about the pld-cvs-commit
mailing list