[packages/emacs-tramp] - initial

qboosh qboosh at pld-linux.org
Thu Jul 15 21:15:36 CEST 2021


commit 780870d657e3986a2e9288e7e19d10984e3ae092
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jul 15 21:18:47 2021 +0200

    - initial

 emacs-tramp.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tramp-info.patch | 15 +++++++++++++
 2 files changed, 82 insertions(+)
---
diff --git a/emacs-tramp.spec b/emacs-tramp.spec
new file mode 100644
index 0000000..4232192
--- /dev/null
+++ b/emacs-tramp.spec
@@ -0,0 +1,67 @@
+# NOTE: tramp 2.3.4 is already in emacs 26.2
+Summary:	Transparent Remote Access for Emacs
+Summary(pl.UTF-8):	Przezroczysty zdalny dostęp do plików dla Emacsa
+Name:		emacs-tramp
+Version:	2.5.1
+Release:	0.1
+License:	GPL v3+
+Group:		Applications/Editors
+Source0:	https://ftp.gnu.org/gnu/tramp/tramp-%{version}.tar.gz
+# Source0-md5:	d98b79d4d7d6f659e869866207e3b237
+Patch0:		tramp-info.patch
+URL:		http://www.gnu.org/software/tramp/
+BuildRequires:	emacs >= 25.1
+BuildRequires:	texinfo >= 4.6
+Requires:	emacs >= 25.1
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Tramp stands for `Transparent Remote (file) Access, Multiple
+Protocol'. This package provides remote file editing, similar to
+Ange-FTP.
+
+The difference is that Ange-FTP uses FTP to transfer files between the
+local and the remote host, whereas Tramp uses a combination of `rsh'
+and `rcp' or other work-alike programs, such as `ssh'/`scp'.
+
+%description -l pl.UTF-8
+Tramp oznacza "Transparent Remote (file) Access, Multiple Protocol",
+czyli przezroczysty zdalny dostęp do plików przy użyciu wielu
+protokołów. Pakiet pozwala na edycję plików zdalnych, podobnie do
+Ange-FTP.
+
+Różnica jest taka, że Ange-FTP używa FTP do przesyłania plików między
+komputerem lokalnym i zdalnym, a Trump używa kombinacji "rsh" i "rcp"
+albo podobnie działających programów, takich jak "ssh"/"scp".
+
+%prep
+%setup -q -n tramp-%{version}
+%patch0 -p1
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__mv} $RPM_BUILD_ROOT%{_infodir}/tramp{,.info}
+
+%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 ChangeLog README THANKS TODO
+%{_emacs_lispdir}/tramp*.el
+%{_emacs_lispdir}/tramp*.elc
+%{_infodir}/tramp.info*
diff --git a/tramp-info.patch b/tramp-info.patch
new file mode 100644
index 0000000..f894bad
--- /dev/null
+++ b/tramp-info.patch
@@ -0,0 +1,15 @@
+--- tramp-2.5.1/texi/tramp.texi.orig	2021-06-13 08:56:32.000000000 +0200
++++ tramp-2.5.1/texi/tramp.texi	2021-07-15 20:36:04.929829840 +0200
+@@ -28,10 +28,9 @@
+ @end copying
+ 
+ @c Entries for @command{install-info} to use.  We cannot use @value{tramp}.
+- at dircategory Emacs network features
++ at dircategory Emacs network features:
+ @direntry
+-* Tramp: (tramp).               Transparent Remote Access, Multiple Protocol
+-                                  Emacs remote file access via ssh and scp.
++* Tramp: (tramp).			Transparent Remote Access, Multiple Protocol
+ @end direntry
+ 
+ @titlepage
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/emacs-tramp.git/commitdiff/780870d657e3986a2e9288e7e19d10984e3ae092



More information about the pld-cvs-commit mailing list