]> git.pld-linux.org Git - packages/libssh.git/blame - libssh.spec
up to 0.10.6 (fixes CVE-2023-6004 CVE-2023-48795 CVE-2023-6918)
[packages/libssh.git] / libssh.spec
CommitLineData
3d42e4d2 1Summary: Library implementing the SSH protocol
eacbfac0 2Summary(pl.UTF-8): Biblioteka implementująca protokół SSH
3d42e4d2 3Name: libssh
319df066 4Version: 0.10.6
4cb8cb92 5Release: 1
5deab50c 6Epoch: 1
26932d9e 7License: LGPL v2.1+; parts are BSD-licensed
3d42e4d2 8Group: Libraries
2b9a3c14 9Source0: https://www.libssh.org/files/0.10/%{name}-%{version}.tar.xz
319df066 10# Source0-md5: 5f46371aa8bfa7e6bff7f2a6f3edf80e
411f4352 11URL: http://www.libssh.org/
4cb8cb92 12BuildRequires: cmake >= 3.3.0
b81cb09a 13BuildRequires: heimdal-devel
2b9a3c14 14BuildRequires: openssl-devel >= 1.0.1
f9e70dad 15BuildRequires: rpmbuild(macros) >= 1.605
0b9e864f
JP
16BuildRequires: tar >= 1:1.22
17BuildRequires: xz
f9e70dad
JB
18BuildRequires: zlib-devel >= 1.2
19Requires: zlib >= 1.2
3d42e4d2 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23The ssh library was designed to be used by programmers needing a
24working SSH implementation by the mean of a library. The complete
25control of the client is made by the programmer. With libssh, you can
26remotely execute programs, transfer files, use a secure and
27transparent tunnel for your remote programs. With its Secure FTP
28implementation, you can play with remote files easily, without
29third-party programs others than libcrypto (from openssl).
30
5f7c7686
JR
31%description -l pl.UTF-8
32Biblioteka ssh została zaprojektowana do używania przez programistów
33potrzebujących działającej implementacji SSH w postaci biblioteki. Za
34pomocą libssh można przesyłać pliki, zdalnie uruchamiać programy bądź
35też tworzyć na ich potrzeby bezpieczne i przezroczyste tunele. Dzięki
36zawartej implementacji protokołu Secure FTP programista ma możliwość
37łatwego wykonywania operacji na zdalnych plikach bez konieczności
38korzystania z dodatkowego zewnętrznego oprogramowania poza biblioteką
3d42e4d2 39libcrypto (pakiet openssl).
40
41%package devel
42Summary: Header files for libssh library
eacbfac0 43Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libssh
3d42e4d2 44Group: Development/Libraries
5deab50c 45Requires: %{name} = %{epoch}:%{version}-%{release}
3d42e4d2 46
47%description devel
48Header files for libssh library.
49
5f7c7686
JR
50%description devel -l pl.UTF-8
51Pliki nagłówkowe biblioteki libssh.
3d42e4d2 52
53%prep
e27e5035 54%setup -q
3d42e4d2 55
3d42e4d2 56%build
0d5dc366 57install -d build
411f4352 58cd build
26932d9e 59%cmake .. \
f9e70dad
JB
60 -DWITH_SSH1=ON \
61 -DWITH_ZLIB=ON
411f4352
AG
62
63%{__make}
3d42e4d2 64
65%install
66rm -rf $RPM_BUILD_ROOT
3d42e4d2 67
0d5dc366 68%{__make} -C build install \
2b9a3c14 69 DESTDIR=$RPM_BUILD_ROOT
3d42e4d2 70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
26932d9e
JB
74%post -p /sbin/ldconfig
75%postun -p /sbin/ldconfig
76
3d42e4d2 77%files
78%defattr(644,root,root,755)
2b9a3c14 79%doc AUTHORS BSD CHANGELOG README
26932d9e
JB
80%attr(755,root,root) %{_libdir}/libssh.so.*.*.*
81%attr(755,root,root) %ghost %{_libdir}/libssh.so.4
3d42e4d2 82
83%files devel
84%defattr(644,root,root,755)
26932d9e 85%attr(755,root,root) %{_libdir}/libssh.so
bc97a6a9 86%{_includedir}/libssh
26932d9e 87%{_pkgconfigdir}/libssh.pc
b81cb09a 88%{_libdir}/cmake/libssh
This page took 0.15183 seconds and 4 git commands to generate.