]> git.pld-linux.org Git - SPECS.git/blob - emacs-tramp.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / emacs-tramp.spec
1 # NOTE: tramp 2.3.4 is already in emacs 26.2
2 Summary:        Transparent Remote Access for Emacs
3 Summary(pl.UTF-8):      Przezroczysty zdalny dostęp do plików dla Emacsa
4 Name:           emacs-tramp
5 Version:        2.5.1
6 Release:        0.1
7 License:        GPL v3+
8 Group:          Applications/Editors
9 Source0:        https://ftp.gnu.org/gnu/tramp/tramp-%{version}.tar.gz
10 # Source0-md5:  d98b79d4d7d6f659e869866207e3b237
11 Patch0:         tramp-info.patch
12 URL:            http://www.gnu.org/software/tramp/
13 BuildRequires:  emacs >= 25.1
14 BuildRequires:  texinfo >= 4.6
15 Requires:       emacs >= 25.1
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Tramp stands for `Transparent Remote (file) Access, Multiple
20 Protocol'. This package provides remote file editing, similar to
21 Ange-FTP.
22
23 The difference is that Ange-FTP uses FTP to transfer files between the
24 local and the remote host, whereas Tramp uses a combination of `rsh'
25 and `rcp' or other work-alike programs, such as `ssh'/`scp'.
26
27 %description -l pl.UTF-8
28 Tramp oznacza "Transparent Remote (file) Access, Multiple Protocol",
29 czyli przezroczysty zdalny dostęp do plików przy użyciu wielu
30 protokołów. Pakiet pozwala na edycję plików zdalnych, podobnie do
31 Ange-FTP.
32
33 Różnica jest taka, że Ange-FTP używa FTP do przesyłania plików między
34 komputerem lokalnym i zdalnym, a Trump używa kombinacji "rsh" i "rcp"
35 albo podobnie działających programów, takich jak "ssh"/"scp".
36
37 %prep
38 %setup -q -n tramp-%{version}
39 %patch0 -p1
40
41 %build
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %{__mv} $RPM_BUILD_ROOT%{_infodir}/tramp{,.info}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post   -p /sbin/postshell
57 -/usr/sbin/fix-info-dir -c %{_infodir}
58
59 %postun -p /sbin/postshell
60 -/usr/sbin/fix-info-dir -c %{_infodir}
61
62 %files
63 %defattr(644,root,root,755)
64 %doc ChangeLog README THANKS TODO
65 %{_emacs_lispdir}/tramp*.el
66 %{_emacs_lispdir}/tramp*.elc
67 %{_infodir}/tramp.info*
This page took 0.168464 seconds and 3 git commands to generate.