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