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